Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » VIRGO Server consumes 100% CPU Usage(VIRGO Server consumes 100% CPU Usage)
VIRGO Server consumes 100% CPU Usage [message #1726788] Wed, 16 March 2016 13:51 Go to next message
Chandre Gowda is currently offline Chandre GowdaFriend
Messages: 56
Registered: April 2013
Member
Hello,

I have deployed a OSGI-Web application in Virgo Nano Server. During certain activities (like import of model) CPU usage will be 100% (observed from taskmanager). How to debug such applications to reduce cpu usage ?
How do i find out which activity is consuming more cpu usage?

Thanks
Chandru
Re: VIRGO Server consumes 100% CPU Usage [message #1726846 is a reply to message #1726788] Wed, 16 March 2016 22:59 Go to previous messageGo to next message
Florian Waibel is currently offline Florian WaibelFriend
Messages: 160
Registered: June 2010
Senior Member
You could use a profiler: http://www.eclipse.org/virgo/profiling/
Re: VIRGO Server consumes 100% CPU Usage [message #1726989 is a reply to message #1726788] Fri, 18 March 2016 05:17 Go to previous messageGo to next message
GianMaria Romanato is currently offline GianMaria RomanatoFriend
Messages: 49
Registered: November 2015
Member
Please also see here http://devshards.blogspot.hk/2014/10/profiling-virgo-with-jprofiler.html for JProfiler.
Instructions refer to an older version of JProfiler but if you use a more recent one you should be able to adapt the configuration accordingly.
Re: VIRGO Server consumes 100% CPU Usage [message #1727231 is a reply to message #1726989] Mon, 21 March 2016 13:13 Go to previous message
Chandre Gowda is currently offline Chandre GowdaFriend
Messages: 56
Registered: April 2013
Member
Thanks for suggestions. I have profiled my application using 'Your Kit' and found that 'Reading JSON file into memory make CPU Utilization 100%. This is web application deployed in Virgo nano. During this activity ( JSON reading) , none of the other requests are served. I would like Virgo server to serve all other requests with JSON reading activity with some delay if required parallely. Could somebody suggest any thoughts on this ?

[Updated on: Mon, 21 March 2016 13:13]

Report message to a moderator

Previous Topic:Virgo Tools for Eclipse Luna and Mars
Next Topic:100% brand new Virgo 3.6.4 will not start.
Goto Forum:
  


Current Time: Sun Nov 18 06:12:42 GMT 2018

Powered by FUDForum. Page generated in 0.02473 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top