From: "Phil Endecott" <phil_wueww_endecott@chezphil.org>
To: "Jiri Slaby" <jirislaby@gmail.com>
Cc: <linux-kernel@vger.kernel.org>, " Frederik Deweerdt" <deweerdt@free.fr>
Subject: Re: strace, accept(), ERESTARTSYS and EINTR
Date: Sat, 05 Jan 2008 14:24:35 +0000 [thread overview]
Message-ID: <1199543075452@dmwebmail.japan.chezphil.org> (raw)
In-Reply-To: <477F6B23.3050108@gmail.com>
Jiri Slaby wrote:
> On 01/05/2008 11:31 AM, Jiri Slaby wrote:
>> Do not remove CCed people.
>>
>> On 01/05/2008 02:38 AM, Phil Endecott wrote:
>>> timezone go and play with http://demos.anyterm.org/bastet/anyterm.html
>>> while I sleep....
>>
>> Service Temporarily Unavailable
It failed at 0325 GMT thanks to the many of you who played, but
unfortunately it was an assert somewhere unrelated that failed. I'll
start it up again shortly.
> bastet? the tetris in which you always get the worst block you can get at the
> moment :)?
That's the one! At the time it was the only game that worked with my
VT100-to-HTML conversion.
> Do you serve the pages by the code which causes the problems?
Yes.
> Could we see more of the server's code, even with multi-threading, which you
> mentioned etc.
It's all here: https://svn.chezphil.org/anyterm/trunk/daemon/
In particular: https://svn.chezphil.org/libpbe/trunk/src/Daemon.cc
However, there's a lot of code and I know that there are bugs in it. I
just want to focus on the kernel-related issue that the strace fragment
that I posted brings up: even if my user code gets completely screwed
up (corrupts its stack, runs out of FDs/VM/threads etc), I don't think
that I should see in the strace output that accept() has returned
ERESTARTSYS. I should always see accept() returning a legitimate
result before seeing that thread doing the next syscall. Right?
Cheers, Phil.
next prev parent reply other threads:[~2008-01-05 14:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-04 21:01 Phil Endecott
2008-01-04 22:55 ` Jiri Slaby
2008-01-04 23:52 ` Phil Endecott
2008-01-05 1:06 ` Frederik Deweerdt
2008-01-05 1:38 ` Phil Endecott
2008-01-05 10:31 ` Jiri Slaby
2008-01-05 11:33 ` Jiri Slaby
2008-01-05 14:24 ` Phil Endecott [this message]
2008-01-05 16:38 ` Andreas Schwab
2008-01-05 18:18 ` Phil Endecott
2008-01-05 19:19 ` Andreas Schwab
2008-01-05 19:35 ` Phil Endecott
2008-01-05 19:50 ` Andreas Schwab
2008-01-05 15:03 ` Andi Kleen
2008-01-05 17:02 ` Jiri Slaby
2008-01-05 18:42 ` Phil Endecott
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=1199543075452@dmwebmail.japan.chezphil.org \
--to=phil_wueww_endecott@chezphil.org \
--cc=deweerdt@free.fr \
--cc=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®