#20828 [Opn]: dba_open hang on nfs files
| From: | helly@php.net | Date: | Mon, 09 Dec 2002 18:09:58 +0000 |
| Subject: | #20828 [Opn]: dba_open hang on nfs files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27207@lists.php.net to get a copy of this message | ||
ID: 20828
Updated by: helly@php.net
Reported By: csollet@coleebris.com
Status: Open
Bug Type: DBM/DBA related
Operating System: Linux 2.2.16
PHP Version: 4.3.0RC2
Assigned To: helly
New Comment:
It is important to keep the .lck file - so that is no problem. Also
database access needs to be locked - so generally locking is wanted and
not having it was an error in older dba versions. I added modifier '-'
to disable/skip/ignore locking (or whatever to call it).
Previous Comments:
------------------------------------------------------------------------
[2002-12-05 09:09:50] csollet@coleebris.com
dba_open hang when trying to open a file located on a nfs server :
test script :
<? dba_open("E.db", "r", "db2"); ?>
with file "E.db" on a nfs server : Block
with file "E.db" on a local filesystem : Ok
In both case, E.db.lck is created (Hey! i've used "r" not "rl" ???) and
by the way, not removed.
Seems the new locking scheme start by itself, doesn't cleanup on exit
and finally hang on nfs.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20828&edit=1