Re: [Cppcms-users] 100% cpu usage
Brought to you by:
artyom-beilis
|
From: Artyom B. <art...@ya...> - 2013-07-31 07:55:21
|
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 Without it I can't tell what is the problem. It also may be incorrect use of API. I had already seen some problems that were reported that actually was API abuse. It is especially gentle in case of multi-threading and asynchronous programming. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Marcel Hellwig <ke...@co...> >To: cpp...@li... >Sent: Wednesday, July 31, 2013 10:48 AM >Subject: Re: [Cppcms-users] 100% cpu usage > > > >On 30.07.2013 18:32, le ba wrote: > >Hi Marcel, >> >> >>Just some question, did you try with other compilator and did you have the same problem? No, I hadn't tried it yet. > >I never had this problem before (with mingw 4.7.2) and it would be very interesting to know the reasons or the causes. >> >> >>Thanks >> >> >> >> >> >>2013/7/29 Marcel Hellwig <ke...@co...> >> >>On 29.07.2013 00:10, Petr Janda wrote: >>>> Is this happening in your async app? I experienced something similar, >>>> but I only just started writing an async app. >>> Yo. >>> >>>> I'm using clang, and have c++11 enabled. >>> Both for me too, but only the app is c++11, not cppcms itself. >>> >>>> After about 10 seconds, the CPU usage climbed to 100%. >>> Hmm. 10s is much too less and it does not happen every time. >>> >>>> I haven't yet been really bothered by it yet (only just started >>>> designing the app, doing some tests). >>>> >>>> Will see when I get back to writing code. >>> Would be great if you can trigger that problem and know what it causes. >>> >>> >>> >>>------------------------------------------------------------------------------ >>>See everything from the browser to the database with AppDynamics >>>Get end-to-end visibility with application monitoring from AppDynamics >>>Isolate bottlenecks and diagnose root cause in seconds. >>>Start your free trial of AppDynamics Pro today! >>>http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >>>_______________________________________________ >>>Cppcms-users mailing list >>>Cpp...@li... >>>https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >>> >> >> >> >>------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk >> >> >>_______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users > >------------------------------------------------------------------------------ >Get your SQL database under version control now! >Version control is standard for application code, but databases havent >caught up. So what steps can you take to put your SQL databases under >version control? Why should you start doing it? Read more to find out. >http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |