Results 1 to 6 of 6

Thread: log.0000000001 problem!

  1. #1
    ewiniar is offline Registered User
    Name: ewiniar
    Organization: soho
    Project: ssl vpn
    Join Date
    Jan 2006
    Posts
    30

    log.0000000001 problem!

    I use icegrid distribute my test program,In icegrid/registry directory and icegrid/node/servers/UserManager/dbs/ directroy,there is a file named
    log.0000000001,it's size is 10M,how is this file produced ?Can I control it's size or disable it?
    ------------------


    ewiniar Lee
    Software Engineer
    Company:THP Ltd.Co
    Project:Communication lib project

  2. #2
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    It looks like a BerkeleyDB log file, such logs files are created if you open a Freeze database environment in your server. Does your server open a database environment? What is the configuration of your server?

    Cheers,
    Benoit.

  3. #3
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Sorry, you also mentioned the log files in the icegrid/registry directory which I suppose is the registry database directory. Log files in this directory are expected -- the registry is using Freeze maps to store information about the deployment.

    I don't believe you can disable these log files. However, they should be removed automatically once they are not neccessary anymore. You can tune the IceGrid registry database environment configuration with the Freeze properties described in Appendix C.14 of the Ice manual (the name of the database environment for the registry is "Registry"). For more information on these log files, you can also check the documentation of BerkeleyDB on the Sleepycat website: http://www.sleepycat.com/docs/ref/toc.html

    Cheers,
    Benoit.

  4. #4
    ewiniar is offline Registered User
    Name: ewiniar
    Organization: soho
    Project: ssl vpn
    Join Date
    Jan 2006
    Posts
    30

    How to tune the IceGrid registry database environment configuration ?

    I'd checked the documentation of BerkeleyDB ,it tune size of log by setting set_lg_max property,but how to tune the IceGrid registry database environment configuration with the Freeze properties?
    Actually,when run
    icegridnode --Ice.Config=config.icegrid --warn
    in db/icegrid/registry directory,log.0000000001 has been there,
    thus,should I tune the IceGrid registry database environment configuration in config.icegrid or chatapp-singlenode.xml?How to tune it ?thanks !


    Regards
    ewiniar
    ------------------


    ewiniar Lee
    Software Engineer
    Company:THP Ltd.Co
    Project:Communication lib project

  5. #5
    benoit's Avatar
    benoit is offline ZeroC Staff
    Name: Benoit Foucher
    Organization: ZeroC, Inc.
    Project: Ice
    Join Date
    Feb 2003
    Location
    Rennes, France
    Posts
    2,196
    Hi,

    The IceGrid registry configuration is in the config.icegrid file. The XML files contain the configuration of your own applications. However, you can't put BerkeleyDB properties in the IceGrid registry configuration file, the registry wouldn't understand them.

    To set BerkeleyDB properties for the registry database environment, you should add a file named DB_CONFIG in the registry database environment directory (db/icegrid/registry). See here for more information on this file.

    Cheers,
    Benoit.

  6. #6
    ewiniar is offline Registered User
    Name: ewiniar
    Organization: soho
    Project: ssl vpn
    Join Date
    Jan 2006
    Posts
    30

    Thanks!

    Thanks Benoit,I see,You got that right,now I can define the size of log,
    Thanks again!


    Regards
    ewiniar
    ------------------


    ewiniar Lee
    Software Engineer
    Company:THP Ltd.Co
    Project:Communication lib project

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [IceGrid] Way to do log-rolling for nodes?
    By GuillaumeBailey in forum Help Center
    Replies: 1
    Last Post: 04-15-2008, 01:06 PM
  2. How to extend ICE log information?
    By vshevchenko in forum Help Center
    Replies: 2
    Last Post: 02-06-2008, 12:57 PM
  3. IceGrid Registry Log
    By Greenhippo in forum Help Center
    Replies: 6
    Last Post: 08-09-2007, 05:25 PM
  4. IceStorm log
    By spicy in forum Help Center
    Replies: 1
    Last Post: 07-13-2007, 01:39 PM
  5. Log File Size error
    By xdm in forum Help Center
    Replies: 3
    Last Post: 02-27-2007, 04:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •