On Fri, Mar 31, 2000 at 01:06:10PM +0000, S Ashok Kumar wrote:
> RedHat 6.1 with qmail-1.03 and ucspi - 0.84.
> qmail-smtpd is run by tcpserver and the -c value is 2000. But as soon as
> it reaches 1247 sessions, it is not able to fork further processes, the
> error message is:
>
> tcpserver: warning: dropping connection, unable to fork: temporary
> failure
>
> This value (1247) does not change even when I increase RAM from 512MB to
> 1GB or decrease it to 128MB. My question is what causes fork to not run
> a new process. I know it is a non qmail question. But someone over here
> who has already solved this problem may help me or point me to some URLs
> to troubleshoot this.
You are out of processes. A little tweaking with 'ulimit' might help, or
perhaps you need to tune your kernel somewhere deeper.
Greetz, Peter.
--
Peter van Dijk - student/sysadmin/ircoper/madly in love/pretending coder
|
| 'C makes it easy to shoot yourself in the foot;
| C++ makes it harder, but when you do it blows your whole leg off.'
| Bjarne Stroustrup, Inventor of C++