7,166
edits
No edit summary |
|||
Line 616: | Line 616: | ||
todo | == todo == | ||
<syntaxhighlight> | <syntaxhighlight> | ||
echo 'deb http://apt.opscode.com/ lucid-0.10 main' | sudo tee /etc/apt/sources.list.d/opscode.list | echo 'deb http://apt.opscode.com/ lucid-0.10 main' | sudo tee /etc/apt/sources.list.d/opscode.list | ||
Line 624: | Line 624: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== limit 系 == | |||
startup script にキッチリ ulimit を書くのが本道 | |||
ウッカリを防ぐために pam 系で制限解除 | |||
/etc/security/limits.d/mylimits.conf | /etc/security/limits.d/mylimits.conf | ||
<pre> | <pre> | ||
* - stack -1 | |||
root | root - nofile 524288 | ||
</pre> | </pre> |