- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- help improving performance on a non-root process
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
тАО03-23-2010 08:55 AM
тАО03-23-2010 08:55 AM
i have a java app server running under a non-root user, but i want to do some tweaks not related with java, but with the process itself.
see, this process uses great amounts of memory and open several files in the disk so it becomes quite slow. i also have a smaller app server (also java) and that one opens much less files and is much faster.
so, in order to enhance the process performance i've made a "renice -n -20
now i would like to know how to allow my user running the server get allowed to open more files.
i've heard that there are some limits, bu i have no idea how to modify that.
thanks a lot in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2010 09:01 AM
тАО03-23-2010 09:01 AM
SolutionNote: Java itself can be a memory hog. Patching the system and going to later versions of JVM or JRE or JDK can have substantial performance boosts.
For your question, check the ulimit setting for this user.
You also might need to modify kernel parameters maxuprc to deal with limits on the number of processes a single user can have. The default of 75 can be a problem.
As far as renice goes, pushing much farther than you have gone with a lower renice figure might do more harm than good.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2010 10:36 AM
тАО03-23-2010 10:36 AM
Re: help improving performance on a non-root process
Just a word of warning before I start researching your question; Renice / nice.
Nicing is an obsolete procedure by maybe two decades because it applies to a cpu bottleneck only, and cpu's no longer have the limitations that they once had.
And although still around nicing is determined by the O/S by default, where every process gets a defaulted job priority scheduled.
Worse case, your suped up nice processes take over the box preventing other processes from getting enough resources. In short, creating a dedicated box, or, a hung box that can't spawn a login shell because the login process doesn't have a high enough nice / priority.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2010 12:37 PM
тАО03-23-2010 12:37 PM
Re: help improving performance on a non-root process
i'll take care with nice (though the app server with -20 is at speedlight) and will check ulimit tonight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2010 09:06 PM
тАО03-23-2010 09:06 PM
Re: help improving performance on a non-root process
nfile,maxuprc and maxfiles.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 09:16 PM
тАО03-24-2010 09:16 PM
Re: help improving performance on a non-root process
IF you do then you have PRM. WIth PRM you can cause proceses in a certain group defined by userid and process name to have more resources.
The PRM configuration would need to be created by root but once the configuration is created by virtue of the processes existing running with a certain userid or name it can be given higher resource priority.