<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: 'ulimit -n' for normal user in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ulimit-n-for-normal-user/m-p/5159896#M50445</link>
    <description>Thanks for your replies, Steven. I apologize I did not post sooner, was sucked into a +1 hour meeting. Anyway, this is what I ended up doing:&lt;BR /&gt;&lt;BR /&gt;Edit "/etc/security/limits.conf", and add the below lines:&lt;BR /&gt;&lt;BR /&gt;tomcat2         hard    nofile          8192&lt;BR /&gt;tomcat2         soft    nofile          8192&lt;BR /&gt;&lt;BR /&gt;Where "tomcat2" is the user that needs the increase, hard/soft are the limit types to set (you'll want both), nofile means the number of files that can be open at a time, and '8192' is the actual number/limit.&lt;BR /&gt;&lt;BR /&gt;NOTE: You must start a new session as tomcat2 to make this effective, it will not take effect on existing sessions.&lt;BR /&gt;&lt;BR /&gt;Hopefully this helps someone along the way. Seems this problem is common with Java devs.</description>
    <pubDate>Thu, 26 Feb 2009 20:30:43 GMT</pubDate>
    <dc:creator>Steven McCoy</dc:creator>
    <dc:date>2009-02-26T20:30:43Z</dc:date>
    <item>
      <title>'ulimit -n' for normal user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ulimit-n-for-normal-user/m-p/5159893#M50442</link>
      <description>Hey guys,&lt;BR /&gt;&lt;BR /&gt;We've got some developers here that would like to increase the default 1024 file handle limit per process. I can change root's setting, but not the user's:&lt;BR /&gt;&lt;BR /&gt;# ulimit -n 2048&lt;BR /&gt;# ulimit -n&lt;BR /&gt;2048&lt;BR /&gt;&lt;BR /&gt;$ ulimit -n 2048&lt;BR /&gt;-bash: ulimit: open files: cannot modify limit: Operation not permitted&lt;BR /&gt;&lt;BR /&gt;I had read somewhere that this just isn't possible with normal users, but wanted to run it by you guys before giving that answer to the developers.</description>
      <pubDate>Thu, 26 Feb 2009 18:02:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ulimit-n-for-normal-user/m-p/5159893#M50442</guid>
      <dc:creator>Steven McCoy</dc:creator>
      <dc:date>2009-02-26T18:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: 'ulimit -n' for normal user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ulimit-n-for-normal-user/m-p/5159894#M50443</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;My results:&lt;BR /&gt; open files: cannot modify limit: Operation not permitted&lt;BR /&gt;&lt;BR /&gt;It might be possible however to use sudo to give the developers this power.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 26 Feb 2009 18:21:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ulimit-n-for-normal-user/m-p/5159894#M50443</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-02-26T18:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: 'ulimit -n' for normal user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ulimit-n-for-normal-user/m-p/5159895#M50444</link>
      <description>I played around a bit more.&lt;BR /&gt;&lt;BR /&gt;Its not going to have a significant impact to set the number higher for all users in /etc/profile&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 26 Feb 2009 18:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ulimit-n-for-normal-user/m-p/5159895#M50444</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-02-26T18:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: 'ulimit -n' for normal user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ulimit-n-for-normal-user/m-p/5159896#M50445</link>
      <description>Thanks for your replies, Steven. I apologize I did not post sooner, was sucked into a +1 hour meeting. Anyway, this is what I ended up doing:&lt;BR /&gt;&lt;BR /&gt;Edit "/etc/security/limits.conf", and add the below lines:&lt;BR /&gt;&lt;BR /&gt;tomcat2         hard    nofile          8192&lt;BR /&gt;tomcat2         soft    nofile          8192&lt;BR /&gt;&lt;BR /&gt;Where "tomcat2" is the user that needs the increase, hard/soft are the limit types to set (you'll want both), nofile means the number of files that can be open at a time, and '8192' is the actual number/limit.&lt;BR /&gt;&lt;BR /&gt;NOTE: You must start a new session as tomcat2 to make this effective, it will not take effect on existing sessions.&lt;BR /&gt;&lt;BR /&gt;Hopefully this helps someone along the way. Seems this problem is common with Java devs.</description>
      <pubDate>Thu, 26 Feb 2009 20:30:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ulimit-n-for-normal-user/m-p/5159896#M50445</guid>
      <dc:creator>Steven McCoy</dc:creator>
      <dc:date>2009-02-26T20:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: 'ulimit -n' for normal user</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ulimit-n-for-normal-user/m-p/5159897#M50446</link>
      <description>See above post</description>
      <pubDate>Thu, 26 Feb 2009 23:33:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ulimit-n-for-normal-user/m-p/5159897#M50446</guid>
      <dc:creator>Steven McCoy</dc:creator>
      <dc:date>2009-02-26T23:33:40Z</dc:date>
    </item>
  </channel>
</rss>

