Buffer overrun causes continuous warnings
Posted: Sun Oct 19, 2008 6:16 pm
I'm running 1.23.3 on Gentoo. This is my crack at ZM, so I'm using a cheesy IBM USB 1.1 web cam, ibm-cam driver. It works well, very low load, all the features I want, for about a few hours. Then something bad happens, the system locks up with a busy disk. After reboot (even logging in on the console times out) I see an endless stream of these in my syslog:
Oct 19 03:15:40 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Oct 19 03:15:40 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Oct 19 03:15:40 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Oct 19 03:15:40 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Oct 19 03:15:40 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Oct 19 03:15:41 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Oct 19 03:15:41 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Oct 19 03:15:41 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
As you can see they are coming it at a rate of at least five/sec, and that is the problem. The system is so busy that I can't even get a console prompt to let me deal with it - I have to reboot. I'm sure I can increase the buffer size or whatever to avoid the underlying cause, but I can't because zma it is reporting it so quickly.
It would seem at a good fix would be to rate limit warnings of performance lag. But where should that happen? In the warning subsystem, or at the point of warning? I don't know ZM's architecture well enough.
Is there a bug tracking data base? I would expect this problem exists in other parts of the system.
Oct 19 03:15:40 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Oct 19 03:15:40 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Oct 19 03:15:40 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Oct 19 03:15:40 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Oct 19 03:15:40 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Oct 19 03:15:41 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Oct 19 03:15:41 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
Oct 19 03:15:41 statest zma_m1[9587]: WAR [Approaching buffer overrun, consider slowing capture, simplifying analysis or increasing ring buffer size]
As you can see they are coming it at a rate of at least five/sec, and that is the problem. The system is so busy that I can't even get a console prompt to let me deal with it - I have to reboot. I'm sure I can increase the buffer size or whatever to avoid the underlying cause, but I can't because zma it is reporting it so quickly.
It would seem at a good fix would be to rate limit warnings of performance lag. But where should that happen? In the warning subsystem, or at the point of warning? I don't know ZM's architecture well enough.
Is there a bug tracking data base? I would expect this problem exists in other parts of the system.