Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

EnableSendfile infinite loop

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  script security question  
Author Message
Philip

External


Since: May 18, 2005
Posts: 4



(Msg. 1) Posted: Wed Jul 13, 2005 11:55 pm
Post subject: EnableSendfile infinite loop
Archived from groups: alt>apache>configuration (more info?)

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.

Setting "EnableSendfile Off" fixes this behavior, but then that sort of
loses the point of fast static content delivery.

Anyone seen this problem and have cure?

If not, whose bug is this? Apache, BEA or HP?

Phil

 >> Stay informed about: EnableSendfile infinite loop 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 2) Posted: Thu Jul 14, 2005 6:55 pm
Post subject: Re: EnableSendfile infinite loop [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"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 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Help! RewriteEngine is causing an infinite loop. - I am trying to forward all requests for billing.jsp on port 80 to go to port 443. Everything else I want to ensure will go to port 80. Here is the code I am using in httpd.conf I have this towards the top of the file. LoadModule rewrite_module..

httpd setup to switch between 80 and 443 causing an infini.. - Hello, I'm trying to setup Apache to test a simple AppServer application which consists of 2 pages which are reached as follows: localhost/testApp/test.portal?_pageLabel=clearTextPage localhost/testApp/test.portal?_pageLabel=httpsslSecurePage When a..

AliasMatch help please (stopping infinite loops) - Alias /login/domain.com /var/www/html/secure/login Behaviour: Type in https://secure.host.com/login/domain.com Shows the index.php under the login directory I'd like to make this generic so that: https://secure.host.com/login/[WHATEVERDOMAIN] is..

proxy loop - Hi i'm using a FC2 with Apache 2.0.53 and Webmin/Virtualmin Everything is ok but the alias virtual server in virtualmin When i make an alias server for one existing web server via virtualmin, all my server suddendly reply: --------------------- Proxy....

Mod_rewrite [N] and postfix loop - Hi, I try to rewrite /-/var1=val1/var2=val2/ ... /varN=valN/ to test.php?var1=val1&var2=val2 ... &varN=valN with this : RewriteEngine on RewriteRule -(/.+)/([^/=]+)=([^/=&]*)([^/]*)/ -$1&$2=$3$4 [N] RewriteRule -/([^/=]+)=([^/=]*)(.*) ...
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]