On Thursday, Oct 23, 2003, at 16:56 Europe/Amsterdam, Matt Dickinson wrote:

Nunno Luca wrote:
Dbmail-imapd uses too much memory. I've 500 account and, when i
launch dbmail-imapd with 8 istances, it uses about 0.1% of memory for
each process.

After 4 days each process uses about 4% -5% of memory. I've 1 Gb of
memory + 1 Gb swap file.


Hi,

There's a few options... Try tweaking the values in dbmail.conf and lower the MAXCONNECTS so the children processes restart more often. I don't recall
any changes from version 1.1 to 1.2

I have a feeling that it wouldn't be too difficult to modify the
dbmail-ipop3d that I wrote that launches from xinetd to function for the imapd too, this might alleviate the problem as a new child would fork each
time an incoming request happens.
Problem with using xinetd is that you have to start a new process every time, which also involves setting up database connections etc, which cost quite some time.

cheers,
Ilja

--
IC&S
Koningsweg 4
3582 GE  UTRECHT

PGP-key:
http://www.ic-s.nl/keys/ilja.txt


Reply via email to