public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Baurzhan Ismagulov <ibr@radix50.net>
To: linux-kernel@vger.kernel.org
Cc: msushchi@thermawave.com
Subject: Re: Help: error 514 in select()
Date: Thu, 24 Aug 2006 01:22:37 +0200	[thread overview]
Message-ID: <20060823232237.GI23435@radix50.net> (raw)
In-Reply-To: <s4ea002d.084@smtp.thermawave.com>

Hello Misha,

On Mon, Aug 21, 2006 at 06:49:03PM -0700, Misha Sushchik wrote:
> 1) I do not know when this problem first appeared (or, re-appeared, as
> I can see from searching the web). If we knew the latest version where
> this problem was not, we would consider just going back to that
> version, instead of waiting for the bug to be fixed.

It would be fairly easy to find out once you have (2) solved.


> 2) I do not have a sensible way of reproducing this error in a short
> time. It may take a few days of running our application in order for
> it to fail in this way. This is killing us (timewise) in testing
> possible solutions.

I would start with the following:

1. Do you know all signals sent to the process in question by itself or
   by other processes? Can you log them?

2. Have you tried the patch from my last mail?

This may help to understand how the problem can be reproduced. My
current assumption is, your process calls select(2), a signal arrives,
ERESTARTNOHAND is not replaced with EINTR and the former is leaked to
the user space; you have to find out where the return value should be
replaced, and make it happen. If there are many ERESTARTNOHANDs during
the normal operation, printing the stack just before returning to user
space could help further.


> The latest kernel we had this reproduced with was 2.6.17.

Good to know! I assume you haven't tried 2.6.17.10, right? Although,
after a quick skimming through the changes since 2.6.17, I haven't seen
anything that could be relevant.


With kind regards,
Baurzhan.

       reply	other threads:[~2006-08-23 23:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <s4ea002d.084@smtp.thermawave.com>
2006-08-23 23:22 ` Baurzhan Ismagulov [this message]
2006-08-22  1:49 Help: error 514 in select() Misha Sushchik
     [not found] <s4e61722.051@smtp.thermawave.com>
2006-08-19 10:05 ` Baurzhan Ismagulov

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=20060823232237.GI23435@radix50.net \
    --to=ibr@radix50.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=msushchi@thermawave.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