tony2001 / pinba_engine

Pinba - MySQL plugin and storage engine
http://pinba.org
GNU General Public License v2.0
478 stars 42 forks source link

Negative values #16

Open romka777 opened 11 years ago

romka777 commented 11 years ago

I have in log: [PINBA] warning: pool.cc:401 invalid packet data: req_time=1410.088257, ru_utime=-0.008998, ru_stime=0.001000, doc_size=0.426758 [PINBA] warning: pool.cc:401 invalid packet data: req_time=1410.139648, ru_utime=-0.001000, ru_stime=-0.002000, doc_size=0.443359 [PINBA] warning: pool.cc:401 invalid packet data: req_time=1410.395508, ru_utime=-0.007999, ru_stime=0.001000, doc_size=0.426758 [PINBA] warning: pool.cc:401 invalid packet data: req_time=1410.404907, ru_utime=0.000000, ru_stime=-0.002000, doc_size=0.443359 [PINBA] warning: pool.cc:401 invalid packet data: req_time=1411.169800, ru_utime=0.001000, ru_stime=-0.002000, doc_size=0.443359 [PINBA] warning: pool.cc:401 invalid packet data: req_time=1411.225098, ru_utime=-0.006999, ru_stime=0.001000, doc_size=0.426758

tony2001 commented 11 years ago

Yes, I've seen such values myself. PHP extension computes them by running getrusage() function twice and substracting the first result from the second. ATM I don't have a valid explanation except that these values are some kind of system artefact and quite probably I shouldn't even bother to report them in the log. If you have any ideas - let me know.