Are you running the latest version of James I had this problem with an
old version
james was starting lots of threads there was an update to the code thar
fixed that

[]s


On Fri, 2004-02-13 at 11:57, Arno Schatz wrote:

> Hi ,
> 
> I managed to add the thread info to the logs. First thing I was observing, is that 
> it 
> continues to create threads beyond the 'maxthread' setting. After running james for 
> about 
>   2 days, it has created >14000 threads!
> Second, it time between the DAT command and the time out is always exactly 5 min.
> 
> any idea?
>    Arno
> 
> Arno Schatz wrote:
> > Hi Noel,
> > 
> > An excerpt from the smtp-log on level debug is below. However, it is 
> > close to unreadable, because not every entry is writing out the thread 
> > info. I am wondering why that is not setup in the environment.xml. 
> > However, I tried to access
> > http://jakarta.apache.org/avalon/excalibur/logger/index.html
> > as mentioned in the environment.xml, but that is a 404. :-(
> > 
> > Can you let me know how to add the thread info to the logger or where to 
> > find the info?
> > 
> > -Arno
> > 
> > 
> > 
> > 12/02/04 22:06:19 DEBUG smtpserver: Command received: DATA
> > 12/02/04 22:06:19 DEBUG smtpserver: Sent: 354 Ok Send data ending with 
> > <CRLF>.<CRLF>
> > 12/02/04 22:06:19 DEBUG smtpserver: Successfully spooled mail 
> > )Mail1076619979120-1116 from null for [EMAIL PROTECTED]
> > 12/02/04 22:06:19 DEBUG smtpserver: Sent: 250 Message received
> > 12/02/04 22:06:19 DEBUG smtpserver: Calling reset() default Worker #4249
> > 12/02/04 22:06:20 DEBUG smtpserver: Command received: RSET
> > 12/02/04 22:06:20 DEBUG smtpserver: Sent: 250 OK
> > 12/02/04 22:06:20 DEBUG smtpserver: Calling reset() default Worker #4249
> > 12/02/04 22:06:20 DEBUG smtpserver: Watchdog default Worker #4004 has 
> > time to sleep 360000
> > 12/02/04 22:06:21 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:99)
> >     at 
> > org.apache.james.smtpserver.SMTPHandler.doDATA(SMTPHandler.java:1304)
> >     at 
> > org.apache.james.smtpserver.SMTPHandler.parseCommand(SMTPHandler.java:653)
> >     at 
> > org.apache.james.smtpserver.SMTPHandler.handleConnection(SMTPHandler.java:422) 
> > 
> >     at 
> > org.apache.james.util.connection.ServerConnection$ClientConnectionRunner.run(ServerConnection.java:463)
> >  
> > 
> >     at 
> > org.apache.excalibur.thread.impl.ExecutableRunnable.execute(ExecutableRunnable.java:90)
> >  
> > 
> >     at 
> > org.apache.excalibur.thread.impl.WorkerThread.run(WorkerThread.java:136)
> > 12/02/04 22:06:21 DEBUG smtpserver: Sent: 451 Error processing message: 
> > Error in input stream;
> >   nested exception is:
> >     java.net.SocketTimeoutException: Read timed out
> > 12/02/04 22:06:21 DEBUG smtpserver: Calling reset() default Worker #4062
> > 
> > Noel J. Bergman wrote:
> > 
> >>> Unknown error occurred while processing DATA.
> >>> javax.mail.MessagingException: Error in input stream;
> >>>   nested exception is:
> >>>     java.net.SocketTimeoutException: Read timed out
> >>
> >>
> >>
> >> Turn on DEBUG for the SMTP server, and see how much time passes 
> >> between the
> >> DATA command and the timeout.  I see these sorts of exceptions, albeit
> >> rarely.
> >>
> >>     --- Noel
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to