Re: [Cppcms-users] 100% cpu usage
Brought to you by:
artyom-beilis
|
From: Marcel H. <ke...@co...> - 2013-07-31 18:31:37
|
On 31.07.2013 09:55, Artyom Beilis wrote: > Guys > > To try to figure out what happens I really need a test case that > reproduces the problem > to see what happens, or somebody would join the process that uses 100% > CPU with a debugger > and bring some stack trace and see what is the loop that happens there The source code is here: http://cookiesoft.de/git/?p=spaceio.git I still don't have a strace, but I will provide one as soon as I get time. I know what happens when cppcms gets 100%. There are 19 threads stuck at thread_pool.cpp in line 114 and always do polling, so they don't wait, the always poll. I think there is some kind of racecondition, but I don't know what kind :/ Hope you will fix it. |