Originally Posted by
nerdtron
I think that would be normal since you run a database with your mail server. Plus you have spamassassin too. Do you have clamAV too?
On our old mail server using sendmail, plus squirrelmail and not using any database for users, the free memory is less than 50 MB (512MB RAM). Although is uses a little less swap, it still uses swap. I guess yours is acceptable.
Yeah, I'm running the whole AV and all the other stuff on it.
I was messing around with the innoDB memory allocations and reduced them quite a bit, so I think the main thing that is using memory is mysql.
It looks like I'm going to need to do more digging.
Here's what the original settings for InnoDB were:
Code:
# * InnoDB
#
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!
default_storage_engine = InnoDB
# you can't just change log file size, requires special procedure
#innodb_log_file_size = 50M
innodb_buffer_pool_size = 256M
innodb_log_buffer_size = 8M
innodb_file_per_table = 1
innodb_open_files = 400
innodb_io_capacity = 400
innodb_flush_method = O_DIRECT
This is what I changed them to, but I have no idea if they can go any lower or not as I just started splitting the memory in half to see what would happen.
Code:
#
# * InnoDB
#
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
# Read the manual for more InnoDB related options. There are many!
default_storage_engine = InnoDB
# you can't just change log file size, requires special procedure
#innodb_log_file_size = 50M
innodb_buffer_pool_size = 64M
innodb_log_buffer_size = 2M
innodb_file_per_table = 1
innodb_open_files = 400
innodb_io_capacity = 400
innodb_flush_method = O_DIRECT
Bookmarks