[ previous ] [ next ] [ threads ]
 To :  Paul Chitescu <paulc@v...>
 From :  G. Jacobsen <g_jacobsen@y...>
 Subject :  Re: [yate] again high CPU load mysqldb module
 Date :  Thu, 19 Jul 2012 20:45:12 +0300
Thanks Paul,

Openvz works well with yate. We are using it for years. Virtualization overhead is almost nil. 
We tested yate 4.1 on this 64bit server running without such problems. 

The mysql connections are the only ones creating CPU load, otherwise the machine is idle. The Kernel is not "tickless" as far as I can see, looking at dmesg

The CPU load only appears after the database connection succeeds, without doing any queries! If we close the firewall on the database machine before starting yate,  then yate makes no noticable CPU load. 

How can I debug this problem? 



On 19 Jul 2012, at 12:59, Paul Chitescu wrote:

> Hi!
> Did you change Yate or just the system is running on?
> Are only the DB threads using the CPU? What are the other threads looking like 
> in terms of CPU usage?
> We don't have specific information for OpenVZ but take a look at:
> http://yate.null.ro/pmwiki/index.php?n=Main.YateAndVMWare#nohz
> Paul
> On Thursday 19 July 2012 12:49:48 pm G. Jacobsen wrote:
>> Hello,
>> We migrated an old 32bit build yate revision 2476 to a new
>> 64bit kernel 2.6.32-5-openvz-amd64
>> Since then the mysqldb module threads are hogging the CPU. Each thread uses
>> 6%  CPU.
>> According the yate websvn multi-thread problems were solved in revision
>> 2455
>> http://yate.null.ro/websvn/log.php?repname=yate&path=%2Ftrunk%2Fmodules%2Fs
>> erver%2Fmysqldb.cpp&rev=0&isdir=
>> Anyone any idea what might cause this new problem?
>> Thanks
>> Gerry