On Jul 27, 2010, at 9:01 AM, Michael Ellis wrote: > Thanks for the info about sloth. I may try it later. It was pretty easy to > get what I needed with ipython: > > procs = !ps ax | grep "web2py" > pids = [r[0] for r in procs.fields()[0:-2]] > for p in pids: > print p > !lsof | grep $p | wc >
Also: sudo launchctl limit maxfiles I see 256 by default. The second limit is the "hard limit", beyond which you can't configure (unlimited in this case). http://serverfault.com/questions/15564/where-are-the-default-ulimits-specified-on-os-x-10-5