httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Coulter, Ryan" <rcoul...@healtheast.org>
Subject Re: [users@httpd] Help with Apache 2 problem on AIX 5.3
Date Mon, 27 Aug 2007 17:03:45 GMT
Thank you, Eric. I had tried this in my experiments as well, without much
luck. However, your comment led me to a page
(http://publib.boulder.ibm.com/httpserv/ihsdiag/questions.html) which
described the network buffer cache in AIX and its association with AIX's
send_file routine. What is baffling me now is that setting "EnableSendfile
off" does nothing to alleviate the problem, but if I set the network buffer
cache size to 0 (no -o nbc_limit=0), the problem goes away. I consequently
tried setting it to 0, setting "EnableSendfile off", restarting Apache and
then setting nbc_limit back to its previous setting. The problem returned,
even with EnableSendfile turned off. As long as the network buffer cache is
set to 0, I don't have any problems.

So, at least I now know what seems to be the general source of the problem,
but does anyone know how to correct the behavior of EnableSendfile?
According to the page referenced above for IHS, this directive should
prevent Apache from using send_file and consequently prevent any static file
from being added to the network buffer cache. But that doesn't seem to be
the case in my experience today.

Any other thoughts?

Ryan Coulter


> From: Eric Covener <covener@gmail.com>
> Reply-To: <users@httpd.apache.org>
> Date: Mon, 27 Aug 2007 11:41:27 -0400
> To: <users@httpd.apache.org>
> Subject: Re: [users@httpd] Help with Apache 2 problem on AIX 5.3
> 
> On 8/27/07, Coulter, Ryan <rcoulter@healtheast.org> wrote:
>> 
>>  (My apologies for sending this earlier with no subject.)
>> 
>>  Hello. I am stumped by a problem I'm having with Apache 2 and IHS 2 on AIX
>>  5.3. I have tried this scenario with both a custom compiled Apache 2.2.4 as
>>  well as IHS 2.0.47. In both cases, the behavior is identical. Using Apache
>>  1.3, I don't have the problem. I have been researching the problem for
>>  several days, but can not find any issue that describes the behavior I'm
>>  seeing. The problem is as follows:
>> 
>>  I request index.html from the webserver and receive it properly in my
>>  browser. I then log onto the server, edit the file with vi, save it and
>>  exit. Then I return to my browser and request index.html again and it
>>  appears as though nothing has changed. My edit does not show up. Sometimes,
>>  after making an edit, I try to open the page in my browser and receive a
>>  message that the browser couldn't reach the server.
> 
> Try disabling sendfile (EnableSendfile off) or asking AIX support what
> it takes (apar-wise) to get AIX to recognize a change in the
> filesystem when sendfile is enabled.
> 
> -- 
> Eric Covener
> covener@gmail.com
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 



The information included in this e-mail message, including any attachments, is intended only
for the person or organization to which it is addressed. This e-mail message may contain information
that is privileged or confidential. If you receive this e-mail message and are not the intended
recipient or responsible for delivering the message to the intended recipient, you may not
use, disseminate, distribute or copy the information included in this e-mail and any attachments.
If you received this e-mail message by mistake, please reply by e-mail and destroy all copies
of this message and any attachments. Thank you.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message