Again on 100% cpu

Sebastian Trüg trueg at kde.org
Wed Nov 16 16:14:01 UTC 2011


On 11/16/2011 04:37 PM, Sebastian Kügler wrote:
> On Wednesday, November 16, 2011 16:27:07 Sebastian Trüg wrote:
>> On 11/16/2011 03:30 PM, Marco Martin wrote:
>>> On Wednesday 16 November 2011, Sebastian Trüg wrote:
>>>> sadly this does not help since the status() calls indicate that nothing
>>>> is happening.
>>>>
>>>> As for the initial startup: this could be the ontology import. On
>>>> devices you could think of shipping a default configuration which
>>>> already comes with a pre-filled database.
>>>>
>>>> Initial cpu hogging which is independent of the first run is something I
>>>> already have plans for.
>>>
>>> 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

That might help.


More information about the Active mailing list