Hi all,

My last problem (with emails getting delivered multiple times) seemed to have resolved itself (for the most part) after adjusting db connection and smtp/pop connection limits.

But now I'd like help addressing a different problem, one that we've had for a while--even before the previous problem--but it doesn't seem to happen all the time--only on some days. Today was one of those days.

This morning we got a call from our data center that smtp was not responding. I logged in, and found the "connection" log growing at about 10mb per 5 minutes with this complaint:

"WARN connections: Maximum number of open connections exceeded - refusing connection. Current number of connections is 40"

This would be fine, believable--ok, I've got too much incoming smtp traffic--except for the fact that when this warning prints, it also prints all 40 supposedly active connections--and they are the SAME 40 connections over and over again. I.e. James is stuck on the same 40 connections and won't get over the fact that it's out of connections and get on with its life.

I tried to restart, and james came online for a few seconds ("smtp" log was normal for a few seconds), but then it returned to the situation where the "connection" log was growing 10mb/5 min and the "smtp" log stopped growing. I tried restarting several times, but always the same result.

This continued for 10 hours, during which time I set all log levels to DEBUG, and the "connection" log at times grew at 5MB per minute, repeating the EXACT SAME 42 LINES over and over and over again without so much as a pause.

In the past, this same thing would happen every time we restarted James, but it was ALWAYS the case that after some minutes (20?), everything would resolve itself and start behaving normally; today, no such luck.

About an hour ago, after 10 hours of frustration, all of a sudden everything just started working again--as if someone somewhere said, "Ok, Nathan, you've suffered enough for one day, let there be James!" and flipped a switch.

I dread the day when this will happen again, but I know it will, and I dread the day.

I've got plenty of DEBUG-level log files if someone wants to look at them.

Thanks,

Nathan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to