Micah wrote:
I'm using 1.2.7b and Squirrelmail can't connect to it periodically. A IMAP restart fixes it. I have been running a cron script that restarts it once a day, which seems to work pretty good.

Could be your imap server is running out of processes. What is your NCHILDREN setting. Also check MAXCONNECTS. If a process has handled MAXCONNECTS incoming connections, it shuts down. Immediately after, the master process restarts a new process. So if you see memory leaks (MEM usage is growing) set the MAXCONNECTS to something lower. Trial-n-error.


Does IMAP reject connections if it's not able to connect to the database?

Yes, definitely, since that's required for just about everything.

I still get the imap server losing the connection to the database.  It
works after a restart...and will run most of the day, but it looks like if
it goes unused for several hours it actually drops the connection.

For example, I check my mail via IMAP at 11:00 pm and then when I get up
in the morning around 7:00 am.  The server works all day (from 7 to 11)
b/c I check it frequently throughout the day, but every morning when I
wake up it says that the "_auth_query()" has lost it's connection
(connection dropped).

That's what the TIMEOUT option is for. Clients idle for more than TIMEOUT seconds are disconnected. I know mozilla/thunderbird handles this gracefully be logging in anew.

--
  ________________________________________________________________
  Paul Stevens                                  mailto:[EMAIL PROTECTED]
  NET FACILITIES GROUP                     PGP: finger [EMAIL PROTECTED]
  The Netherlands________________________________http://www.nfg.nl

Reply via email to