em9
08-24-1999, 05:14 AM
Hi--
I am using phplib-7 for php3 with the dbm storage container. All my session data is being stored in the same dbm file. I have learned that using dbm storage is the fastest method for doing session tracking. HOWEVER...
I keep getting this error:
Warning: dbmopen_gdbm(dbm/sess.dbm): 10 [Can't be
writer], 11 [Resource temporarily unavailable] in
include/phplib/ct_dbm.inc on line 27
I assume this is because the single dbm file cannot be accessed simultaniously by multiple processes... Is my assumption correct? If so, dbm seems impossible for even a small amount of concurent users because of the likely hood of collision. PHPLIB reads the dbm file at the begining of loading a page and writes to it at the end. So the dbm file under goes a great deal of read/writing... I though file locking was supposed to handle this (?).
Thanks for any input...
Peter T. Brown
confused@em9.com
I am using phplib-7 for php3 with the dbm storage container. All my session data is being stored in the same dbm file. I have learned that using dbm storage is the fastest method for doing session tracking. HOWEVER...
I keep getting this error:
Warning: dbmopen_gdbm(dbm/sess.dbm): 10 [Can't be
writer], 11 [Resource temporarily unavailable] in
include/phplib/ct_dbm.inc on line 27
I assume this is because the single dbm file cannot be accessed simultaniously by multiple processes... Is my assumption correct? If so, dbm seems impossible for even a small amount of concurent users because of the likely hood of collision. PHPLIB reads the dbm file at the begining of loading a page and writes to it at the end. So the dbm file under goes a great deal of read/writing... I though file locking was supposed to handle this (?).
Thanks for any input...
Peter T. Brown
confused@em9.com