Stefano,

Sorry to bother you again on this. But I've determined that James is actually not sending the final expected SMTP response. I did an ethereal packet trace and initially determined what what happening. Then I traced back through the JAMES logs and verified what I saw in ethereal.

I don't know if it's really a JAMES problem. However, I have determined that JAMES is NOT sending the 'message received' response when I use the mySQL huge config (the mail DOES get sent) When I change back to the tiny config, JAMES does send the response. This is very reproducable.

In the failure scenario, it appears that the smtp thread gets the message and forwards it to the spool, but then simply goes away (see comparison traces below).

The database is running fine in 'huge' mode (actually significantly more efficiently). So I can't see anything that would point to database failure. I have all the logs set to "DEBUG", and haven't found anything relevant. But to be honest, I'm not sure where to look or what I might be looking for.

Please take a look at the two traces below. I'm very willing to drill down and do more debug. I just need some pointers as to where to look.

The bottom line is that I really need to get mySQL tuned in order to free up CPU. But I'm stuck with a pegged CPU in order to send mail. I guess I could start trying a bunch of tweaking of mySQL parms. But not knowing what the real problem is, I would simply be shooting in the dark. And even if I got to accidentally work, it'll probably start failing again at some inconvenient time. So I'd really like to figure out what is happening. But I'm going to need a bit of help from somebody that understands the details of the code to give me some pointers.

Thanks a bunch.

Successful send -- (mySQL default config)

07/08/07 11:51:22 DEBUG smtpserver-in: Sent: 235 Authentication Successful
07/08/07 11:51:22 INFO  smtpserver-in: AUTH method PLAIN succeeded
07/08/07 11:51:22 DEBUG smtpserver-in: Calling reset() default Worker #122
07/08/07 11:51:22 DEBUG smtpserver-in: Lookup command handler for command: MAIL 07/08/07 11:51:22 DEBUG smtpserver-in: Sent: 250 2.1.0 Sender <[EMAIL PROTECTED]> OK
07/08/07 11:51:22 DEBUG smtpserver-in: Calling reset() default Worker #122
07/08/07 11:51:22 DEBUG smtpserver-in: Lookup command handler for command: RCPT 07/08/07 11:51:22 DEBUG smtpserver-in: Sent: 250 2.1.5 Recipient <[EMAIL PROTECTED]> OK
07/08/07 11:51:22 DEBUG smtpserver-in: Calling reset() default Worker #122
07/08/07 11:51:22 DEBUG smtpserver-in: Lookup command handler for command: DATA 07/08/07 11:51:22 DEBUG smtpserver-in: Sent: 354 Ok Send data ending with <CRLF>.<CRLF>
07/08/07 11:51:22 DEBUG smtpserver-in: Calling reset() default Worker #122
07/08/07 11:51:22 DEBUG smtpserver-in: executing message handlers
07/08/07 11:51:22 DEBUG smtpserver-in: sending mail
07/08/07 11:51:22 INFO smtpserver-in: Successfully spooled mail Mail1186505482515-36 from [EMAIL PROTECTED] on **.**.**.*** for [EMAIL PROTECTED]
07/08/07 11:51:22 DEBUG smtpserver-in: Sent: 250 2.6.0 Message received
07/08/07 11:51:22 DEBUG smtpserver-in: Lookup command handler for command: QUIT 07/08/07 11:51:22 DEBUG smtpserver-in: Sent: 221 2.0.0 mail.jwmhosting.com Service closing transmission channel
07/08/07 11:51:22 DEBUG smtpserver-in: Calling reset() default Worker #122
07/08/07 11:51:22 DEBUG smtpserver-in: Calling stop() default Worker #122
07/08/07 11:51:22 DEBUG smtpserver-in: Closing socket.
07/08/07 11:51:22 DEBUG smtpserver-in: Calling disposeWatchdog() default Worker #122
07/08/07 11:51:22 DEBUG smtpserver-in: Returning SMTPHandler to pool.

Failure scenario -- (mySQL huge config) (note no "Sucessfully spooled mail...." message)

07/08/07 11:40:02 DEBUG smtpserver-in: Sent: 235 Authentication Successful
07/08/07 11:40:02 INFO  smtpserver-in: AUTH method PLAIN succeeded
07/08/07 11:40:02 DEBUG smtpserver-in: Calling reset() default Worker #55
07/08/07 11:40:02 DEBUG smtpserver-in: Lookup command handler for command: MAIL 07/08/07 11:40:02 DEBUG smtpserver-in: Sent: 250 2.1.0 Sender <[EMAIL PROTECTED]> OK
07/08/07 11:40:02 DEBUG smtpserver-in: Calling reset() default Worker #55
07/08/07 11:40:02 DEBUG smtpserver-in: Lookup command handler for command: RCPT 07/08/07 11:40:02 DEBUG smtpserver-in: Sent: 250 2.1.5 Recipient <[EMAIL PROTECTED]> OK
07/08/07 11:40:02 DEBUG smtpserver-in: Calling reset() default Worker #55
07/08/07 11:40:02 DEBUG smtpserver-in: Lookup command handler for command: DATA 07/08/07 11:40:02 DEBUG smtpserver-in: Sent: 354 Ok Send data ending with <CRLF>.<CRLF>
07/08/07 11:40:03 DEBUG smtpserver-in: Calling reset() default Worker #55
07/08/07 11:40:03 DEBUG smtpserver-in: executing message handlers
07/08/07 11:40:03 DEBUG smtpserver-in: sending mail
 (no other smtpserver lines in default log)

_________________________________________________________________
See what you’re getting into…before you go there http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507


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

Reply via email to