I'm using a OpenVZ VPS with 512MB memory (1GB burst) and I'm having problems with running out of memory. I would think 512 should be enough. What is the recommended memory for ISPconfig3?
Is it normal to have multiple processes running for a single service? Here is some of TOP sorted by memory usage...
15818 clamav 21 0 85828 71m 472 S 0 13.9 0:00.00 clamd
14230 amavis 18 0 54084 45m 2376 S 0 8.9 0:00.66 amavisd-new
15499 amavis 18 0 54852 44m 1656 S 0 8.7 0:00.00 amavisd-new
15500 amavis 18 0 54852 44m 1652 S 0 8.7 0:00.00 amavisd-new
15523 root 15 0 31476 28m 2096 S 0 5.6 0:00.28 spamd
15768 root 18 0 31476 27m 640 S 0 5.3 0:00.00 spamd
15769 root 18 0 31476 26m 548 S 0 5.3 0:00.00 spamd
14293 mysql 15 0 142m 17m 4972 S 0 3.4 0:00.16 mysqld
17411 root 18 0 24508 8820 5504 S 0 1.7 0:00.08 apache2
17426 www-data 18 0 24640 6876 3344 S 0 1.3 0:00.00 apache2
17423 www-data 15 0 24640 6828 3316 S 0 1.3 0:00.00 apache2
17425 www-data 17 0 24640 6820 3312 S 0 1.3 0:00.00 apache2
I've just been wondering the same thing.
All my processes seem to be using even more memory than yours :confused:
it's even weirder because...
-I don't even have any sites really running on it either
-I'm running 32bit
-also the mem usage seems to creep up quite quickly and i was having to restart the chunky services quite often
I saw a perl script somewhere that'd optimize mysqld, but i cant seem to find it again.. not sure if that'll help..
tried editing the clamav config file, but i didnt manage to lower it
oh found the mysql tuner:
don't know if that'll help... but i'm going to give it a shot.
I had to kill clamav for the time being to free up some memory. I just did a fresh install on a local VM and got about about the same memory usage. Seems like a lot, just wasn't sure if it was normal or not.
The momeory usage is normal as the default setup contains a complete email and webserver with amavisd and clamav for email scanning. ISPConfig itself does not use much memory, only about 5 - 15 MB for up to a few seconds once a minute.
Thanks for responding Till. Where can I read more about using multi-server setups? I'm assuming I can split these services among multiple servers based on your response? Or am I wrong and does each server need to be set up based on the Perfect Install guides?
I would like to know more in general about multi-server setups with ISPConfig3. Thanks for any info you can provide.
All Infos available on multiserver setups are here in the forum, there is no additional documentation available et.
I have the same issue about memory usage of amavis.
Is there a way to reduce the memory usage?
I found this http://marc.info/?l=spamassassin-use...18346997827114 I don't sure that is the same situation.
Here a top screen-shot:
Currently you have 3 amavisd server instances running. If your systemdoes not process huge amounts of email, you can reduce them to 1 by setting the variable
in the amavisd configuration files and then restart amavisd.
Thanks till, I have added that line to file:
but setting the value to 0,
because max_servers mean children proccess. After restart the service, I have one entry on top for amavisd-new .
|All times are GMT +2. The time now is 22:27.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.