Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > TOP is showing 1 stuck Process

TOP is showing 1 stuck Process
Thread Tools
Fresh-Faced Recruit
Join Date: Jul 2003
Location: Santa Cruz Mountains
Status: Offline
Reply With Quote
Jul 23, 2003, 03:35 PM
 
Our Xserver 10.2.6 (1Gb RAM) is showing 1 stuck process in the Terminal Window (sudo TOP) out of 56 total processes. How do I find which process is stuck and is it something that show be addressed? It doesn't appear to be eating up memory, still have 800Mbs left.

Also this following message appears in the Server Status log:

XSERVER lookupd[303]: msg_send failed ((ipc/send) invalid destination port)

Could it be related?
     
Mac Elite
Join Date: Jan 2001
Location: Saint-Jean-sur-Richelieu, Québec, Canada
Status: Offline
Reply With Quote
Jul 24, 2003, 08:10 AM
 
First, do a 'man ps' and go read the values for process status.

Than.. 'ps -auxcw' will show all running processes.. and you should find the one that is stuck.
     
Fresh-Faced Recruit
Join Date: Jul 2003
Location: Santa Cruz Mountains
Status: Offline
Reply With Quote
Jul 24, 2003, 10:54 AM
 
I have done as you suggested. Please correct me if my assumption is wrong. I look under Stat to check the state of a process. All letters under "state" are either S, Ss S+, R, or R+. In the description it states a 'T" marks a stopped process, and there are none visible so I don't see any stuck processes. What should I look for. I'm somewhat new at this.

thanks for your help.
     
Mac Elite
Join Date: Jan 2001
Location: Saint-Jean-sur-Richelieu, Québec, Canada
Status: Offline
Reply With Quote
Jul 24, 2003, 11:37 AM
 
Originally posted by Doug Hurd:
I have done as you suggested. Please correct me if my assumption is wrong. I look under Stat to check the state of a process. All letters under "state" are either S, Ss S+, R, or R+. In the description it states a 'T" marks a stopped process, and there are none visible so I don't see any stuck processes. What should I look for. I'm somewhat new at this.

thanks for your help.
Should be Z for zombie.. it's not a job that got stopped but a process that got hanged, like when you start a program over a share and pull the plug.

Otherwise, try to take a look at top and see which process is stuck.
     
Fresh-Faced Recruit
Join Date: Jul 2003
Location: Santa Cruz Mountains
Status: Offline
Reply With Quote
Jul 24, 2003, 12:53 PM
 
I have stared at TOP for the longest time and I see 5 or 6 processes running; TOP, Applefileshare, hwmond (has a time of 37.54.25-somewhat suspect), cupsd (very infrequent) and Printservice (also very infrequent) and 1 or 2 more that will click on on and off. Nothing stands out as being stuck. The 1-stuck message only appears every 60 -65 seconds so I don't think its a process that is critical, although frustrating. If something crashes my server I'll certainly let you know. All in all I have been extremely happy with the Xserver, running 7-1/2 months, no serious problems (knock wood).

I will reboot the server when no publishers are working and see if that clears it up. It does not seem to have had an effect on productivity.

thanks again.
     
Mac Elite
Join Date: Jan 2001
Location: Saint-Jean-sur-Richelieu, Québec, Canada
Status: Offline
Reply With Quote
Jul 24, 2003, 12:55 PM
 
Originally posted by Doug Hurd:
I have stared at TOP for the longest time and I see 5 or 6 processes running; TOP, Applefileshare, hwmond (has a time of 37.54.25-somewhat suspect), cupsd (very infrequent) and Printservice (also very infrequent) and 1 or 2 more that will click on on and off. Nothing stands out as being stuck. The 1-stuck message only appears every 60 -65 seconds so I don't think its a process that is critical, although frustrating. If something crashes my server I'll certainly let you know. All in all I have been extremely happy with the Xserver, running 7-1/2 months, no serious problems (knock wood).

I will reboot the server when no publishers are working and see if that clears it up. It does not seem to have had an effect on productivity.

thanks again.
If it pops up every 60/65 sec and vanishes, it's probably a background job waiting for data than. You can probably ignore it and rebooting won't solve anything.

It would be alarming in the case where the process is there and stays there..
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:21 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2