Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-07-2007
Greenhippo Greenhippo is offline
Registered User
 
Name: Alex
Organization: University of Auckland
Project: Intelligent Middleware
 
Join Date: Nov 2006
Posts: 32
IceGrid Registry Log

Hi,

I am currently writing an application that needs to register and remove well known objects from an ice grid registry, however while doing some stress tests with lots of well-known objects being added and removed the log file becomes huge reaching the limit of space i have available and errors

Is there any way to limit the size of the log file to stop this?

Thanks for any help you can offer
-Alex Davies
__________________
Alex Davies
The University of Auckland
Reply With Quote
  #2 (permalink)  
Old 08-08-2007
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: 818
Hi Alex,

Which log file are you concerned about? A trace file or database log files?

Cheers,
Bernard
__________________
Bernard Normier
ZeroC, Inc.
Reply With Quote
  #3 (permalink)  
Old 08-08-2007
Greenhippo Greenhippo is offline
Registered User
 
Name: Alex
Organization: University of Auckland
Project: Intelligent Middleware
 
Join Date: Nov 2006
Posts: 32
The database log file
__________________
Alex Davies
The University of Auckland
Reply With Quote
  #4 (permalink)  
Old 08-08-2007
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: 818
If you use the default Freeze/Berkeley DB configuration, each database log files grows until it reaches 10MB, and then a new database log file is created. And by default Freeze (within the IceGrid registry) removes old database log files automatically.

Did you disable automatic removal of old log files (with Freeze.DbEnv.<name>.OldLogsAutoDelete=0)?

If so, then you need to remove these old log files yourself.

Cheers,
Bernard
__________________
Bernard Normier
ZeroC, Inc.
Reply With Quote
  #5 (permalink)  
Old 08-08-2007
Greenhippo Greenhippo is offline
Registered User
 
Name: Alex
Organization: University of Auckland
Project: Intelligent Middleware
 
Join Date: Nov 2006
Posts: 32
I have not disabled the removal of the old log files, i have two log files there one is the correct size of 10M however the other one gets up to 500M before i run out of space.

Because its stress testing its performing a lot of registry changes very quickly, does the registry wait for a free period of time to change log files over or will it preempt incoming calls to do so?
__________________
Alex Davies
The University of Auckland
Reply With Quote
  #6 (permalink)  
Old 08-08-2007
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: 818
Hi Alex,

The log file should not grow beyond 10 MB. What's the name of this 500 MB log file?

Which platform / Ice distribution / Berkeley DB distribution do you use?

Cheers,
Bernard
__________________
Bernard Normier
ZeroC, Inc.
Reply With Quote
  #7 (permalink)  
Old 08-09-2007
Greenhippo Greenhippo is offline
Registered User
 
Name: Alex
Organization: University of Auckland
Project: Intelligent Middleware
 
Join Date: Nov 2006
Posts: 32
After deleting all my registry files and forcing them to recreate i have not be able to replicate the problem

So i guess its fixed for now and hope it doesn't come up again
__________________
Alex Davies
The University of Auckland
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
IceGrid - Run Registry and Node on the same Computer upkanet Help Center 2 05-17-2007 08:12 PM
IceGrid.Registry.SessionTimeout=0 not working in 3.2? brian Bug Reports 0 03-27-2007 09:11 PM
IceGrid node shutdown fails when registry is down jae Help Center 1 12-07-2006 11:23 PM
Is the IceGrid registry a single point of failure? timp Help Center 1 01-16-2006 07:05 AM
IceGrid migration issue: icegridadmin can't reach registry brian Help Center 1 12-15-2005 03:12 PM


All times are GMT -4. The time now is 01:32 PM.


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.