Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weirdness in my PowerBook... FIXED but not SOLVED



on 06/04/02 02:43, Dirk Stegemann at email@hidden
wrote:

> did you by any change hit the maximum limit for running processes?

top says I have:
Processes:  136 total, 9 running, 127 sleeping... 432 threads

I changed the maxproc to 1000:

Jerrys-Powerbook:~ jk$ sudo sysctl -w kern.maxproc=1000
kern.maxproc: 532 -> 1000

But this did not help.

> I'd try to verify by opening a couple of Terminal windows, each
> hosting a new process ("top", or whatever).

I was able to open ten new Terminal windows running "top", no problem.

> It happened once in a while on my PB (until I increased it manually),
> usually after some weeks of uptime (sometimes earlier); the symptoms
> are usually more global than yours, though: different programs "hang"
> while launching, others don't (maybe because some applications'
> launching results in launching child processes, others don't).

Well, it does seem to be slower than normal.  Software Update got an error
while downloading 27 MB iPod Updater.  Xcode would not open the man page for
sysctl, and neither would a bash shell...

Jerrys-Powerbook:~ jk$ man sysctl
/usr/bin/groff:fatal error: fork: Resource temporarily unavailable

until I terminated those ten Terminal windows running "top", then it worked.

FIX

So I decided to quit about 15 of the 30 applications that were running, and
after that, I launched my app again, and now it works.

So, it doesn't seem like max processes, but it does have to do with the load
on the machine.

I thought the MacOS was bulletproof, at least that if it starts hitting
limits it should tell you about it.  Does anyone know what might have
happened?  Also, why is it that only some process launches are affected?



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Weirdness in my PowerBook. /bin/ps spawned by NSTask never exits (From: Dirk Stegemann <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.