logo       

Re: [Pound Mailing List] FreeBSD and failed requests: msg#00007

web.pound.general

Subject: Re: [Pound Mailing List] FreeBSD and failed requests

On Thu, 2006-05-04 at 11:23 -0700, Scott Larson wrote:
> A rather strange problem I'm having. Searching through the
> archives I see this exact question was asked back in February but got
> no responses. The issue is that the throughput by a server running
> Pound falls flat, and generates failed requests on the magnitude of
> 70-80% by Apache bench, even when performing a request as small as 50
> with 1 concurrent user. If I bypass Pound and direct the requests
> straight to the back end web server, failed requests drop to zero.
> Necessary background info would be that the OS is FreeBSD 6.1-RC2,
> that I get this problem with pound 1.9 out of ports, and that it
> persists even with 2.0.4 built against a separate OpenSSL with
> threading enabled. Since I'd prefer to use 2.x, here's the current
> config:
>
> User "www"
> Group "www"
> LogLevel 2
>
> ListenHTTP
> Address 10.10.10.32
> Port 8080
> End
>
> Service
> BackEnd
> Address 10.10.10.35
> Port 80
> End
> BackEnd
> Address 10.10.10.36
> Port 80
> End
> End
>
> Of note is that despite LogLevel 2, no complaints are showing
> up in /var/log/messages. It logs the startup notification and
> nothing else so I don't have anything useful to include from that at
> the moment. Here's some ab info to illustrate what's going on:
>
> With Pound 2.0.4:
>
> [ stl@grimes : ~ ] $ ab -k -n 50 -c 1 http://192.168.0.205/
> ...
> Concurrency Level: 1
> Time taken for tests: 0.188027 seconds
> Complete requests: 50
> Failed requests: 40
> Requests per second: 265.92 [#/sec] (mean)
> ...
>
> Without Pound 2.0.4:
>
> [ stl@grimes : ~ ] $ ab -k -n 50 -c 1 http://192.168.0.205/
> ...
> Concurrency Level: 1
> Time taken for tests: 0.45350 seconds
> Complete requests: 50
> Failed requests: 0
> Requests per second: 1102.54 [#/sec] (mean)
> ...

Something must show in the log files - at the very least the 50
requests, together with their status. You may want to try LogLevel 4 for
a more verbose display.

In any case I'd be curious to see what a "failed" request means: was
there no response, or a wrong response, or perhaps a 5xx response?

More info required...
--
Robert Segall
Apsis GmbH
Postfach, Uetikon am See, CH-8707
Tel: +41-44-920 4904


--
To unsubscribe send an email with subject 'unsubscribe' to
pound-Ws3YcLWMCpvhvxM+mQhndA@xxxxxxxxxxxxxxxx
Please contact roseg-Ws3YcLWMCps@xxxxxxxxxxxxxxxx for questions.
http://www.apsis.ch/pound/pound_list/archive/2006/2006-05/1146767005000/1146847643000



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise