* Re: accept() fails with EINTER
[not found] <3B6CS-3oH-23@gated-at.bofh.it>
@ 2005-02-23 23:29 ` Robert Hancock
0 siblings, 0 replies; 4+ messages in thread
From: Robert Hancock @ 2005-02-23 23:29 UTC (permalink / raw)
To: linux-kernel
linux-os wrote:
>
> Trying to run an old server with a new kernel. A connection
> fails with "interrupted system call" as soon as a client
> attempts to connect. A trap in the code to continue
> works, but subsequent send() and recv() calls fail in
> the same way.
>
> Anybody know how to mask that SIGIO (or whatever signal)?
> Setting signal(SIGIO, SIG_IGN) doesn't do anything useful.
Well, knowing what signal it actually is would help.. tried running it
in a debugger?
^ permalink raw reply [flat|nested] 4+ messages in thread
* accept() fails with EINTER
@ 2005-02-23 15:24 linux-os
2005-02-24 16:46 ` Folkert van Heusden
0 siblings, 1 reply; 4+ messages in thread
From: linux-os @ 2005-02-23 15:24 UTC (permalink / raw)
To: Linux kernel
Trying to run an old server with a new kernel. A connection
fails with "interrupted system call" as soon as a client
attempts to connect. A trap in the code to continue
works, but subsequent send() and recv() calls fail in
the same way.
Anybody know how to mask that SIGIO (or whatever signal)?
Setting signal(SIGIO, SIG_IGN) doesn't do anything useful.
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: accept() fails with EINTER
2005-02-23 15:24 linux-os
@ 2005-02-24 16:46 ` Folkert van Heusden
2005-02-24 17:07 ` linux-os
0 siblings, 1 reply; 4+ messages in thread
From: Folkert van Heusden @ 2005-02-24 16:46 UTC (permalink / raw)
To: linux-os; +Cc: Linux kernel
> Trying to run an old server with a new kernel. A connection
> fails with "interrupted system call" as soon as a client
> attempts to connect. A trap in the code to continue
> works, but subsequent send() and recv() calls fail in
> the same way.
Weren't you supposed to just 'try again' when receiving EINTR (or
EAGAIN)?
Folkert van Heusden
Op zoek naar een IT of Finance baan? Mail me voor de mogelijkheden!
+------------------------------------------------------------------+
|UNIX admin? Then give MultiTail (http://vanheusden.com/multitail/)|
|a try, it brings monitoring logfiles to a different level! See |
|http://vanheusden.com/multitail/features.html for a feature list. |
+------------------------------------------= www.unixsoftware.nl =-+
Phone: +31-6-41278122, PGP-key: 1F28D8AE
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: accept() fails with EINTER
2005-02-24 16:46 ` Folkert van Heusden
@ 2005-02-24 17:07 ` linux-os
0 siblings, 0 replies; 4+ messages in thread
From: linux-os @ 2005-02-24 17:07 UTC (permalink / raw)
To: folkert; +Cc: Linux kernel
On Thu, 24 Feb 2005 folkert@vanheusden.com wrote:
>> Trying to run an old server with a new kernel. A connection
>> fails with "interrupted system call" as soon as a client
>> attempts to connect. A trap in the code to continue
>> works, but subsequent send() and recv() calls fail in
>> the same way.
>
> Weren't you supposed to just 'try again' when receiving EINTR (or
> EAGAIN)?
>
Absolutely. However it's an old server that used to work with
2.4.22 and before. I don't want to have to rewrite everything
and.... Why should send() recv() read() write(), etc. always
get an EINTR everytime something uses them? It doesn't happen
on other systems.
I think that something is supposed to be masked OFF that
isn't being masked OFF
>
> Folkert van Heusden
>
> Op zoek naar een IT of Finance baan? Mail me voor de mogelijkheden!
> +------------------------------------------------------------------+
> |UNIX admin? Then give MultiTail (http://vanheusden.com/multitail/)|
> |a try, it brings monitoring logfiles to a different level! See |
> |http://vanheusden.com/multitail/features.html for a feature list. |
> +------------------------------------------= www.unixsoftware.nl =-+
> Phone: +31-6-41278122, PGP-key: 1F28D8AE
>
Cheers,
Dick Johnson
Penguin : Linux version 2.6.10 on an i686 machine (5537.79 BogoMips).
Notice : All mail here is now cached for review by Dictator Bush.
98.36% of all statistics are fiction.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-02-24 17:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <3B6CS-3oH-23@gated-at.bofh.it>
2005-02-23 23:29 ` accept() fails with EINTER Robert Hancock
2005-02-23 15:24 linux-os
2005-02-24 16:46 ` Folkert van Heusden
2005-02-24 17:07 ` linux-os
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox