Skip navigation
5073 Views 8 Replies Latest reply: Apr 16, 2013 11:11 AM by James Stewart RSS
mgcarrete Newbie 4 posts since
Aug 24, 2011
Currently Being Moderated

Aug 26, 2011 2:44 AM

WARNING zen.zenprocess: Queue exceeded maximum length: 101476/100000. Trimming

Hi,

 

I have noticed that some events of several processes have remained in the zenoss console without being removed. Watching the Zenprocess log, I get the Trimming error again even though I've increased the zenprocess queue up to 10.000.

 

2011-08-16 19:09:28,980 WARNING zen.zenprocess: Queue exceeded maximum length: 101476/100000. Trimming

 

Can anyone help me find a solution?

 

I have come to think it may be a queue management problem. I have looked at the PBDaemon.py, where the action is done and I have seen that in this part of the code:

 

# Set a maximum size on the eventQueue to avoid consuming all RAM.            

queueLen = len(self.eventQueue)            

if queueLen > self.options.maxqueuelen:                

     self.log.warn('Queue exceeded maximum length: %d/%d. Trimming',                    

     queueLen, self.options.maxqueuelen)                

     diff = queueLen - self.options.maxqueuelen                

     self.eventQueue = self.eventQueue[diff:]

 

with the last assignment events get lost, that we are not able to process. Is this correct?

 

Thanks and best regards.

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points