Thomas Mueller wrote:
Hi,

I'm running cvs version from 18.09. This morning imapd suddenly didn't
accept any new connections.

netstat -t -ap 2>&1 |grep dbmail-imapd |grep ESTABLISHED |grep
-v localhost:postgresql |wc -l
Reported 15 established connections.

ps -ef |grep dbmail-imapd |grep -v grep |wc -l
Reported 17 processes.

That would be ok. There are two processes that don't handle connections 
themselves.



This is my config:
[IMAP]
...
NCHILDREN=10
MAXCHILDREN=150
MAXCONNECTS=1000
TIMEOUT=4000
MINSPARECHILDREN=4
MAXSPARECHILDREN=8

Because of MINSPARECHILDREN=4 there should be at least 19 processes if I
have 15 connections, right?

There should be 15 (ESTABLISHED) +4 (IDLE) +2 (master)=21 processes


telnet imapserver 143
Didn't increase the number of processes so probably there is a problem
with preforking?

I fixed a problem where slots in the process pool weren't released properly when a child process exited.

Please try again.


I had TRACE_LEVEL=1 and angry users ("I need my first coffee and mail
NOW") so I increased NCHILDREN and restarted dbmail, that's why I have
no further idea what went wrong.

Ah. But maybe you shouldn't run cvs-versions under such circumstances :-)



--
  ________________________________________________________________
  Paul Stevens                                         [EMAIL PROTECTED]
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands_______________________________________www.nfg.nl

Reply via email to