That's hitting a system limit; su to dbmail and run "ulimit -n" to see
the current limit, probably 1024.  Then try "ulimit -n 4096" or so
before starting imapd ... or look at where your system sets those limits
(eg. /etc/security/limits.conf on debian) and change it there (setting
is "nofiles" in limits.conf).

With your wild and unusual memory growth, possibly there is a memory
leak triggered by that failure not cleaning up something?



On Mon, 2009-02-09 at 10:26 +0000, Jorge Bastos wrote:
> 
> I also have the output in syslog:
> 
> ---
> Feb  9 09:48:45 lira dbmail/imap4d[24857]: [0x9613548] Error:[message]
> _set_content_from_stream(+785): opening tmpfile failed: Too many open
> files
> Feb  9 09:51:31 lira dbmail/imap4d[24857]: [0x9613008] Error:[message]
> _set_content_from_stream(+785): opening tmpfile failed: Too many open
> files
> Feb  9 09:53:33 lira dbmail/imap4d[24857]: [0x9613488] Error:[message]
> _set_content_from_stream(+785): opening tmpfile failed: Too many open
> files
> Feb  9 09:58:28 lira dbmail/imap4d[24857]: [0x9613308] Error:[message]
> _set_content_from_stream(+785): opening tmpfile failed: Too many open
> files
> Feb  9 10:01:51 lira dbmail/imap4d[24857]: [0x9612e88] Error:[message]
> _set_content_from_stream(+785): opening tmpfile failed: Too many open
> files
-- 
Jesse Norell
Kentec Communications, Inc.
je...@kci.net
_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to