Ubuntu 10.04 LTS (Lucid Lynx) AMI: Difference between revisions

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>
root soft nofile 524288
* - stack -1
root hard nofile 524288
root - nofile 524288
</pre>
</pre>