I'm setting up a new machine, the only service running on it is dbmail-imapd. When I start it, I get all the TIME_WAIT connections, when I stop it, they all go away.
-- David A. Niblett | email: [EMAIL PROTECTED] Network Administrator | Phone: (352) 334-3400 Gainesville Regional Utilities | Web: http://www.gru.net/ -----Original Message----- From: David Young [mailto:[EMAIL PROTECTED] Sent: Friday, July 01, 2005 12:29 PM To: DBMail mailinglist Subject: Re: [Dbmail] TIME_WAIT processes David, how did you verify that the connections are from DBMAIL? The reason I ask is that I run postfix on the frontend and I do database lookups for transport and aliases against postgres. Those connections aren't always persistent so I get a lot of disconnects resulting in some TIME_WAITs. Just curious if maybe you're seeing those TIME_WAITS from the mailer. David ----- Original Message ----- From: "Niblett, David A" <[EMAIL PROTECTED]> To: "'DBMail mailinglist'" <dbmail@dbmail.org> Sent: Friday, July 01, 2005 9:02 AM Subject: RE: [Dbmail] TIME_WAIT processes >I thought that too, but the TIME_WAIT ones are not persistent. They >eventually die off after ~4m which I think is the standard, but new >ones are constantly made. > > -- > David A. Niblett | email: [EMAIL PROTECTED] > Network Administrator | Phone: (352) 334-3400 > Gainesville Regional Utilities | Web: http://www.gru.net/ > > > > -----Original Message----- > From: Micah [mailto:[EMAIL PROTECTED] > Sent: Friday, July 01, 2005 11:48 AM > To: DBMail mailinglist > Subject: Re: [Dbmail] TIME_WAIT processes > > > Sounds like each child gets a persistant connection to the database to > reduce overhead during client connections. The number of waiting > connections is equal to the amount of child processes, no? > > -Micha > > > Niblett, David A wrote: > >>I've noticed that when I start dbmail-X there always >>seem to be a large number of TIME_WAIT connections >>reported by netstat. All of these connections are going >>to my postgres database. >> >>For example, I only have IMAP running, with the following: >> >>NCHILDREN=5 >>MAXCHILDREN=20 >>MINSPARECHILDREN=2 >>MAXSPARECHILDREN=4 >>MAXCONNECTS=10000 >>TIMEOUT=4000 >> >>In my netstat output, I have 5 "established" connection to the >>database, and then at a minimum of 48 in "time_wait". That number >>grows to 55, and then drops back to 48. >> >>When I run IMAP with a trace level of 9, it shows the starting of the >>5 children and then nothing else. (this is a test server no traffic). >> >>I'm lost as to why this is happening, anyone else see this, or know >>why it happens? >> >>TIA >> >>-- >>David A. Niblett | email: [EMAIL PROTECTED] >>Network Administrator | Phone: (352) 334-3400 >>Gainesville Regional Utilities | Web: http://www.gru.net/ >> >>_______________________________________________ >>Dbmail mailing list >>Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail >> >> > > _______________________________________________ > Dbmail mailing list > Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail > _______________________________________________ > Dbmail mailing list > Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail > _______________________________________________ Dbmail mailing list Dbmail@dbmail.org https://mailman.fastxs.nl/mailman/listinfo/dbmail