[ZODB-Dev] ioerror on mounting db (zope mounpoint)

Jürgen Herrmann Juergen.Herrmann at XLhost.de
Wed Jan 25 05:00:41 EST 2006


hi!

after upgrading to zope 2.9 i receeive the following errors for about
20-30s after restart:

2006-01-25 10:54:16 ERROR ZODB.lock_file Error locking file
/home/bliss/zope/var/bliss_data.fs.lock
Traceback (most recent call last):
  File "/home/bliss/zope/lib/python/ZODB/lock_file.py", line 63, in __init__
    lock_file(self._fp)
  File "/home/bliss/zope/lib/python/ZODB/lock_file.py", line 42, in lock_file
    fcntl.flock(file.fileno(), _flags)
IOError: [Errno 11] Resource temporarily unavailable
2006-01-25 10:54:16 ERROR Zope.ZODBMountPoint Failed to mount database.
exceptions.IOError ([Errno 11] Resource temporarily unavailable)
Traceback (most recent call last):
  File
"/home/bliss/zope/lib/python/Products/ZODBMountPoint/MountedObject.py",
line 262, in _getOrOpenObject
    conn = self._getMountedConnection(anyjar)
  File
"/home/bliss/zope/lib/python/Products/ZODBMountPoint/MountedObject.py",
line 149, in _getMountedConnection
    conn = self._getDB().open()
  File
"/home/bliss/zope/lib/python/Products/ZODBMountPoint/MountedObject.py",
line 162, in _getDB
    return getConfiguration().getDatabase(self._path)
  File "/home/bliss/zope/lib/python/Zope2/Startup/datatypes.py", line 280,
in getDatabase
    db = factory.open(name, self.databases)
  File "/home/bliss/zope/lib/python/Zope2/Startup/datatypes.py", line 178,
in open
    DB = self.createDB(database_name, databases)
  File "/home/bliss/zope/lib/python/Zope2/Startup/datatypes.py", line 175,
in createDB
    return ZODBDatabase.open(self, databases)
  File "/home/bliss/zope/lib/python/ZODB/config.py", line 97, in open
    storage = section.storage.open()
  File "/home/bliss/zope/lib/python/ZODB/config.py", line 135, in open
    quota=self.config.quota)
  File "/home/bliss/zope/lib/python/ZODB/FileStorage/FileStorage.py", line
112, in __init__
    self._lock_file = LockFile(file_name + '.lock')
  File "/home/bliss/zope/lib/python/ZODB/lock_file.py", line 63, in __init__
    lock_file(self._fp)
  File "/home/bliss/zope/lib/python/ZODB/lock_file.py", line 42, in lock_file
    fcntl.flock(file.fileno(), _flags)


is this something to worry about? seems that the lock can be acquired
some time after the restart (abovementioned 20-30 seconds)...

never have seen this behaviour with zope 2.8.

regards, juergen herrmann
_______________________________________________________________________

>> XLhost.de - eXperts in Linux hosting <<

Jürgen Herrmann
Bruderwöhrdstraße 15b, DE-93051 Regensburg

Fon:  +49 (0)700 XLHOSTDE [0700 95467833]
Fax:  +49 (0)721 151 463027
WEB:  http://www.XLhost.de



More information about the ZODB-Dev mailing list