"Philip" <no_one DeleteThis @nowhere.net> schreef in bericht
news:kqkBe.2086$_%4.963@newssvr14.news.prodigy.com...
> We are using an apache 2.0 with a BEA weblogic plugin for a static
> content server front-end to a weblogic 7 jsp server. The host is a HP-UX
> 11.0 box.
>
> We have had problems wherein the apache worker threads go into infinite
> loops. The gdb stack trace indicate they are looping within
> sendfile(2).The condition seems to be triggered more often when the
> weblogic server is under moderate load.
Try good old prefork ...
> Setting "EnableSendfile Off" fixes this behavior, but then that sort of
> loses the point of fast static content delivery.
HPUX inplemetation of sendfile differs from the Linux way
> If not, whose bug is this? Apache, BEA or HP?
This directive controls whether httpd may use the sendfile support from the
kernel to transmit file contents to the client. By default, when the
handling of a request requires no access to the data within a file -- for
example, when delivering a static file -- Apache uses sendfile to deliver
the file contents without ever reading the file if the OS supports it.
I'ld say, given the results of 'EnableSendfile Off', BEA is most unlikely
the cause
So, it's looks like an issue between Apache2 and HP-UX-11...
.... for years Google shows.
HansH
--
Do not mention compatibility, unless fearing its absence
>> Stay informed about: EnableSendfile infinite loop