httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rudy Gevaert <Rudy.Geva...@UGent.be>
Subject [users@httpd] Flock issue? Further debug help needed
Date Tue, 26 Feb 2008 11:22:43 GMT
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

Doing a lsof I see all the other apache processes (200, that is the Max) 
  having that file open.

After I restarted apache I saw the folloing in my syslog file:
tygra kernel: nlmclnt_lock: VFS is out of sync with lock manager!

I can't trigger the problem so I'm looking for further help in debugging 
this problem.

I'm not sure it the problem is apache, it could be NFS.  Or it could be PHP.

If someone could provide me with some further debugging help.

Thanks in advance,
-- 
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert          Rudy.Gevaert@UGent.be          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: 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