Re: question about X11 "no more processes" error message
Re: question about X11 "no more processes" error message
- Subject: Re: question about X11 "no more processes" error message
- From: Phillip Moore <email@hidden>
- Date: Fri, 9 Jan 2004 12:18:51 -0500
I don't know enough about your specific situation to say for sure
but I had this same sort of problem, not exactly related to X11, but
with OSX in general. I run many many terminal windows and I'd
frequently
hit the 100 process limit. You can change it on a per user level but
the problem is the GUI (WindowServer) is started with that limited
environment, so launching new shells proves impossible. X11 if launched
from Finder would also inherit this 100 process limit.
I came up with a solution, well, horrible hack that I posted on
macosxhints
that has worked very well for me. I can spawn as many terminals as I
want
and never run into the problem anymore.
I've written up a description of this , which is the same that was
posted to
macosxhints.com. You can see it here:
http://ruminate.net/pdm/mt/os_x_tips/
a_solution_for_mac_os_x_103_process_limits.html
Use at your own risk obviously, but quite a few people have tried it and
it works. I can't work without it as in my line of work i quickly run
out
of processes from too many shells being open.
Good luck,
Phillip Moore
On Jan 8, 2004, at 5:04 PM, Justin Walker wrote:
On Thursday, January 8, 2004, at 01:11 PM, ric wrote:
I am working on 10.3, X11 and since I have upgraded to 10.3, I get a
log of "tcsh: No more processes.".
This means that the system has too many processes (or too many
processes owned by your UID).
I am doing java development and it
seems to happen after I run the java program a few times, even thought
I kill the previously running program, each time. This is running on a
17" Al powerbook with 1gb of memory.
It's possible that running java spawns other tasks; or perhaps you
really haven't killed the processes. In any case, take a look at the
output of 'top' or "ps -auxww" to see what processes are running. My
guess is that there will be a lot of them.
You may be able to alleviate this somewhat by adjusting the maximum
number of processes per UID that are permitted. Check 'man setrlimit'
(which, BTW, will only affect the descendants of whatever process
changes this limit). You can set this in a shell by using the shell's
builtin functions (see man pages; the command is usually 'limit' or
'ulimit').
Regards,
Justin
--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | When LuteFisk is outlawed
| Only outlaws will have
| LuteFisk
*--------------------------------------
*-------------------------------*
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback:
http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.