Hi all,

does anybody have experiences with php flock funktion and ocfs2 clusters? flock 
is described in http://php.net/flock . The following text is outlined by the 
developers:

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

On some operating systems flock() is implemented at the process level. When 
using a multithreaded server API like ISAPI you may not be able to rely on 
flock() to protect files against other PHP scripts running in parallel threads 
of the same server instance! 
-------- snip --------

OS is CentOS 4.4, latest kernel (2.6.9-42.0.10ELsmp) and latest rpm package 
from ocfs2.

Could it be that there are interactions between the two locking mechanism of 
php and ocfs2?

Stephan


_______________________________________________
Ocfs2-users mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-users

Reply via email to