You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Nathan Neulinger <nn...@umr.edu> on 1996/07/09 15:20:41 UTC

Problem with apache interaction with shakey file system

We run our web servers off of AFS. Currently, the code is local, but the 
server root is in AFS, logs is a symlink to a local filesystem.

Every once in a while we'll have an AFS server outage, which will cause 
the file system to go away for a short time.

Unfortunately, apache accesses the scoreboard file through the logs 
symlink located in AFS. When it fails to access the scoreboard file, it 
starts sucking CPU. (This is on a HP-UX 9.0.5 machine.)

What I'd like to see if it's possible would be some way to cause apache 
to temporarily revert to a 1-server model when it cannot access the 
scoreboard file. It should obviously try to reattempt to access the 
scoreboard file every so often... 

Even having apache exit if it cannot access the scoreboard file would be 
better than it eating cpu time.

-- Nathan

------------------------------------------------------------
Nathan Neulinger                  Univ. of Missouri - Rolla
EMail: nneul@umr.edu                    Computer Center
WWW: http://www.umr.edu/~nneul      SysAdmin: rollanet.org

Re: Problem with apache interaction with shakey file system

Posted by Alexei Kosut <ak...@organic.com>.
On Tue, 9 Jul 1996, Nathan Neulinger wrote:

> Unfortunately, apache accesses the scoreboard file through the logs 
> symlink located in AFS. When it fails to access the scoreboard file, it 
> starts sucking CPU. (This is on a HP-UX 9.0.5 machine.)
> 
> What I'd like to see if it's possible would be some way to cause apache 
> to temporarily revert to a 1-server model when it cannot access the 
> scoreboard file. It should obviously try to reattempt to access the 
> scoreboard file every so often... 

Why not just do

ScoreBoardFile /some/other/directory/not/afs/mounted/apache_status

?

-- Alexei Kosut <ak...@organic.com>            The Apache HTTP Server 
   http://www.nueva.pvt.k12.ca.us/~akosut/      http://www.apache.org/