Re: [us...@httpd] Apache is slow at accepting connections

2010-02-07 Thread Sandro Tosi
Hello, we managed to fix this problem by setting: net.ipv4.tcp_syncookies=1 net.ipv4.tcp_tw_reuse=1 kernel params. tcp_syscookies is enough but since we had several connections in TIME_WAIT, we read tcp_tw_reuse helps those be reused more efficiently. HTH, Sandro Sandro Tosi wrote: Hello,

Re: [us...@httpd] Apache is slow at accepting connections

2010-02-02 Thread Sandro Tosi
Hi Daniel, thanks for your reply. Daniel Reinhardt wrote: We are running Apache as a reverse proxy for a JBoss instance, so we can expect almost no memory leak, so we'll try either with 0 or with a very high value. Sandro, We use various applications at work that use JBoss, and I see th

Re: [us...@httpd] Apache is slow at accepting connections

2010-02-02 Thread Daniel Reinhardt
-- From: "Sandro Tosi" Sent: 02 February, 2010 15:58 To: Subject: Re: [us...@httpd] Apache is slow at accepting connections We are running Apache as a reverse proxy for a JBoss instance, so we can expect almost no memory leak, so

Re: [us...@httpd] Apache is slow at accepting connections

2010-02-02 Thread Sandro Tosi
Hello Jeff, thanks a lot for your insightful reply! Jeff Trawick wrote: On Tue, Feb 2, 2010 at 8:59 AM, Sandro Tosi wrote: Hello, we have a rather busy Apache web server (~200/300 contemporary connections). There are time when Apache is really slow at letting client connects to it. For exam

Re: [us...@httpd] Apache is slow at accepting connections

2010-02-02 Thread Sandro Tosi
Hello Emmanuel, thanks for your reply. Emmanuel Bailleul wrote: Hi, Couldn't this latency come from dns lookups ? If that's the case, I'd expect to see the delay at each request; I do my tests on a single machine and I see results with no delay, 3 secs delay, 9 secs delay and conn-timeout.

Re: [us...@httpd] Apache is slow at accepting connections

2010-02-02 Thread Jeff Trawick
On Tue, Feb 2, 2010 at 8:59 AM, Sandro Tosi wrote: > Hello, > we have a rather busy Apache web server (~200/300 contemporary connections). > There are time when Apache is really slow at letting client connects to it. > For example, with curl, I see: > > 02:05:17.885074 == Info: About to connect()

RE: [us...@httpd] Apache is slow at accepting connections

2010-02-02 Thread Emmanuel Bailleul
> -Message d'origine- > De : Sandro Tosi [mailto:sandro.t...@register.it] > Envoyé : mardi 2 février 2010 15:00 > À : users@httpd.apache.org > Objet : [us...@httpd] Apache is slow at accepting connections > > Hello, > we have a rather busy Apache web server (~200/300 contemporary > connect