OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Postfix overload on a Debian Server

From: Wietse Venema (wietseporcupine.org)
Date: Fri Sep 29 2006 - 08:15:19 CDT


Huby franck:
[ Charset UTF-8 unsupported, converting... ]
> Le vendredi 29 septembre 2006 ? 07:43 -0400, Wietse Venema a ?crit :
> > Huby franck:
> > > > > when the server overload :
> > > > > - running up than 1'000 smtp+smtpd processes.
> >
> > That is not possible with the DEFAULT settings which allow no more
> > than 100 of each service type.
> >
> > Undo your Postfix modifications, do "postfix reload", and demonstrate
> > that the process count exceeds the configured count.
> >
> > Wietse
> >
> I've tried with the defaults
> And with a limit of 50 for the smtp and the relay in the master.cf.
> In the twice my server freeze.
>
> For monitoring i've do :
> while 1
> do
> ps aux | grep smtp | wc -l
> sleep 1
> done
>
> The last value it return was 1'000 and there my server wont respond
> any-more.

You've got a seriously broken kernel. Postfix will not
create a process that exceeds the per-class process limit.

Look at the actual status of those processes. Are they
running, terminated, zombies or what?

        Wietse