Re: while (1) { dashboard();}
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Organization: An Apple OS X end user Priority: normal Thu, 5 May 2005 (08:03 +1000 UTC) Ian Lister wrote: Ian _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/x11%40frinabulax.org -- Dr. Robert Delius Royar Associate Professor of English Morehead State University Morehead, Kentucky Making meaning one message at a time. Organize a strike in your school or workplace on the grounds that it does not satisfy your need for indolence & spiritual beauty. -Hakim Bey 18:19 up 1 day, 9:15, 1 user, load averages: 1.14 0.94 0.72 _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Wed, 4 May 2005, Stephane Sudre wrote: aren't kern.maxprocperuid and kern.maxproc (I think it's these sysctl values) too small now that dashboard is in town? They've always been too small. I find it really easy to hit the limit in "normal" desktop use - I tend to have a lot of terminals open, and find it difficult to find some processes that I'm happy to terminate when I do hit the limit. I've had it in Radar for a while (#3537659) but last I heard there hadn't been any effort to address it. Thankfully the Darwin source releases have been very punctual for some time now (thanks Kevin!) so for each OS update I build a custom kernel with CHILD_MAX (xnu/bsd/sys/syslimits.h) increased from 100 to 500 and hack in a "ulimit -u" invocation in /etc/rc or somewhere (there being no login.conf or the like to be able to set it for login sessions). This email sent to x11@frinabulax.org Since 10.2 I have included the following at the bottom of /etc/rc.common. It works, or it has for me. if [ "${TWEAKS:=-NO-}" = "-YES-" ]; then ConsoleMessage "Tweaking stack, data, and processes" sysctl -w kern.maxproc=1024 sysctl -w kern.maxprocperuid=256 ulimit -H -u512 ulimit -u256 -s8192 -d12288 fi I tried adding it to rc, but the change wouldn't hold. Some late process in the load sequence would reset it (at least in 10.2). This email sent to site_archiver@lists.apple.com
participants (1)
-
robert delius royar