Re: [Dbmail] dbmail hanging

2014-11-02 Thread Paul J Stevens
On 30-10-14 14:23, Rogerio Pereira wrote: > >>>Do you have anything that checks if your services are alive? If so: >>> is it just a "connection open" test or a "proper" imap test ? > > Yes, I have. HostMonitor is installed in my Android Phone and queries > the imap, pop ports every 2 minute

Re: [Dbmail] dbmail hanging

2014-11-02 Thread Paul J Stevens
I wonder why you need to fiddle with those limits to begin with. Haven't had to do that in ages. Are you actually trying to handle 10k+ concurrent connections? Is there some program that is trying to connect to dbmail without closing the connections? Such connections are cleaned up by dbmail, but

Re: [Dbmail] dbmail hanging

2014-10-30 Thread Rogerio Pereira
>>Do you have anything that checks if your services are alive? If so: >> is it just a "connection open" test or a "proper" imap test ? Yes, I have. HostMonitor is installed in my Android Phone and queries the imap, pop ports every 2 minutes to see if it’s alive. It’s a not “proper” imap test.

Re: [Dbmail] dbmail hanging

2014-10-30 Thread Alan Hicks
Hi, On 30/10/2014 08:31, Thomas Raschbacher wrote: Am 29.10.2014 um 15:54 schrieb roge...@porta80.com.br: Hi, The /var/log/mail.err file has thousands of this message: Oct 29 10:49:26 dbmail01 dbmail/imap4d[27550]: Error:[server] _sock_cb(+582): 24:Too many open files Oct 29 10:49:26 dbmail01

Re: [Dbmail] dbmail hanging

2014-10-30 Thread Thomas Raschbacher
Am 29.10.2014 um 15:54 schrieb roge...@porta80.com.br: > Hi, > > The /var/log/mail.err file has thousands of this message: > > Oct 29 10:49:26 dbmail01 dbmail/imap4d[27550]: Error:[server] > _sock_cb(+582): 24:Too many open files > Oct 29 10:49:26 dbmail01 dbmail/imap4d[27550]: Error:[server] >

Re: [Dbmail] dbmail hanging

2014-10-29 Thread Rogerio Pereira
Hi, I am not a Debian expert, but I guess the following config should solve the “too many open files” issue. I don’t have systemd installed, so I need to change it in Debian config files. --> /etc/security/limits.conf * soft nofile 4096 * hard nofile 32768 root soft nofile 4096 root hard nofil

Re: [Dbmail] dbmail hanging

2014-10-29 Thread Reindl Harald
Am 29.10.2014 um 15:48 schrieb roge...@porta80.com.br: The /var/log/mail.err file has thousands of this message: Oct 29 10:49:26 dbmail01 dbmail/imap4d[27550]: Error:[server] _sock_cb(+582): 24:Too many open files Oct 29 10:49:26 dbmail01 dbmail/imap4d[27550]: Error:[server] _sock_cb(+582): 24:

Re: [Dbmail] dbmail hanging

2014-10-29 Thread rogerio
Hi, The /var/log/mail.err file has thousands of this message: Oct 29 10:49:26 dbmail01 dbmail/imap4d[27550]: Error:[server] _sock_cb(+582): 24:Too many open files Oct 29 10:49:26 dbmail01 dbmail/imap4d[27550]: Error:[server] _sock_cb(+582): 24:Too many open files Oct 29 10:49:26 dbmail01 dbmail

Re: [Dbmail] dbmail hanging

2014-10-29 Thread Reindl Harald
Am 29.10.2014 um 15:11 schrieb Rogerio Pereira: I have detected a failure in the dbmail process. Sometimes it hangs and can't recover to normal operations. A restart is needed. The server logs shows that rsyslog is rate limiting dbmail message logs generation when it hangs. The /var/log/messa

[Dbmail] dbmail hanging

2014-10-29 Thread Rogerio Pereira
Hi, I have detected a failure in the dbmail process. Sometimes it hangs and can't recover to normal operations. A restart is needed. The server logs shows that rsyslog is rate limiting dbmail message logs generation when it hangs. The /var/log/message displays the following: Oct