From: Manfred Spraul <manfred@colorfullife.com>
To: Luca Tettamanti <kronos.it@gmail.com>
Cc: Christoph Lameter <cl@linux-foundation.org>,
linux-kernel@vger.kernel.org, Julia Lawall <julia@diku.dk>,
Andrew Morton <akpm@linux-foundation.org>,
maciej.rutecki@gmail.com
Subject: Re: 2.6.35-rc3 deadlocks on semaphore operations
Date: Fri, 02 Jul 2010 17:53:20 +0200 [thread overview]
Message-ID: <4C2E0B70.9090607@colorfullife.com> (raw)
In-Reply-To: <AANLkTilm19O8nPGHSzExdCOPWR2Cridxq_sjs_uRkd8E@mail.gmail.com>
Hi Luca,
On 06/26/2010 02:52 PM, Luca Tettamanti wrote:
> They don't seem really hung as before, I see two different behaviours:
> * Near the end of the run ab is frozen for a few seconds, but in the
> end all requests are processed; however I see a few "length" errors,
> meaning that the received page does not match the expected content
> (I'm testing a static page):
>
> Concurrency Level: 100
> Time taken for tests: 14.682 seconds
> Complete requests: 10000
> Failed requests: 10
> (Connect: 0, Receive: 0, Length: 10, Exceptions: 0)
> Write errors: 0
> Total transferred: 79987946 bytes
> HTML transferred: 77190466 bytes
> Requests per second: 681.11 [#/sec] (mean)
> Time per request: 146.819 [ms] (mean)
> Time per request: 1.468 [ms] (mean, across all concurrent requests)
> Transfer rate: 5320.36 [Kbytes/sec] received
>
> Connection Times (ms)
> min mean[+/-sd] median max
> Connect: 0 1 0.4 0 3
> Processing: 3 29 428.9 15 14678
> Waiting: 0 15 1.3 15 19
> Total: 5 30 429.0 16 14682
> ERROR: The median and mean for the initial connection time are more
> than twice the standard
> deviation apart. These results are NOT reliable.
> Percentage of the requests served within a certain time (ms)
> 50% 16
> 66% 17
> 75% 17
> 80% 17
> 90% 17
> 95% 17
> 98% 18
> 99% 18
> 100% 14682 (longest request)
>
> strace on apache shows:
> [pid 3787] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
> [pid 3789] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
> [pid 3788] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
> [pid 3784] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
> [pid 3783] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
> [pid 3782] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
> [pid 3239] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
> [pid 3233] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
> [pid 3238] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
> [pid 3237] restart_syscall(<... resuming interrupted call ...>
>
>
> * Sometimes ab pauses at the end but not all requests are successful; ab says:
>
> apr_socket_recv: Connection timed out (110)
> Total of 9932 requests completed
>
> The problem seems more acute if there's other application running on
> the system (e.g. right now I have kde, firefox, thunderbird active and
> I see more errors; note that nothing is using much CPU time). I've
> taken a sysrq-t log during one of ab pauses, it's attached.
>
>
On my system,
#ab -n 100000 -c 1000 http://127.0.0.1/icons/poweredby.png
Also produces hangs/failures. But this happens regardless of the kernel
version:
Stock 2.6.33, 2.6.33.5 from Fedora, 2.6.35-rc3, 2.6.35-rc3 with the
semop changes reverted.
Thus I'd propose to close the current bug.
The IN_WAKEUP fix fixes the semop() and especially semtimedop() failures.
--
Manfred
next prev parent reply other threads:[~2010-07-02 16:10 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-18 14:49 2.6.35-rc3 deadlocks on semaphore operations Christoph Lameter
2010-06-18 14:56 ` Christoph Lameter
2010-06-19 14:43 ` Manfred Spraul
2010-06-21 14:31 ` Christoph Lameter
2010-06-21 16:52 ` Manfred Spraul
2010-06-21 17:13 ` Christoph Lameter
2010-06-18 15:34 ` Julia Lawall
2010-06-19 11:06 ` Manfred Spraul
2010-06-21 17:05 ` Christoph Lameter
2010-06-21 17:16 ` Christoph Lameter
2010-06-21 18:05 ` 2.6.35-rc3 deadlocks on wakeup(?) (was on semaphore operations) Christoph Lameter
2010-06-20 6:55 ` 2.6.35-rc3 deadlocks on semaphore operations Maciej Rutecki
2010-06-21 20:01 ` Luca Tettamanti
2010-06-23 16:29 ` Manfred Spraul
2010-06-23 19:14 ` Luca Tettamanti
2010-06-24 19:22 ` Luca Tettamanti
2010-06-25 21:09 ` Manfred Spraul
2010-06-26 12:52 ` Luca Tettamanti
2010-06-26 15:47 ` 2.6.35-rc3: System unresponsive under load Manfred Spraul
2010-06-26 15:49 ` Manfred Spraul
2010-06-26 16:47 ` Luca Tettamanti
2010-06-30 19:07 ` Manfred Spraul
2010-07-06 16:01 ` Luca Tettamanti
2010-07-07 19:34 ` Luca Tettamanti
2010-07-02 15:53 ` Manfred Spraul [this message]
2010-06-23 20:27 ` 2.6.35-rc3 deadlocks on semaphore operations Christoph Lameter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C2E0B70.9090607@colorfullife.com \
--to=manfred@colorfullife.com \
--cc=akpm@linux-foundation.org \
--cc=cl@linux-foundation.org \
--cc=julia@diku.dk \
--cc=kronos.it@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maciej.rutecki@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox