HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: CPU Resource Alloaction on LINUX Server
Operating System - Linux
1825771
Members
2159
Online
109687
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2006 06:21 PM
07-07-2006 06:21 PM
CPU Resource Alloaction on LINUX Server
Hi,
I have few custom Daemon running for our client on Linux Server.
These Daemon on request uses nearly 100% CPU whenever business requests are processed which slows down other tasks running on Machine.
We have been using renice to lower down the priority in past.
We are now looking at some tool which helps us to do some resource allocation constraints for these process wrt to CPU, Memory etc. Majorly CPU.
Any idea which all good tools or functions are available to acheive this.
These Daemons are in C++ and compiled with GNU Compiler.
Thanks
I have few custom Daemon running for our client on Linux Server.
These Daemon on request uses nearly 100% CPU whenever business requests are processed which slows down other tasks running on Machine.
We have been using renice to lower down the priority in past.
We are now looking at some tool which helps us to do some resource allocation constraints for these process wrt to CPU, Memory etc. Majorly CPU.
Any idea which all good tools or functions are available to acheive this.
These Daemons are in C++ and compiled with GNU Compiler.
Thanks
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2006 05:21 AM
07-08-2006 05:21 AM
Re: CPU Resource Alloaction on LINUX Server
Hi,
1. man ulimit
2. You can limit resources for any user by adding a line to /etc/pam.d/login:
session required /lib/security/pam_limit.so
and then you must edit the /etc/security/limits.conf file to actually place the limits.
Again, read the documentaion first.
Cheers.
1. man ulimit
2. You can limit resources for any user by adding a line to /etc/pam.d/login:
session required /lib/security/pam_limit.so
and then you must edit the /etc/security/limits.conf file to actually place the limits.
Again, read the documentaion first.
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2006 02:53 AM
07-09-2006 02:53 AM
Re: CPU Resource Alloaction on LINUX Server
Background processes that require hardware interrupts, e.g. "cu" can cause a system to spiral out of control. Try running your process then use "vmstat" and "top" to monitor interrupt system activity.
If this is your problem the only fix is to re-examine your source code and look at the way in which it is grabbing resources.
If this is your problem the only fix is to re-examine your source code and look at the way in which it is grabbing resources.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP