flock in NFS environment
Posted: 16 Mar 2010, 13:38
Hello
We use mantis a lot. Great software. Thanks.
Since upgrading to latest stable (1.2.0) we observe a lot of "hanging" php processes. We could track it down to locked filehandles in library/nusoap/class.wsdlcache.php and library/adodb/adodb-csvlib.inc.php. Mantis is installed in a shared hosting environment which uses NFS for storage (required due to switching the webserver on failure or some..). However, mantis uses LOCK_EX, which should not be used in a NFS (nor any NAS) environment: http://www.php.net/manual/en/function.flock.php#82521
Any help would be appreciated.
Thanks
Roger
We use mantis a lot. Great software. Thanks.
Since upgrading to latest stable (1.2.0) we observe a lot of "hanging" php processes. We could track it down to locked filehandles in library/nusoap/class.wsdlcache.php and library/adodb/adodb-csvlib.inc.php. Mantis is installed in a shared hosting environment which uses NFS for storage (required due to switching the webserver on failure or some..). However, mantis uses LOCK_EX, which should not be used in a NFS (nor any NAS) environment: http://www.php.net/manual/en/function.flock.php#82521
Any help would be appreciated.
Thanks
Roger