flock in NFS environment

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
widechar
Posts: 1
Joined: 16 Mar 2010, 13:26

flock in NFS environment

Post by widechar »

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
atrol
Site Admin
Posts: 8580
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: flock in NFS environment

Post by atrol »

At first sight I see no difference between 1.1.8 and 1.2.0 concerning use of flock.
There must be another change in 1.2.0 which causes your problem.
Please use Search before posting and read the Manual
Post Reply