Flock issue? Further debug help needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx          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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux