How to optimize ISPConfig, reduce RAM?
ISPConfig 3 is an excellent alternative to Plesk or cPanel, but the base install consumes just over 500MB of RAM when idle. By disabling ClamAV (email anti-virus), and Amavis (one of the two email spam filters), you can save about 150MB of server memory. The Ubuntu 10.10 budget VPS used for making this guide has 512MB of RAM (1042MB burst), and went from 502MB usage to 347MB usage simply by disabling ClamAV and Amavis! That's huge.
Note that you'll still have spam protection by way of the DNS blacklists option, and you should honestly run anti-virus protection local to your desktop/laptop computer -- not on the server. (It also helps if you're intelligent about email, and know not to just open any random file you're sent by strangers.) Using your favorite text editor (I'm using vi), you'll simply edit one file, then disable the unneeded services via command-line. Remember your basic vi commands: Press i to edit the text file. Press ESC to exit edit mode. After escaping, type :w to save changes. Then :q to quit the editor. Edit Postfix to stop using Amavis. Type this into your shell (SSH) console window: Code:
vi /etc/postfix/main.cf Code:
# content_filter = amavis:[127.0.0.1]:10024 Restart Postfix with the following command in shell: Code:
/etc/init.d/postfix restart Code:
/etc/init.d/clamav-daemon stop Code:
update-rc.d -f clamav-daemon remove To block spam, simply use the DNS blacklists option in Postfix, which are generally more effective anyway. If you still need anti-spam, then either get more RAM for the VPS (768MB or more, base), or consider using a hosted email option like Gmail. And most important, USE A GOOD HOST! See our list here: http://www.digitalfaq.com/forum/web-...-best-web.html |
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.