On 05/27/11 - 12:18:59PM, Mo Morsi wrote:
right now we are receiving too many inotify events than dbomatic
can handle. instead of watching the condor log dir we can just watch
the condor event log, but since its periodically rotated out by condor
itself this is tricky to do.
since the log tracking doesn't need to be in real time, its simpler
to just periodically check the log file for updates manually
True, but it seems to me that this is a step backwards. That is, during times
when no activity is happening, we are going to be waking up for no reason at
all.
I'm not totally against this; polling is certainly one way to accomplish what
dbomatic needs to do. But I think it would be better to investigate why we
are getting so many inotify events, and possibly only monitor the condor event
log.
--
Chris Lalancette