|
|
10.4: Increase the system's process limits
How do you create this file and where do you put it?
10.4: Increase the system's process limits
Check our launchd article or the man page for launchctl for more details.
10.4: Increase the system's process limits
If your system is sluggish this isn't the problem. If you use terminal you would get "Cannot fork" errors, or if no applications could be launched. I reguarly have 30 or more terminals open and reguarly run into the 100 process limits.
10.4: Increase the system's process limits
PDM,
10.4: Increase the system's process limits
It's probably Spotlight. I understand that it is constantly running whenever you do anything so it can index any new files. See the tips here for how to disable it.
10.4: Increase the system's process limits
I have a thing on my menu bar that tells me what % of the processor is being used. The Processor readout indicates how much of your computer's processor is being used at any given time. The Tasks/Threads readout is specifying how many processes are running. That's what I call "sluggish." It was definitely not the case pre-Tiger upgrade. The parent hint describes how to allow your computer run more processes, but from the sound of things, (WindowServer chewing up most of your processor), you need to fix what you already have running. Your problblockquote is not a limit on how many processes you can run, but one (perhaps more?) runaway process. I use Macaroni on automated schedules, DiskWarrior once a month A quick Google turned up this Macaroni Page. While it doesn't look (based on the description) that Macaroni could be responsible for the WindowServer running out of control, I don't really know anything about Macaroni, and it's possible that a failure to upgrade that (or perhaps some other systblockquote modification?) could be responsible.
10.4: Increase the system's process limits
As was pointed out in the parent hint's linked blog post, "Every process you run from the GUI is launched by WindowServer." - Activity Console naming WindowServer as the problem is about as specific as blaming "the government" when some individual bureaucrat messes up.
I'm curious as to whether the top program would give a better output (actually name the offending process) than the Apple Activity Monitor (I don't think it should). Running the following command in a terminal will output a bunch of information you don't really care about (but which is useful in many circumstances), followed by a list of the top ten commands/processes (-n 10) which are using the cpu the most, sorted in descending order based on processor usage (-o -cpu), five times (-l 5): Scroll through that output (modifying it to take more samples if you so choose) to see if there are one or two commands named chewing up most of your processor.Run with or without the limit (-l), top is a fairly processor intensive command (for the duration of its runtime), as it polls the cpu once a second to get a pretty comprehensive idea of what's going on... it's kind of like someone asking you how you feel every few seconds. Answering "How do you feel now? ... How do you feel now? ... How do you feel now? ..." over and over takes up some of your attention and thinking power. One of my theories is that the little menu bar gizmo you have reporting on Processor, Uptime, Tasks/Threads, and Load Average - all of which constitute a fair chunk of what top checks - might be responsible for the sluggish state of your machine, especially if you have it set to update every few seconds or less.
10.4: Increase the system's process limits
You do not need to create this file in the terminal. Create a plain text file (not a rich text file) with the mentioned contents. Save the file. In the Save dialog box, press apple-G and type "/etc" into the box that appears. name the file launchd.conf and it will ask you if you want to use .conf, .txt, or both for the file extension. Choose .conf. That's it. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.16 seconds |
|