Again on 100% cpu

Marco Martin notmart at gmail.com
Wed Nov 16 17:19:21 UTC 2011


On Wednesday 16 November 2011, Sebastian Trüg wrote:

> >>> is there some other way to debug what's happening there?
> >> 
> >> hm, apart from looking at the code I would not know at the moment. I
> >> suspect a lot of small queries...
> > 
> > Perhaps this can be logged in some way?
> 
> well, you can enable query tracing in .odbc.ini:
> 
> [ODBC]
> Tracefile = /tmp/iodbc.log
> Trace = 1

here we go ;)
snippet:
http://paste.opensuse.org/77494556

full log:
http://www.notmart.org/iodbc.log.bz2

uncompressed is... scary ;)

is there any way to discover who is doing those little queries and why?

-- 
Marco Martin


More information about the Active mailing list