Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
All 5 groups show the same. My first question is why would CPU0 be the only one with intr/s and the others do not?
Info. The OS is RHEL 5.4 running as a VM on ESXi 4.1. Memory doesn't appear to be an issue, the system has 8 GB and its only using about 1.5 GB.
Second question, I'm positive the process that is the problem is the tomcat process. Does anyone know a good way to see whats happening with a specific process?
Distribution: RHEL, Ubuntu, Solaris 11, NetBSD, OpenBSD
Posts: 225
Rep:
Hi,
Quote:
Second question, I'm positive the process that is the problem is the tomcat process. Does anyone know a good way to see whats happening with a specific process?
strace is your friend! It should show you what the tomcat process is up to at a fairly low level.
As to the interrupts only being handled by one cpu, I would have to guess this is a vaguery of the fact it's a vm. I checked a VM that has quad cpus allocated and I see exactly the same behavoir.
Distribution: RHEL, Ubuntu, Solaris 11, NetBSD, OpenBSD
Posts: 225
Rep:
Hi,
What makes you think this is actually a problem that needs fixing? There are quite a few things that can influence this too. It can be influenced by HyperThreading as only one of the 'threads' can be interrupted since there is only one cpu in reality.
I'm quite interested in your answer - we also have a large number of linux VMs on VMware.
The only difference between this and our other system is this system is running a newer version of our software that is wrapped around tomcat. Its not tomcats fault its something we are doing. We have a base VM that we copy and test our SW on. At the end of the test we fix our SW, destroy the VM and install the new version of the SW on a new VM. This way we have a clean system for each new version of the SW. This time however the system idle never drops bellow about 85%, frequently reaching 100%. Without feeding the system any data it is consistently using way too much CPU. Past tests show an idle system only around 5%.
We did find the issue. One of the developers while fixing one problem created another that put one section of the app. into a CPU sucking loop. , but we found it and fixed it. I was sure the issue was our app.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.