in the cluster docu I found:
Caveats
======Features which OCFS2 does not support yet:
- extended attributes
- readonly mount
- shared writeable mmap
- loopback is supported, but data written will not
be cluster coherent.
- quotas
- cluster aware flock <----------------------------------------
- Directory change notification (F_NOTIFY)
- Distributed Caching (F_SETLEASE/F_GETLEASE/break_lease)
- POSIX ACLs
- readpages / writepages (not user visible)
Could this be the reason and when yes will it be implemented in the near future?
Stephan
>>> "Stephan Hendl" <Stephan.Hendl@lds.brandenburg.de>
schrieb am 21.05.2007 um
15:30 in Nachricht
<4651BB2A.4F9C.0016.0@lds.brandenburg.de>:> 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
> Ocfs2-users@oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-users