On 08/22/2010 11:37 AM, raba34 wrote:
> 
> Hello,
> 
> I use dbmail-imapd 2.2.16 and have the same problem: imapd occasionally
> times out. 

You mean it stops accepting connections, or what?

> 
> In dbmail.err I found this line:
> 
> dbmail-imapd[23122]: Error:[imapsession]
> dbmail-imapsession.c,dbmail_imap_session_printf(+1518): write to client
> socket failed

That is a client error, not a server error. The client has disconnected
unexpectedly. There are many valid scenarios for that. It shouldn't lead
to the server not accepting new connections. I see plenty of those, but
(almost) never have to restart the services.

> and I have to restart imapd.

So I assume you do mean the server stops accepting new connections.

> 
> This happens about one times per two days, but last week the intervall
> between two hangs ups was 30 minutes.

When it hangs again. Try to make a snapshot of open connections with
lsof. For example:

lsof -n|grep dbmail|grep TCP

or

netstat -anlp|grep dbmail-imapd

That might give some indication as to what is actually going on.



-- 
  ________________________________________________________________
  Paul Stevens                                      paul at nfg.nl
  NET FACILITIES GROUP                     GPG/PGP: 1024D/11F8CD31
  The Netherlands________________________________http://www.nfg.nl
_______________________________________________
DBmail mailing list
[email protected]
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to