You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by Diego Castillo <di...@inexbee.com> on 2003/09/18 10:07:57 UTC
RE : James 2.2.0a9 stability under heavy load
Hi all,
I have been able to reproduce the problem by removing the network cable
from the computer sending e-mail to James. If the network falls down
while the James' SMTPServer is receiving the DATA command, the *whole*
SMTPServer hangs. It seems that a timeout on a SMTP connection kills the
SMTP listener!
Has anybody encountered this issue before?
Diego
-----Message d'origine-----
De : Christian Andersson [mailto:ca@ofs.no]
Envoye : mercredi 17 septembre 2003 18:44
A : James Users List
Objet : Re: James 2.2.0a9 stability under heavy load
just a few notes here...''how long ago did you install SP4 on your w2k..
perheps it is starting to show something that I recently exerienced..
I installed w2k SP4 on this computer 2 weekends ago, and all seemed to
be fine, 2 days later I could not surf, I could not use ssh I could not
use ftp, etc.. however mail and icq worked.. I reinstalled SP4 and all
was ok again, then 4 days later again the same thing happened...
but this time not even icq or mail worked for me... :-(
what I discovered was that for me, the computer only recieved 100 to 200
bytes for each tcp connection....
I have now (long overdue) installed linux on this computer instead.
I'm not saying that you should do that also (Installing linux), but try
to check your installation of SP4 and try to see if there are anything
problematic with it (not sure how you can test it either)
/Christian Andersson
Diego Castillo wrote:
> Hi all,
>
> In addition to my previous e-mail, I would like to post a problem
> description that I encountered recently.
>
> During a load test against James 2.2.0a9 I got an exception at the
> SMTPServer level (see stacktrace at the end of the message). The
> exception occurred after more than 300k messages correctly processed
by
> James. The SMTPServer hanged until I rebooted James.
>
> James was running on top of a Sun 1.4.2 JVM on a W2K server SP4
system.
> I was using MySQL repositories on a local database.
>
> Any ideas?
>
> Regards,
>
>
> Diego
>
> ------------------
>
> ERROR smtpserver: Unknown error occurred while processing DATA.
> javax.mail.MessagingException: Error in input stream;
> nested exception is:
> java.net.SocketTimeoutException: Read timed out
> at
> javax.mail.internet.InternetHeaders.load(InternetHeaders.java:142)
> at
> javax.mail.internet.InternetHeaders.<init>(InternetHeaders.java:93)
> at org.apache.james.core.MailHeaders.<init>(MailHeaders.java:95)
> at
> org.apache.james.smtpserver.SMTPHandler.doDATA(SMTPHandler.java:1281)
> at
>
org.apache.james.smtpserver.SMTPHandler.parseCommand(SMTPHandler.java:63
> 0)
> at
>
org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.jav
> a:399)
> at
>
org.apache.james.util.connection.ServerConnection$ClientConnectionRunner
> .run(ServerConnection.java:463)
> at
>
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Execu
> tableRunnable.java:47)
> at
>
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.ja
> va:80)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
RE : RE : James 2.2.0a9 stability under heavy load
Posted by Diego Castillo <di...@inexbee.com>.
Please ignore my previous e-mail. It was a misconfiguration on my DHCP
server. Nothing abnormal on the James side :-)
-----Message d'origine-----
De : Diego Castillo [mailto:diego.castillo@inexbee.com]
Envoye : jeudi 18 septembre 2003 10:08
A : 'James Users List'
Objet : RE : James 2.2.0a9 stability under heavy load
Hi all,
I have been able to reproduce the problem by removing the network cable
from the computer sending e-mail to James. If the network falls down
while the James' SMTPServer is receiving the DATA command, the *whole*
SMTPServer hangs. It seems that a timeout on a SMTP connection kills the
SMTP listener!
Has anybody encountered this issue before?
Diego
-----Message d'origine-----
De : Christian Andersson [mailto:ca@ofs.no]
Envoye : mercredi 17 septembre 2003 18:44
A : James Users List
Objet : Re: James 2.2.0a9 stability under heavy load
just a few notes here...''how long ago did you install SP4 on your w2k..
perheps it is starting to show something that I recently exerienced..
I installed w2k SP4 on this computer 2 weekends ago, and all seemed to
be fine, 2 days later I could not surf, I could not use ssh I could not
use ftp, etc.. however mail and icq worked.. I reinstalled SP4 and all
was ok again, then 4 days later again the same thing happened...
but this time not even icq or mail worked for me... :-(
what I discovered was that for me, the computer only recieved 100 to 200
bytes for each tcp connection....
I have now (long overdue) installed linux on this computer instead.
I'm not saying that you should do that also (Installing linux), but try
to check your installation of SP4 and try to see if there are anything
problematic with it (not sure how you can test it either)
/Christian Andersson
Diego Castillo wrote:
> Hi all,
>
> In addition to my previous e-mail, I would like to post a problem
> description that I encountered recently.
>
> During a load test against James 2.2.0a9 I got an exception at the
> SMTPServer level (see stacktrace at the end of the message). The
> exception occurred after more than 300k messages correctly processed
by
> James. The SMTPServer hanged until I rebooted James.
>
> James was running on top of a Sun 1.4.2 JVM on a W2K server SP4
system.
> I was using MySQL repositories on a local database.
>
> Any ideas?
>
> Regards,
>
>
> Diego
>
> ------------------
>
> ERROR smtpserver: Unknown error occurred while processing DATA.
> javax.mail.MessagingException: Error in input stream;
> nested exception is:
> java.net.SocketTimeoutException: Read timed out
> at
> javax.mail.internet.InternetHeaders.load(InternetHeaders.java:142)
> at
> javax.mail.internet.InternetHeaders.<init>(InternetHeaders.java:93)
> at org.apache.james.core.MailHeaders.<init>(MailHeaders.java:95)
> at
> org.apache.james.smtpserver.SMTPHandler.doDATA(SMTPHandler.java:1281)
> at
>
org.apache.james.smtpserver.SMTPHandler.parseCommand(SMTPHandler.java:63
> 0)
> at
>
org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.jav
> a:399)
> at
>
org.apache.james.util.connection.ServerConnection$ClientConnectionRunner
> .run(ServerConnection.java:463)
> at
>
org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Execu
> tableRunnable.java:47)
> at
>
org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread.ja
> va:80)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
> For additional commands, e-mail: server-user-help@james.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org