Skip to content

Memory tips

  • by

Looking at your process list and not happy with the amount of memory that your new setup is taking up?

Stop mysql:

$ stop mysql

Open the config file:

/etc/mysql/my.cnf

Add

ignore_builtin_innodb 
key_buffer = 8M
query_cache_size = 0

to the options

$ start mysql 

Remove bind9, samba, and any other unneeded software from the server.

Now run ps aux and free to see the effect of your changes.

$ ps aux && free

Leave a Reply