Old 11th March 2008, 12:02
pjdevries pjdevries is offline
HowtoForge Supporter
Join Date: Sep 2006
Posts: 130
Thanks: 7
Thanked 12 Times in 5 Posts
Default clamav memory & cpu usage

I am experiencing system resource problems with clamav and although some suggest to disable it all together, because clamav is not all that good anyhow, I prefer to keep it operational. I have found a few threads concerning this topic, a few of which suggest and/or describe (how) to use clamd instead of clamscan. Some of those articles are a bit dated and the question is, if the described solutions are still valid for the current versions of ISPConfig and clamav. Another article involves the manual compilation of some components, which I prefer not to do in order to keep my system as 'standard' as possible.

Is there an up-to-date howto available or is anyone out there skilled enough to write a simple, step by step howto for the less experienced and skilled like myself?
Reply With Quote
Sponsored Links
Old 11th March 2008, 12:07
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,001
Thanks: 840
Thanked 5,650 Times in 4,460 Posts

Please have a look here:

Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Old 11th March 2008, 12:31
pjdevries pjdevries is offline
HowtoForge Supporter
Join Date: Sep 2006
Posts: 130
Thanks: 7
Thanked 12 Times in 5 Posts

Thanks for the incredible fast reply Till.

The article you refer to, is the one I meant when mentioning the manual compilation. The procedure described there involves quite a few manual modifications to various ISPConfig and other configuration files, on which I am not very keen. I guess some or all of these modifications have to be made again after each ISPConfig update, which makes such an update error prone. It also makes the system more difficult to maintain and restore after a crash.

I was hoping there was a less elaborate solution that requires not so much manual editing of configuration files. Due to my close relationship with Murphy, I tend to easily make mistakes with that. But I guess I'll just have to wait until ISPConfig supports the described solution 'out of the box'.
Reply With Quote
Old 11th March 2008, 13:56
Hans Hans is offline
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,263
Thanks: 216
Thanked 649 Times in 295 Posts

It's not a solution for your real problem, but perhaps you can add these additional lines to your /etc/postfix/main.cf file:

unknown_client_reject_code = 554
unknown_hostname_reject_code = 554
unknown_local_recipient_reject_code = 554
unknown_relay_recipient_reject_code = 554
unknown_sender_reject_code = 554
unknown_virtual_alias_reject_code = 554
unknown_virtual_mailbox_reject_code = 554
unverified_recipient_reject_code = 554
unverified_sender_reject_code = 554

With those lines you can reduce the incoming (spam)-messages before they reach your server. It will help you to lower your CPU-rate a little bit as well.

If you decide to use these lines, don't forget to restart Postfix with /etc/init.d/postfix restart

MrHostman | Managed Hosting
Reply With Quote
The Following 3 Users Say Thank You to Hans For This Useful Post:
brownie (29th May 2008), minskog (14th March 2008), pjdevries (11th March 2008)


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Clamav use up 99.9 % cpu andypl General 21 13th June 2010 20:39
Memory usage on debian etch devnull3d Installation/Configuration 4 17th January 2008 17:19
ISPConfig & Memory usage catalyst General 2 27th March 2007 18:06
Server sometimes (1 or 2 hrs) down :/ edge Server Operation 25 31st July 2006 14:44
Limit CPU usage per account calande Server Operation 4 16th June 2006 15:12

All times are GMT +2. The time now is 23:09.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.