[tpop3d-discuss]owing to high load - tpop3d

Chris Lightfoot chris at ex-parrot.com
Mon, 23 Jan 2006 23:43:25 +0000


On Mon, Jan 23, 2006 at 09:30:43PM -0300, ana.weidlich@procempa.com.br wrote:
> Hi,
> We used tpop3d in a Red Hat server without problems. Now we migrate to a
> Debian server.
> And we have this problem in log:
> 
> Jan 23 10:08:01 pwmail tpop3d[1846]: listeners_post_select: rejected
> connection from 200.96.103.
> 165 to local address 200.96.103.165:110 owing to high load
> Jan 23 10:08:01 pwmail tpop3d[1846]: listeners_post_select: rejected
> connection from 200.208.131
> .203 to local address 200.208.131.203:110 owing to high load
> 
> The users canīt logon. Itīs too slow.
> 
> We think can be a problem with the max-children. Our config file is the same
> we had on the old Red Hat server:
> listen-address: 0.0.0.0
> max-children: 200
> timeout-seconds: 600
> mailbox: bsd:/var/spool/mail/$(user)
> auth-passwd-enable: true
> log-facility: local6
> authcache-enable: true
> authcache-entry-lifetime: 3600
> mailspool-index: /var/spool/tpop3d-i/$(escaped_name)

That error occurs when there are more than 2 *
max-children connections in the login phase (i.e.,
unauthenticated connections). How many tpop3d child
processes do you typically have? (pgrep tpop3d | wc -l
will give a rough answer.)

You could try increasing the number of pre-authenticated
connections by altering this line of netloop.c:

    max_connections = 2 * max_running_children;

-- 
``I had one [good seventh grade teacher]. Smart, witty, excellent
  communicator, young, and beautiful. Naturally, she fell over
  dead in class from a brain haemorrhage.'' (seen on the internet)