WineHQ
Comments
 

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

RE: Get it working under Mac OS X
by Robert on Monday September 28th 2009, 20:07
I think this is what your looking for.
Copied from: serverfault.com/questions/15564/where-are-the-default-ulimits-specified-on-os-x-10-5


Under Leopard the initial process is launchd. The default ulimits of each process are inherited from launchd. For reference the default (compiled in) limits are

$ sudo launchctl limit
cpu unlimited unlimited
filesize unlimited unlimited
data 6291456 unlimited
stack 8388608 67104768
core 0 unlimited
rss unlimited unlimited
memlock unlimited unlimited
maxproc 266 532
maxfiles 256 unlimited

To change any of these limits, add a line (you may need to create the file first) to /etc/launchd.conf, the arguments are the same as passed to the launchctl command. For example

sudo echo "limit maxfiles 1024 unlimited" > /etc/launchd.conf

However launchd has already started your login shell, so the simplest way to make these changes take effect is to restart our machine.

[post new] [reply to this]

Page loaded in 0.00983 seconds.