Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 03-05-2004
brian brian is offline
Registered User
 
Name: brian whitney
Organization: boulder research and development
Project: MarketBank
 
Join Date: Oct 2003
Posts: 119
Freeze error

Hello again,

We a seeing a error using Freeze that looks like this:

[ IceStorm: Berkeley DB: DbEnv "IceStorm": DB_LOGC->get: LSN 1/34172: invalid log record header ]
IceStorm: warning: deleteOldLogs on DbEnv "IceStorm" raised: SharedDbEnv.cpp:258: Freeze:atabaseException:
DbEnv::log_archive: I/O error

We cannot recreate the problem on demand. We are using the Freeze map to write to a subdirectory, "db".

Can someone tell us why this might happen, what the implications are, and how we might fix it.


Thanks,

Brian
Reply With Quote
  #2 (permalink)  
Old 03-05-2004
bernard's Avatar
bernard bernard is offline
ZeroC Staff
 
Name: Bernard Normier
Organization: ZeroC, Inc.
Project: Ice
 
Join Date: Feb 2003
Location: Palm Beach Gardens, FL
Posts: 816
Hello Brian,

This looks like a Berkeley DB bug; maybe you could upgrade to Berkeley DB 4.2.52 to see if the problem disappears?

Freeze uses Berkeley DB with transactions; Berkeley DB uses "write ahead" logging for its transactions, and as a result generates lots of transaction log files.
If you want to backup your Freeze databases, you need to copy these log files and remove them yourself. Otherwise, Freeze periodically deletes old log files (using a background thread). That's the default behavior
See Freeze.DbEnv.<envName>.OldLogsAutoDelete in the Ice 1.3.0 book or the CHANGES file.

This Freeze background thread just calls log_archive (http://www.sleepycat.com/docs/api_cxx/log_archive.html) to figure out which log files can be removed. This call should never fail.

If log_archive fails from time to time (not all the time), you could just ignore it. The exception in question is caught and displayed as a warning, and does not kill the thread that performs checkpoints and logs removals.

Cheers,
Bernard
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error compiling Freeze Anhur Help Center 2 06-06-2006 04:39 AM
Freeze Error lifejoy Help Center 2 12-21-2005 04:27 AM
Freeze DbEnv error xdm Help Center 2 01-07-2005 04:36 PM
Freeze test error wwwtiger Help Center 5 11-09-2004 10:15 PM
Icebox Freeze service error xdm Help Center 1 03-07-2004 11:19 AM


All times are GMT -4. The time now is 08:52 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.