|
RE: Site crash and Data.fs truncated: msg#00120web.zope.zodb
Hi Tim, Could this be a bug in Zope? I am currently running zope 2.6.4 (source release, python 2.1, linux2), python 2.2.3, linux2) on Debian. Could this be also due to a memory leak on my code? Thanks, Ramon -----Original Message----- From: Tim Peters [mailto:tim@xxxxxxxx] Sent: Monday, May 24, 2004 6:38 PM To: 'Ramon Aseniero'; ZODB-Dev@xxxxxxxx Subject: RE: [ZODB-Dev] Site crash and Data.fs truncated [Ramon Aseniero] > My Data.fs was suddenly truncated and it created a Data.fs.tr0 file. You should look in your log files, for ZODB FS WARNING msgs. One of those is logged whenever a .tr<digit> file is created. This only happens when the FileStorage index is being read, and that happens when the database is first opened. The code reading the index determines that the .fs file is damaged, and chops it off at the point of damage. So the .tr0 file isn't the damage itself, it's the result of earlier damage. The .tr0 file contains everything that was in the original .fs at and after the damaged point. > ... > Module ZODB.FileStorage, line 623, in _load > error: unpack str size does not match format That's peculiar too, since the part *retained* in the .fs file should contain whole records. > Any idea? Sorry, not really. As you've already discovered, there's not much to go on. > How can I fix it? Revert to a backup at a known good state, if you have one. If not, running fsrecover.py may or may not yield a "good enough" repaired .fs file. _______________________________________________ For more information about ZODB, see the ZODB Wiki: http://www.zope.org/Wikis/ZODB/ ZODB-Dev mailing list - ZODB-Dev@xxxxxxxx http://mail.zope.org/mailman/listinfo/zodb-dev |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Site crash and Data.fs truncated: 00120, Tim Peters |
|---|---|
| Next by Date: | RE: Site crash and Data.fs truncated: 00120, Tim Peters |
| Previous by Thread: | RE: Site crash and Data.fs truncatedi: 00120, Tim Peters |
| Next by Thread: | RE: Site crash and Data.fs truncated: 00120, Tim Peters |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |