Great Circle Associates Majordomo-Users
(May 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: limiting the number of sendmail processes invoked by majordomo/resend
From: Marko Hotti <mhotti @ lists . oulu . fi>
Date: Mon, 19 May 1997 16:09:00 +0300 (EET DST)
To: majordomo-users @ greatcircle . com


Hi!

Has anyone of you made any modifications to the resend code to monitor the
amount of running processes in a system and exiting if the number exceeds a
certain threshold?

The reason I'm asking this is because our system is hosting several large
international mailing lists and I installed the bulk_mailer to speed up the
delivery process. The trade-off seemed to be that sometimes when several
messages come in simultaneously or within tens of seconds, the amount of
sendmail processes went up and we occasionally got some 'filetable overflow'
errors.

I added the following lines in the beginning of the resend code:

$max_processes = 130;
$processes = `/bin/ps -xa|/usr/bin/wc -l`;
exit 75 if ($processes >= $max_processes);

Does anyone find any reason why this wouldn't be the best solution for the
problem? Any comments on the topic?


Marko Hotti <mhotti@lists.oulu.fi>
--
	Marko Hotti			[] Oulu University CSC - List Services
	Systems Administrator		[] Tervontie 4 C 11, FIN-90230  OULU
	mhotti@lists.oulu.fi		[] Tel: +358-(0)40-552-8415 (work)
	http://www.lists.oulu.fi/	[] 	+358-(0)8 -530-4268 (home)



Follow-Ups:
Indexed By Date Previous: Re: Cyberpromo Spammers are Pounding my List's ASS
From: Chris Johansen <johansen@main.nc.us>
Next: Re: limiting the number of sendmail processes invoked by majordomo/resend
From: Rich Pieri <rich.pieri@prescienttech.com>
Indexed By Thread Previous: Re: Cyberpromo Spammers are Pounding my List's ASS
From: jonathon <grafolog@netcom.com>
Next: Re: limiting the number of sendmail processes invoked by majordomo/resend
From: Rich Pieri <rich.pieri@prescienttech.com>

Google
 
Search Internet Search www.greatcircle.com