- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Hanging process
Operating System - HP-UX
1752810
Members
5883
Online
108789
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
Discussions
Discussions
Forums
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
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
тАО09-30-2004 02:25 AM
тАО09-30-2004 02:25 AM
Hanging process
I am working on an HPUX10.20. We have been experiencing a spinning process once every couple of weeks which consumes our CPU. This process gets runs a 1000 times a day. Then all of the sudden it will spin. I perform a kill -3 on the process to generate a core. When I look at the core file, it seems to try an access shared memory. The code does a semaphore lock and then accesses shared memory and the does a semaphore unlock. The debugger points to the line where it access shared memory. The xdb points to line 367 of the attatched code. Which by the way has the semaphore locked so no other process can access shared memory, which in turns creates more CPU problems. Can anyone give me any clues or where else to look.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2004 03:26 AM
тАО09-30-2004 03:26 AM
Re: Hanging process
Does the problem show up as soon as that instance of the process is run, or does it have to run for some time to start spinning?
If it's after running for a while, it could be down to a memory leak.
How much memory is installed in the server, and how much is free when the problem appears?
To check how much memory the process is using, use the following, replacing with the relevant process ID
UNIX95= ps -p -o vsz,user,args
The vsz column shows how much memory the process is using (in KB). The user and args info just confirms the ID that the process is running under, and the command (with arguments if any were supplied to it).
If it's after running for a while, it could be down to a memory leak.
How much memory is installed in the server, and how much is free when the problem appears?
To check how much memory the process is using, use the following, replacing
UNIX95= ps -p
The vsz column shows how much memory the process is using (in KB). The user and args info just confirms the ID that the process is running under, and the command (with arguments if any were supplied to it).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2004 03:33 AM
тАО09-30-2004 03:33 AM
Re: Hanging process
It happens when it first starts up and whenit is looking to exit. Both hanging on shared memory calls of different shared memory segments Here is the output from the top command which shows the size of the process.
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
0 ? 22446 j0f 241 20 2524K 528K run 1519:49 99.89 99.72 net_slave
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
0 ? 22446 j0f 241 20 2524K 528K run 1519:49 99.89 99.72 net_slave
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP