Joshua Slive wrote:
On Tue, Feb 26, 2008 at 6:22 AM, Rudy Gevaert <[EMAIL PROTECTED]> wrote:
Hello,

 At our site we are running several Apache2 (Debian Etch) installations.
  These our mounting a NFS share (Netapp).  The Apache webservers are
 behind a Linux Virtual server setup.

 Sometimes we see that one of the apache webservers is hung.  It still
 listens on port 80 but doesn't do anything with the incoming
 connections.  Only restarting apache fixes it.

 When I do a strace on the apache processes I see:
 flock(14, LOCK_EX <unfinished ...>

 Having a look at the that process its file descriptor:

 tygra:/proc/14# ls -l /proc/18836/fd/14
 lrwx------ 1 root root 64 Feb 26 09:27 /proc/18836/fd/14 ->
 /icto/tmp/sess_0bbf26140aa44a83e3c5c11afc0ca1b1

Can you figure out what file this is pointing at?

It is a php session file.


My guess would be nfs problems. Have you pointed LockFile at a local disk?

Unfortunately we can't point the session to a local file. Otherwise we end up with users needing to relogin in case a webservers goes down. I guess you mean the apache LockFile? That is on a local file, LockFile /var/lock/apache2/accept.lock

Thanks in advance,

Rudy

--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          [EMAIL PROTECTED]          tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep Systemen                    Systems group
Universiteit Gent                 Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie               www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to