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
that may require some timeout to kick in first (login_timeout).

try: lsof -p `pidof dbmail-imapd`
and see of that tells you something.



On 29-10-14 19:54, Rogerio Pereira wrote:
> 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 nofile 32768
>  
> Should I add these lines to /etc/init.d/dbmail as well?
>  
> ulimit -Hn 32768
> ulimit -Sn 32768
>  
> Thanks in advance.
>  
> Rogerio
>  
> 
> 
> _______________________________________________
> DBmail mailing list
> DBmail@dbmail.org
> http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
> 

-- 
________________________________________________________________
Paul J Stevens       pjstevns @ gmail, twitter, github, linkedin
           www.nfg.nl/i...@nfg.nl/+31.85.877.99.97
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail

Reply via email to