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 Rod TuK <ro...@hotmail.com> on 2001/05/30 06:34:12 UTC

POP3 hanging....

Anyone having the same problem? My server (James 1.2.1) works for must part 
of the day, but sometimes it hangs on POP3 request. After that the only 
thing I can do is to restart the process.

Looking on the errors, the only thing I find is:

==> avalon.log <==
2001.05.29 11:28:36 207 (DEBUG) from Avalon: Block JamesMailServer ask for a 
org.apache.avalon.blocks.Logger
2001.05.29 11:28:36 207 (DEBUG) from Avalon: Block JamesMailServer ask for a 
org.apache.avalon.blocks.TimeServer

==> info.log <==
2001.05.29 11:28:36 207 (DEBUG) from SocketManager: ServerSocketAcceptor on 
port 110: request arrived

==> netfile.log <==
2001.05.29 11:28:36 212 (INFO) from POP3: Connection from 
cs6625153-68.austin.rr.com (66.25.153.68)

==> info.log <==
2001.05.29 11:28:36 355 (DEBUG) from TimeManager: Alarm 
org.apache.james.pop3server.POP3Handler@f6235 set by 
org.apache.james.pop3server.POP3Handler@f6235
2001.05.29 11:28:36 399 (DEBUG) from TimeManager: Alarm 
org.apache.james.pop3server.POP3Handler@f6235 resetted


Ideas????

Thanks

Rod~
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org


Re: POP3 hanging....

Posted by Oki DZ <ok...@bdg.pindad.com>.
Rod TuK wrote:
> 
> Anyone having the same problem? My server (James 1.2.1) works for must part
> of the day, but sometimes it hangs on POP3 request. After that the only
> thing I can do is to restart the process.

Last week, I did the following on my local system (which runs exim):
perl -e 'for ($i=0;$i<50;$i++) { system "mail -s \"test\"
username\@bdb.pindad.com < lam.uue";}'
exim then opened 50 connections to James. I had set James so that it has
50 spool managers. Then I tried to telnet to James on port 110; I
couldn't see POP's hello message. Telnet apparently connected to James,
but it stayed just like that (no prompt).

BTW, if you have the mail repositories on a database, it would be nice
to have the number of connection to be larger than the # of spool
managers. Once I saw "connection exhausted" in the log file (that are
located in /path/to/james/bin; ie: DCB*) and James would operate much
slower. Currently, I have the db connection number to be 75 and 50 spool
managers. I believe that James handles the above perl command pretty all
right.

I don't know why the James POP server is too dependent to the SMTP
server; if the SMTP server is busy, then no POP request would be
handled. 
 
> Ideas????

Try to increase the number of the spool managers and also the number of
the db connections (if you use a database). It depends on the behavior
of your users though. On POP, how many times in an hour do they make POP
requests? The same on SMTP; the number of the spool manager threads
should be adjusted to the (average) number of email sent concurrently by
the users.

Oki

---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org


Re: POP3 hanging....

Posted by Harmeet <ha...@kodemuse.com>.
I used to get POP3 hanging pretty frequently.
After updating to the latest(actually ~ 20th May) James Code and Avalon
framework, the problem reduced. I suspected the problem was due to potential
Thread problems in Avalon and connection manager interaction with it. There
were some fixes made in that area.
Not sure if you are using an older version. If you upgrade the problem could
significantly reduce.

Harmeet
----- Original Message -----
From: "Rod TuK" <ro...@hotmail.com>
To: <ja...@jakarta.apache.org>
Sent: Tuesday, May 29, 2001 9:34 PM
Subject: POP3 hanging....


> Anyone having the same problem? My server (James 1.2.1) works for must
part
> of the day, but sometimes it hangs on POP3 request. After that the only
> thing I can do is to restart the process.
>
> Looking on the errors, the only thing I find is:
>
> ==> avalon.log <==
> 2001.05.29 11:28:36 207 (DEBUG) from Avalon: Block JamesMailServer ask for
a
> org.apache.avalon.blocks.Logger
> 2001.05.29 11:28:36 207 (DEBUG) from Avalon: Block JamesMailServer ask for
a
> org.apache.avalon.blocks.TimeServer
>
> ==> info.log <==
> 2001.05.29 11:28:36 207 (DEBUG) from SocketManager: ServerSocketAcceptor
on
> port 110: request arrived
>
> ==> netfile.log <==
> 2001.05.29 11:28:36 212 (INFO) from POP3: Connection from
> cs6625153-68.austin.rr.com (66.25.153.68)
>
> ==> info.log <==
> 2001.05.29 11:28:36 355 (DEBUG) from TimeManager: Alarm
> org.apache.james.pop3server.POP3Handler@f6235 set by
> org.apache.james.pop3server.POP3Handler@f6235
> 2001.05.29 11:28:36 399 (DEBUG) from TimeManager: Alarm
> org.apache.james.pop3server.POP3Handler@f6235 resetted
>
>
> Ideas????
>
> Thanks
>
> Rod~
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: james-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-user-help@jakarta.apache.org