7 ms·
"[Upstart] currently has no way to adjust the maximum number of file descriptors, or limit memory usage" That's weird, because that's one of the things i like
by dlgtho 14y ago
"[Upstart] currently has no way to adjust the maximum number of file descriptors, or limit memory usage"
That's weird, because that's one of the things i like about Upstart. The ability to set pam limits and others in the same file. Upstart seems to support the same options Runit memory wise: stack, data, memlock ...
limit nofile 10000 10000
limit nproc 1024 1024
nice 3
chroot /var/roots/mychroot
[0] http://upstart.ubuntu.com/wiki/Stanzas#limit http://upstart.ubuntu.com/wiki/Stanzas#limit