Again on 100% cpu
Marco Martin
notmart at gmail.com
Wed Nov 16 17:03:55 UTC 2011
On Wednesday 16 November 2011, Sebastian Trüg wrote:
> >
> > Perhaps this can be logged in some way?
>
> well, you can enable query tracing in .odbc.ini:
>
> [ODBC]
> Tracefile = /tmp/iodbc.log
> Trace = 1
>
> That might help.
the result is... fascinating.
179 megabytes log file (trying to upload it somewhere ;)
so indeed there are thousands of very small queries done
so usually status() doesn't catch them because each one is very short
should be discovered *who* makes them...
--
Marco Martin
More information about the Active
mailing list