title: Too Many Cron Jobs giving me "bash: fork: Resource temporarily unavailable"
body: <p>I noticed today after some crons were not performing as they should that I was getting the following error line in the log files:</p>
  
  <p><code>/bin/sh: fork: Resource temporarily unavailable</code></p>
  
  <p>I did some research and found out it may have to do with the number of processes that a user is allowed to run.</p>
  
  <p>I then run:</p>
  
  <p><code>top -u</code></p>
  
  <p>and indeed there are tons of <code>sh</code> and <code>curl</code> processes which I think shouldn't be there.</p>
  
  <p>Most of the processes are simple calls to local <code>php</code> files running some DB maintenance tasks.</p>
  
  <p>All the processes are running in my local machine, so I have full access to everything. If I knew how, I would change the limit, but I can't find any information related to this issue specifically on a Mac OS X Lion.</p>
  
  <p>Also, I am not sure why the processes don't disappear after they are executed.</p>
  
  <p>Is there any way to kill the process after it is executed?</p>
  
  <p>Any hint in the right direction will be much appreciated!
  Thanks</p>