Hi, i had a similar problem, even with 2.2, after a small period of time, the imap server stop to respond, and the cause was the dbmail.conf file. The default parameters where just to low for my needs, so i changed them to : NCHILDREN=25 # Default number of child processes to start. MAXCHILDREN=30 # Maximum number of child processes allowed. MINSPARECHILDREN=4 # Unused children to always have availale. MAXSPARECHILDREN=25 # Maximum unused children allowed to be active. MAXCONNECTS=1000 # Child process is restarted after handling this many connections. MAX_ERRORS=50 # Child process will restart after this many connection errors. TIMEOUT=300 # Idle time allowed before a connection is shut off.
Anyway, you should consider making NCHILDREN higher, like 200, as you have more permanent conections like me. Also on the database you need to change the number of maximum conections availables, i think the default is 100, you probably need more. I hope it helps. 2007/2/16, Sunny Koh <[EMAIL PROTECTED]>:
Hello, My current DBMail system is getting very unstable and needs a full reset every now and then with the system complianting about not having enough database connections or imap connections that fail after a few seconds. (Currently usinbg 2.0.10 on Gentoo Linux with postfix/mysql) Also, my nightly cleanup database script is currently running for 55 minutes at midnight and no one is able to check their mail during that time of day. For some reference, I have about 60 real users and my Database size is about 2 to 4GB runing on a Pentium-III 1Ghz with 1GB RAM. The base OS is patched for a few years, I am going to do a fuull reimage and reinstallation. And hopefully most of these problems would be gone. My first question would be what would be the best method to do the install, download the .tar.gz, follow the normal method or use portage? (I am aware that dbmail is not in the main portage database, but if I am going to use the ebuilt, what are the commands/step I should be taking?) And which init script files should I be using. (I was using the posted Gentoo ones from the mailing list a few years ago) Second question is is 2.2 stable enough? I don't want a confidence lost with my users when I perform the upgrade. I am very interested in the LDAP as I want to implement a groupware package during this round of upgrades. My Third question is, it is possible to use a second machine to do anti-spam filtering? I am considering doing this as it gives some redundancy to my mail setup as I can set the primary reciever to this machine and it forwards to the real mail server. (As well as keeping the email server nice and simple) Any community views on this? Thank you all Regards Mr. Sunny Koh Executive System Administrator Acorn Eduatinment Pte Ltd Part of The NurtureCraft Group Singapore _______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
_______________________________________________ DBmail mailing list [email protected] https://mailman.fastxs.nl/mailman/listinfo/dbmail
