Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 28th September 2007, 00:47
3DPeruna 3DPeruna is offline
Member
 
Join Date: Jan 2007
Posts: 50
Thanks: 8
Thanked 0 Times in 0 Posts
Exclamation Postfix, Procmail, ISPConfig...

Running Edgy, latest ISPConfig, updated & upgraded recently.

Everything was running just fine until yesterday afternoon when the server slowed to a crawl. Couldn't figure out what was going on. After killing most of the processes, then starting them one-by-one, I've narrowed the problem down to something with Postfix and Procmail. I've tried rebooting, but as soon as the system comes back up, it starts up again. Using htop, clamscan and spamassassin seem to be the culprits.

When this happens, everything slows way down. In fact, it takes a long time to issue any commands at all. However, with top, the memory footprint and cpu time for each of the processes is very small (0.1, or 0.0). There are just a lot of clam and spamassassin processes tied to mail user accounts. Here's the output from htop:


If I use killall for both clamscan and for spamassassin, they'll go away, but quickly all come back, slowing down the system again.

I don't want to lose the email that's in the queue, but how do I get these to "work"?

I've got 512M memory and 1024M swap file.

TIA,
Paul

Last edited by 3DPeruna; 28th September 2007 at 01:24. Reason: Updated info
Reply With Quote
Sponsored Links
  #2  
Old 28th September 2007, 02:06
rachel rachel is offline
Junior Member
 
Join Date: Sep 2007
Location: Bristol, UK
Posts: 25
Thanks: 2
Thanked 2 Times in 2 Posts
Default

I'd try switching to using spamassassin in daemon mode. Install spamassassin in your host distro, and start spamd, change ~root/ispconfig/isp/conf/spamassassin.rc.master and instead of the "spamassassin" line, sustitute "| /usr/bin/spamc". Make some mail config change that will cause that change to be propagated out to the user's directories. As long as you're using a recent ISPConfig, it should pick up the user prefs through symlinks (as they can't be given on the spamc line).

That should reduce the process overhead of spamassassin at least. I don't know how well it will affect your entire problem. :-)
Reply With Quote
The Following User Says Thank You to rachel For This Useful Post:
3DPeruna (28th September 2007)
  #3  
Old 28th September 2007, 02:07
rachel rachel is offline
Junior Member
 
Join Date: Sep 2007
Location: Bristol, UK
Posts: 25
Thanks: 2
Thanked 2 Times in 2 Posts
Default

Oh, and thanks for introducing htop to me. I'd never heard of it before. Funky. :-)
Reply With Quote
  #4  
Old 28th September 2007, 03:13
3DPeruna 3DPeruna is offline
Member
 
Join Date: Jan 2007
Posts: 50
Thanks: 8
Thanked 0 Times in 0 Posts
Default

I'll give that a go, too. I think that clamav may be an issue, too, but it can't help with the spamassassin.
Reply With Quote
  #5  
Old 28th September 2007, 04:24
3DPeruna 3DPeruna is offline
Member
 
Join Date: Jan 2007
Posts: 50
Thanks: 8
Thanked 0 Times in 0 Posts
Default

OK... Now, I need to know how to copy the same file forward across multiple subdirectories. I can edit the .spamassasinrc file but I've got about 100 email accounts that need the same edit done to them (really, I think it would have been better to have a symbolic link to a master file rather than each file individually needing to be edited...and maybe that's what I've got).
Reply With Quote
  #6  
Old 28th September 2007, 09:35
chuckl chuckl is offline
Senior Member
 
Join Date: May 2007
Location: Uxbridge, Middlesex, UK
Posts: 166
Thanks: 1
Thanked 20 Times in 20 Posts
Default

One possibility:

http://www.howtoforge.com/forums/showthread.php?t=15582
Reply With Quote
The Following User Says Thank You to chuckl For This Useful Post:
3DPeruna (28th September 2007)
  #7  
Old 28th September 2007, 17:07
3DPeruna 3DPeruna is offline
Member
 
Join Date: Jan 2007
Posts: 50
Thanks: 8
Thanked 0 Times in 0 Posts
 
Default

chuckl,

I went to the thread you pointed out, tried that, but am still having the same problem.
Reply With Quote
Reply

Bookmarks

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
Mea by someone will know ISPconfig Horde, Ingo, procmail kristaps General 1 5th July 2007 13:33
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16
ISPconfig + postfix virtual using mysql nitbix Installation/Configuration 2 27th February 2006 12:18
The perfect Setup Suse 10 RC1 ispconfig won't create postfix users! fatum112 HOWTO-Related Questions 1 14th January 2006 14:25
procmail <defunct> ZyanKLee Installation/Configuration 1 19th December 2005 00:58


All times are GMT +2. The time now is 10:48.


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