 |
 |
Process CRAZINESS!
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status:
Offline
|
|
Hi,
What is going on!? My computer gets to the point where when I run "ls" in a terminal it says "No more processes" and gives me another prompt. I can't run ANYTHING. Have I actually run out of process numbers? I quit a program and then ran top, an dthe highest number was 8192, that's not too high! I have a gig of ram. Does anybody have any advice? I know I can restart to solve this problem now, but that has happened before. Any ideas?
Thanks,
gabe
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Sep 2000
Location: Edmond, OK USA
Status:
Offline
|
|
Originally posted by Zimwy:
Hi,
What is going on!? My computer gets to the point where when I run "ls" in a terminal it says "No more processes" and gives me another prompt. I can't run ANYTHING. Have I actually run out of process numbers? I quit a program and then ran top, an dthe highest number was 8192, that's not too high! I have a gig of ram. Does anybody have any advice? I know I can restart to solve this problem now, but that has happened before. Any ideas?
Thanks,
gabe
The problem isn't the process ID or the amount of RAM - there is a fixed limit to how many processes a shell (or the system as a whole) may execute. Once you run out of processes you are pretty stuck since you generally require a process to stop one.
I would log out of the GUI to free up any windowserver processes, and then stop anything that might be spawning lots of processes.
If this happens often you are going to have to tame something down or your system will be unusable.
|
|
|
| |
|
|
|
 |
|
 |
|
Forum Regular
Join Date: Jun 2001
Location: On the move again...
Status:
Offline
|
|
I think I'm correct in this - note that while the system has unlimited processes resource limits, users may have no more than 100 symultaneously running processes (at least according to my returns from "ulimit" in an sh shell). How many apps are you running, shells, etc are you running?
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status:
Offline
|
|
I don't remember exactly how many things I was running, but it was nothing extraodrinary. I've done more and things have been fine.
Whenever this happens I also can't run fork() or anything like that. So no man pages or anything like that. I'm going to reformat soon and hopefully that will fix things, but I don't know what's going on at all.
gabe
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Nov 2001
Status:
Offline
|
|
Originally posted by Zimwy:
I don't remember exactly how many things I was running, but it was nothing extraodrinary. I've done more and things have been fine.
Whenever this happens I also can't run fork() or anything like that. So no man pages or anything like that. I'm going to reformat soon and hopefully that will fix things, but I don't know what's going on at all.
gabe
Why would reformat fix anything? Your disk isn't related to this.
How many processes really did you have?
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status:
Offline
|
|
How can I find out how many processess exactly that I had? I was running about 6 or 7 apps including the finder. I had Apache, SSH Access, GNUMP3d, all on. That's about it.
gabe
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|