On Tue, 2008-02-26 at 15:38 +0100, Rudy Gevaert wrote:> 
> > Can you figure out what file this is pointing at?
> 
> It is a php session file.

You must not use flock() over NFS, since it just doesn't work. the PHP
docs say this clearly:

"Warning 

flock() will not work on NFS and many other networked file systems.
Check your operating system documentation for more details."

You should, ideally, use fcntl() instead since in your PHP scripts since
that does offer locking over NFS. Or use a database. Or memcache, or
some other distributed system that doesn't require file locking.

http://uk2.php.net/manual/en/function.dio-fcntl.php

might help.

Graeme


---------------------------------------------------------------------
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