/ Zope / Apsis / Pound Mailing List / Archive / 2004 / 2004-12 / Slow startup

[ << ] [ >> ]

[ Pound fails on Fedora Core1 / Garrison Hoffman ... ] [ Max connections, dos detection like ... ]

Slow startup
"Dean Maunder" <deanmaunder(at)telstra.com>
2004-12-16 10:25:21 [ FULL ]
Hi all,
I have just upgraded Pound from 1.4 to 1.8 and have noticed now that Pound
takes about 30secs to startup as opposed to the 5 secs it took previously.
Ive moved all the servers from Redhat 9 to Debian Woody and Im wondering if
anyone else has experienced this startup delay?
Has anything changed that would cause this delay, or is there anything I can
do to see why its taking so long.
Thanks
Dean

RE: Slow startup
"Dean Maunder" <deanmaunder(at)telstra.com>
2004-12-16 10:47:31 [ FULL ]
I should have posted my config...here tis.....
ListenHTTP 192.168.10.15,80
ListenHTTPS 192.168.10.15,443 /etc/pound/pound.pem
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
LogLevel 0
Err500 "/etc/pound/error.html"
Err501 "/etc/pound/error.html"
Err503 "/etc/pound/error.html"
Err414 "/etc/pound/error.html"
Alive 5

UrlGroup ".*"
HeadRequire Host ".*sitea.mysite.com.*"
BackEnd 192.168.10.7,80,1
BackEnd 192.168.10.5,80,1
# To redirect all to offline pages comment out the two lines above and
uncomment the line below
#BackEnd 192.168.0.21,80,9
Session IP 60
EndGroup

UrlGroup ".*"
HeadRequire Host ".*siteb.mysite.com.*"
BackEnd 192.168.10.7,80,1
BackEnd 192.168.10.5,80,1
# To redirect all to offline pages comment out the two lines above and
uncomment the line below
#BackEnd 192.168.0.21,80,9
Session IP 60
EndGroup

UrlGroup ".*"
HeadRequire Host ".*admin.mysite.com.*"
BackEnd 192.168.10.7,80,1
BackEnd 192.168.10.5,80,1
EndGroup

UrlGroup ".*"
HeadRequire Host ".*reports.mysite.com.*"
BackEnd 192.168.0.21,80,1
EndGroup

UrlGroup ".*"
HeadRequire Host ".*testing.mysite.com.*"
BackEnd 192.168.0.21,80,1
EndGroup

UrlGroup ".*"
HeadRequire Host ".*sitec.mysite.com.*"
BackEnd 192.168.10.7,80,1
BackEnd 192.168.10.5,80,1
EndGroup

UrlGroup ".*"
HeadRequire Host ".*sited.mysite.com.*"
BackEnd 192.168.10.7,80,1
BackEnd 192.168.10.5,80,1
EndGroup

UrlGroup ".*"
HeadRequire Host ".*sitee.mysite.com.*"
BackEnd 192.168.0.21,80,1
EndGroup 



-----Original Message-----
From: Corin Langosch [mailto:corinl(at)gmx.de] 
Sent: Thursday, 16 December 2004 7:40 PM
To: Dean Maunder
Subject: Re: Slow startup

Hi!

may be you use domains and not directly ip-adresses and your dns-servers are
really slow. so on startup pound has to resolve the domains and that takes a
while...

Corin

Thursday, December 16, 2004, 10:25:21 AM, you wrote:
DM>  
DM> Hi all,
DM> I have just upgraded Pound from 1.4 to 1.8 and have noticed now that 
DM> Pound takes about 30secs to startup as opposed to the 5 secs it took 
DM> previously.
DM> Ive moved all the servers from Redhat 9 to Debian Woody and Im 
DM> wondering if anyone else has experienced this startup delay?
DM> Has anything changed that would cause this delay, or is there 
DM> anything I can do to see why its taking so long.
DM> Thanks
DM> Dean
DM>  

Re: Slow startup
Robert Segall <roseg(at)apsis.ch>
2004-12-16 21:18:47 [ FULL ]
On Thursday 16 December 2004 10.25, Dean Maunder wrote:[...]

Since 1.4 we have added support for ephemeral RSA keys (very much needed by 
certain clients, such as some versions of IE) which are generated on startup. 
That is an expensive operation in terms of CPU cycles and may well explain 
the delay you see.[...]

MailBoxer