tpop3d-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tpop3d-discuss] long login delay


From: Chris Lightfoot
Subject: Re: [tpop3d-discuss] long login delay
Date: Wed, 7 Jan 2004 14:37:54 +0000
User-agent: Mutt/1.4i

On Tue, Jan 06, 2004 at 12:54:40PM +0100, Ian Armstrong  wrote:
> 
> On 06-Jan-2004, Chris Lightfoot <address@hidden> wrote: 
> 
> |which version? how heavily loaded is the server? anything
> |interesting in the logs?
> 
> I am using the latest version "tpop3d-1.5.3". My server does not have a
> heavy load, I only have a few active users. The 
> logs seem to be normal. Here is a sample just after I logged in:

I am confused by this:

> bash-2.05b# tail -n 20 /var/log/mail
    [...]
> Jan  6 12:38:33 server tpop3d[5936]: listeners_post_select: client 
> [6]127.0.0.1/expressmail.dk: connected to local address 127.0.0.1:110
> Jan  6 12:38:33 server tpop3d[5936]: authcontext_new_user_pass: began session 
> for address@hidden' with mysql; uid 8, gid 12
> Jan  6 12:38:33 server tpop3d[5936]: fork_child: address@hidden(127.0.0.1): 
> began session for address@hidden' with mysql; child PID is 5940
> Jan  6 12:38:33 server tpop3d[5940]: maildir_new: scanned maildir 
> /home/vmail/expressmail.dk/i/ika/ (92 messages) in 0.002s
> Jan  6 12:38:34 server tpop3d[5940]: connections_post_select: client 
> address@hidden(127.0.0.1): finished session for address@hidden' with mysql
> Jan  6 12:38:34 server tpop3d[5940]: connections_post_select: client 
> address@hidden(127.0.0.1): disconnected; 73/4871 bytes read/written

This whole session lasts somewhere between one and two
seconds, from the time the client connects to the time
that the client logs out, having completed the session.
Is the long delay something you're observing in your web
mail front end?

The other sessions in your log extract seem to be about
the same length.

> Until now I have been using Courier which uses a filesystem pipe to
> connect to mysql:"MYSQL_SOCKET /tmp/mysql.sock". The 
> only thing I can think of, is that the delay lies in my network setup.
> Instead of the pipe, tpop3d is using TCP, and 
> this is causing the delay. I am using a webmail client, and the reason I
> think this, is that I get the "waiting" message 
> when I try to log in: "waiting for www.expressmail.dk". 

unlikely -- per above, there doesn't seem to be a
significant delay between connecting and authentication by
MySQL.

-- 
``We apologise for the lack of seats. This is due to the volume of passengers.''
  (announcement on train)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]