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



Hi,

Am 02.04.2006 um 18:54 schrieb Jerry Krinock:

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


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

I changed the maxproc to 1000:

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

Not sure about the correct comand, I used "launchctl" (more specifically: "/etc/launchd.conf") to set the limit.



But this did not help.

IIRC, you have to restart the system.


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.

Exactly that kind of symptoms I'm talking about -- some applications (an increasing number, I'd say) don't launch anymore, others still do.




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.

That's possible -- anway, after increasing the maxproc limit and commiting a restart, I've never seen those issues on my PB again.




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?

I still hold on to the maxproc limit being the problem's cause ;-)


Also, why is it that only some process launches are affected?

That's an interesting question...


Best, Dirk Stegemann


_______________________________________________ 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... FIXED but not SOLVED (From: Jerry Krinock <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.