* linux-2.4.19-pre6aa1 sendfile problem
@ 2002-08-18 21:43 Magnus Naeslund(w)
0 siblings, 0 replies; only message in thread
From: Magnus Naeslund(w) @ 2002-08-18 21:43 UTC (permalink / raw)
To: linux-kernel
Short story:
sendfile() seems to (sometimes) exit my app using linux-2.4.19-pre6aa1 on
alpha (EV56).
Short questions:
Do you know of any trouble that could cause this, like is this a known
bug in kernel X.Y.Z ?
Long story:
I have a server process that's started in a inetd kind of way.
It uses sendfile for sending entire small files (~230-250kb a pice).
Recently i added some accounting using shared memory.
It failed miserably because it didn't always exit via the cleanup
functions (i use atexit() and signal() to trap that exit).I hunted for bugs in my code for some hours, then i noticed that when i
logged "before sendfile" and "after sendfile" sometimes only the"before" thing showed up.
So to help this i'll probably do a wrapper for sendfile using std write(),
but i sure want to use sendfile if i can.
Does anyone have any ideas about this?
Regards
Magnus Naeslund
no .sig
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-08-18 21:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-18 21:43 linux-2.4.19-pre6aa1 sendfile problem Magnus Naeslund(w)
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®