Aaron Bannert wrote: > If I get a chance I'll try to add the > APR_INCOMPLETE_foo state you were talking about. Is there a reason we > don't just call sendfile in blocking mode?
Your question about blocking mode has got me thinking more about this. It sure would be nice if we could persuade TCP to time out the connection if the client disappears. Maybe it does already; maybe we need to set some sockopts; I don't know. Besides getting rid of a lot of sendfile syscalls, that would get rid of a lot of selects with timeouts, which should reduce the size of our remaining thundering herd. Well, it's not really thundering any more, it's more of a distant rumble. Remember that Justin commented about seeing a run queue size of 50 on daedalus? (actually, it goes up into the 60's fairly regularly.) I'll bet nearly half of those are due to selects for people doing big downloads. Greg
