This is a discussion on CPU usage becomes very high! within the comp.unix.solaris forums, part of the Solaris Operating System category; --> Hello, One of the procresses uses the CPU of my Sparc 220R very much ...and utilization become 100% ....is ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Atif Munir wrote on Thursday 29 January 2004 05:25 : > One of the procresses uses the CPU of my Sparc 220R very much ...and > utilization become 100% ....is there a way i can limit the cpu > utilization. In general: man nice man renice In particular (or vice versa?): That a process wants to run all the time is not necessarily a fault or a problem. It can be an error in the application, e.g. active waiting. It can be a problem if other processes are starved for CPU, in which case either nice or adding more CPUs can help. However, it can also be a good example of CPU utilization. There is no general rule stating that one's CPUs should always remain under a certain utilization threshold. We have a number of servers which constantly have a load greater than one. These are compute servers and it's their job. If they had less load, we probably would have needed fewer servers to start with. |
| |||
| On Wed, 28 Jan 2004, Atif Munir wrote: > Hello, > One of the procresses uses the CPU of my Sparc 220R very much ...and > utilization become 100% ....is there a way i can limit the cpu > utilization. Yeah, don't run that process. Seriously, assuming that this doesn't otherwise cause a problem, why the concern? You've for 100% of a CPU, so you might as well use it all. It might also be an indication that your system is underspecified for the task you've assigned it. -- Rich Teer, SCNA, SCSA President, Rite Online Inc. Voice: +1 (250) 979-1638 URL: http://www.rite-online.net |
| |||
| On Wed, 28 Jan 2004 20:25:32 -0800, Atif Munir wrote: > Hello, > One of the procresses uses the CPU of my Sparc 220R very much ...and > utilization become 100% ....is there a way i can limit the cpu > utilization. If you're running Solaris 9, Solaris Resource Manager might be something to look into. Alternatively, you could do a little root cause analysis as to what the process that is consuming all the CPU is doing and try and fix that. Saundo -- Chris "Saundo" Saunderson saundo@earthlink.net Unix/CCNA/CCDA Guy Powered by Linux and the Orb. |
| ||||
| Atif Munir wrote: > Hello, > One of the procresses uses the CPU of my Sparc 220R very much ...and > utilization become 100% ....is there a way i can limit the cpu > utilization. > > > > Regards, > Atif S9 also has resouce controls via rctladm - but don't ask me for specifics ;-) |