Discussion:
[omniORB] omni names log cleanup
Jason Hein
2013-09-19 15:09:10 UTC
Permalink
Has anyone had issues with the lack of cleanup to the omninames*.log file
in /var/omniNames? My application creates thousands of dynamic objects and
the naming service hangs after the log files grows beyond approximately
250MB. Many of the references are stale and will never be referenced,
therefore they could be cleaned up. Is there a known or supported way to
cleanup or rotate this file without bringing down the naming service?

Thanks.

Jason Hein
jason.j.hein at objectivesolutions.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20130919/4d674f84/attachment.html>
Duncan Grisby
2013-09-24 14:46:17 UTC
Permalink
Post by Jason Hein
Has anyone had issues with the lack of cleanup to the omninames*.log
file in /var/omniNames? My application creates thousands of dynamic
objects and the naming service hangs after the log files grows beyond
approximately 250MB. Many of the references are stale and will never
be referenced, therefore they could be cleaned up. Is there a known
or supported way to cleanup or rotate this file without bringing down
the naming service?
How are you using omniNames? What are all the object references, and
why do they need entries in the naming service?

The naming service is intended to be used to bootstrap a small number of
initial object references, not for thousands of transient objects.
omniNames therefore has a simple in-memory representation of the naming
graph, and a simple redo log format for persistence. That's fine for its
intended purpose, but it sounds like perhaps you need something else.

Cheers,

Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
Jason Hein
2013-09-26 13:07:26 UTC
Permalink
Duncan,

Thanks for your response. You are correct in that we are using it outside
the scope of the intended purpose. We'll rework a few things on our end.

Jason
Post by Duncan Grisby
Post by Jason Hein
Has anyone had issues with the lack of cleanup to the omninames*.log
file in /var/omniNames? My application creates thousands of dynamic
objects and the naming service hangs after the log files grows beyond
approximately 250MB. Many of the references are stale and will never
be referenced, therefore they could be cleaned up. Is there a known
or supported way to cleanup or rotate this file without bringing down
the naming service?
How are you using omniNames? What are all the object references, and
why do they need entries in the naming service?
The naming service is intended to be used to bootstrap a small number of
initial object references, not for thousands of transient objects.
omniNames therefore has a simple in-memory representation of the naming
graph, and a simple redo log format for persistence. That's fine for its
intended purpose, but it sounds like perhaps you need something else.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
--
Jason J Hein
Objective Solutions, Inc.
jason.j.hein at objectivesolutions.com
703.856.2840
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20130926/01f84b5c/attachment.html>
Loading...