<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: mandrake code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sat, 26 Jul 2008 21:18:08 GMT</pubDate>
    <description>DZone Snippets: mandrake code</description>
    <item>
      <title>Using ulimit to limit</title>
      <link>http://snippets.dzone.com/posts/show/82</link>
      <description>I put this in &lt;code&gt;profile.d/&lt;/code&gt;:&lt;br /&gt;&lt;br /&gt;&lt;code&gt; ####################&lt;br /&gt;#limit amount of virtula memory, &lt;br /&gt;#CPU time and number of processes&lt;br /&gt;#used by normal users.&lt;br /&gt;#&lt;br /&gt;if [ $UID -ge 500 ]&lt;br /&gt;then&lt;br /&gt;    ulimit -m 1000000&lt;br /&gt;    ulimit -v 1000000&lt;br /&gt;    ulimit -u 150&lt;br /&gt;fi&lt;br /&gt;#####################&lt;br /&gt;&lt;/code&gt; &lt;br /&gt;&lt;br /&gt;With this script, I am able to survive http://www.bigbold.com/snippets/posts/show/78</description>
      <pubDate>Fri, 08 Apr 2005 21:24:02 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/82</guid>
      <author>dfdeshom (dfdeshom)</author>
    </item>
    <item>
      <title>Fun bash script</title>
      <link>http://snippets.dzone.com/posts/show/78</link>
      <description>&lt;b&gt;Warning from admin: Some users have reported this snippet LOCKED UP THEIR COMPUTERS. Do NOT run it unless you accept this as a possible consequence!!&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Guaranteed to work on mandrake, even at security level 4 (5 being the highest).&lt;br /&gt;&lt;br /&gt;&lt;code&gt;dfdeshom@localhost$ :(){ :|:&amp; };:&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Fri, 08 Apr 2005 08:05:55 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/78</guid>
      <author>dfdeshom (dfdeshom)</author>
    </item>
  </channel>
</rss>
