Re: 2.6.25: random stalls on certain hardware - regression?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Oliver Neukum <oliver@...>
Cc: Linux-kernel <linux-kernel@...>
Date: Thursday, July 10, 2008 - 3:11 am

Oliver Neukum wrote:

[hard hangs in 2.6.25+ may be related to select()]

I wrote a small program that opens/closes tcp and unix sockets at random,
does listen() on them and select()s them with zero timeout, with short
sleep()s in between - so that most of the time it will be in sleep(),
and only for a short time in select() and other syscalls.  So if strace
will show it hanged in sleep() (most "active") we can't prove anything,
and if it will hand in select().... well... we can't prove anything
either, really... ;)  I think.  Today night it hanged again, now with
2.6.26-pre9 kernel, but I wasn't able to see the strace output unfortunately.
Will re-try again tonight.

The question here is if it all really worth the effort.  The thing is that
we cant prove anything either way, because if it were hanged in sleep() it
may be due to some OTHER program were in "bad" select() at that time, or
if strace showed it hanged in select(), it may be that some other part of
the system hanged at that time (but this is less likely still, as select()
timeframe is very small compared with sleep() timeframe).

Thanks!

/mjt
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
2.6.25: random stalls on certain hardware - regression?, Michael Tokarev, (Tue Jul 8, 5:56 pm)
Re: 2.6.25: random stalls on certain hardware - regression?, Michael Tokarev, (Thu Jul 10, 3:04 am)
Re: 2.6.25: random stalls on certain hardware - regression?, Michael Tokarev, (Tue Aug 12, 6:21 am)
Re: 2.6.25: random stalls on certain hardware - regression?, Michael Tokarev, (Thu Jul 10, 3:11 am)