[OS X TeX] Odd TeXShop error: "couldn't fork"

LAURENS Jérôme jerome.laurens at u-bourgogne.fr
Fri Oct 12 18:45:27 EDT 2007

Le 12 oct. 07 à 22:18, Peter Dyballa a écrit :

> Am 12.10.2007 um 21:12 schrieb Michael S. Hanson:
>> I have noticed that I tend get this error if TeXShop (and the OS)  
>> has been up and running for a while (at least a week or two) and  
>> if I have opened several files in TeXShop simultaneously.
> This is not directly related to too many open files, but to too  
> many processes running. I presume your login shell is bash. The you  
> can invoke in Terminal
> 	ulimit -aH
> 	ulimit -aS
> The former command will report the "hard" limits which cannot be  
> altered so easily. The latter command reveals all the "soft" limits  
> that you can raise up to those hard ones. This can be done  
> automatically at login time, for example in ~/.profile.
> I think you should be able to raise the number of running processes  
> when you're already logged in (ulimit -u <number>) ...

Of course this will be difficult if Michael cannot open a new  
terminal window
Maybe he can try to quit a pair of apps

I suggest to always keep an active terminal window or the activity  
monitor, and when the problem ever occurs, enter "ps -aux"
this will give the list of processes actually running, or inspect the  
list in the activity monitor.
Maybe there is a bunch of processes that were never terminated properly.
This can happen when running some latex daemon.

------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/

More information about the MacOSX-TeX mailing list