Skip to main content



      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 09:51 Go to next message
Eclipse UserFriend
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 18:59 Go to previous messageGo to next message
Eclipse UserFriend
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 01:17 Go to previous messageGo to next message
Eclipse UserFriend
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 09:13 Go to previous message
Eclipse UserFriend
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 09:13] by 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: Sat Apr 26 01:49:02 EDT 2025

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

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

Back to the top