<?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: open files: cannot modify limit: Operation not permitted in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ulimit-open-files-cannot-modify-limit-operation-not-permitted/m-p/4211942#M32784</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You may have a kernel limit interfering with your ulimit command.&lt;BR /&gt;&lt;BR /&gt;You could try unlimited instead of a number.&lt;BR /&gt;&lt;BR /&gt;You may want to check maxupcr and other kernel parameters that control file open.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Fri, 06 Jun 2008 12:19:36 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2008-06-06T12:19:36Z</dc:date>
    <item>
      <title>ulimit: open files: cannot modify limit: Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ulimit-open-files-cannot-modify-limit-operation-not-permitted/m-p/4211941#M32783</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have one user USER1, and when I go into the system by ssh and do #ulimit -a  (its has &lt;BR /&gt;open files                      (-n) 1024)&lt;BR /&gt;and if I do #ulimit -n 16384, its outs:&lt;BR /&gt;&lt;BR /&gt;"ulimit: open files: cannot modify limit: Operation not permitted"&lt;BR /&gt;&lt;BR /&gt;But if I enter by root and then su - USER1, its has (open files 16384, because I have one ulimit -n 16384 on the .bash_profile.&lt;BR /&gt;&lt;BR /&gt;What is happenning?. How could I change this when I enter by ssh directly by the USER1??&lt;BR /&gt;&lt;BR /&gt;Thanks a lot of,&lt;BR /&gt;Carmen.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Jun 2008 11:55:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ulimit-open-files-cannot-modify-limit-operation-not-permitted/m-p/4211941#M32783</guid>
      <dc:creator>Carme Torca</dc:creator>
      <dc:date>2008-06-06T11:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit: open files: cannot modify limit: Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ulimit-open-files-cannot-modify-limit-operation-not-permitted/m-p/4211942#M32784</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You may have a kernel limit interfering with your ulimit command.&lt;BR /&gt;&lt;BR /&gt;You could try unlimited instead of a number.&lt;BR /&gt;&lt;BR /&gt;You may want to check maxupcr and other kernel parameters that control file open.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 06 Jun 2008 12:19:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ulimit-open-files-cannot-modify-limit-operation-not-permitted/m-p/4211942#M32784</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-06-06T12:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit: open files: cannot modify limit: Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ulimit-open-files-cannot-modify-limit-operation-not-permitted/m-p/4211943#M32785</link>
      <description>For each ulimit variable, there are actually two limits: a soft limit and a hard limit.&lt;BR /&gt;&lt;BR /&gt;A normal user can adjust the soft limit freely in the range of 0...&lt;HARD limit=""&gt;. &lt;BR /&gt;A normal user can adjust the hard limit too, but can only decrease it. You must be root to increase the hard limit from its default value.&lt;BR /&gt;&lt;BR /&gt;To see the hard limit values, run "ulimit -H -a".&lt;BR /&gt;&lt;BR /&gt;The limit values are inherited from the parent process to the child process: you could add the command to increase the hard limit to the sshd startup script, so that sshd and all sessions started through it will inherit the increased hard limit. After that, you should be able to increase the soft limit as a normal user.&lt;BR /&gt;&lt;BR /&gt;Alternatively, some Linux distributions have PAM modules (pam_limit.so) that can adjust the limit values at login time, if configured to do so. &lt;BR /&gt;&lt;BR /&gt;MK&lt;/HARD&gt;</description>
      <pubDate>Fri, 06 Jun 2008 12:27:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ulimit-open-files-cannot-modify-limit-operation-not-permitted/m-p/4211943#M32785</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2008-06-06T12:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit: open files: cannot modify limit: Operation not permitted</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ulimit-open-files-cannot-modify-limit-operation-not-permitted/m-p/4211944#M32786</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Check the kernel parameter using command related to no. of open file max&lt;BR /&gt;&lt;BR /&gt;#sysctl -a|grep fs.file-max&lt;BR /&gt;&lt;BR /&gt;if the parameter is &amp;gt;= 16384 than you can set like this other wise you need to change the kernel parameter.</description>
      <pubDate>Fri, 06 Jun 2008 16:25:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ulimit-open-files-cannot-modify-limit-operation-not-permitted/m-p/4211944#M32786</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-06-06T16:25:25Z</dc:date>
    </item>
  </channel>
</rss>

