<?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: increase file descriptor in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/increase-file-descriptor/m-p/4058911#M29787</link>
    <description>Try setting:&lt;BR /&gt;&lt;BR /&gt;* soft nofile 465305&lt;BR /&gt;* hard nofile 465305&lt;BR /&gt;&lt;BR /&gt;You must logout and login again.</description>
    <pubDate>Wed, 22 Aug 2007 18:05:21 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2007-08-22T18:05:21Z</dc:date>
    <item>
      <title>increase file descriptor</title>
      <link>https://community.hpe.com/t5/operating-system-linux/increase-file-descriptor/m-p/4058910#M29786</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I was trying to increase the file descriptor to 465305. The default one is 1024.&lt;BR /&gt;&lt;BR /&gt;I ran limit -n 465305 and then edited /etc/security/limits.conf to include the following line&lt;BR /&gt;* hard nofile 465305. &lt;BR /&gt;&lt;BR /&gt;But a few days later, the limit -n showed the&lt;BR /&gt;default value again. Did I miss anything? &lt;BR /&gt;&lt;BR /&gt;Thanks and points will be assigned.</description>
      <pubDate>Wed, 22 Aug 2007 17:35:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/increase-file-descriptor/m-p/4058910#M29786</guid>
      <dc:creator>Ragni Singh</dc:creator>
      <dc:date>2007-08-22T17:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: increase file descriptor</title>
      <link>https://community.hpe.com/t5/operating-system-linux/increase-file-descriptor/m-p/4058911#M29787</link>
      <description>Try setting:&lt;BR /&gt;&lt;BR /&gt;* soft nofile 465305&lt;BR /&gt;* hard nofile 465305&lt;BR /&gt;&lt;BR /&gt;You must logout and login again.</description>
      <pubDate>Wed, 22 Aug 2007 18:05:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/increase-file-descriptor/m-p/4058911#M29787</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-08-22T18:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: increase file descriptor</title>
      <link>https://community.hpe.com/t5/operating-system-linux/increase-file-descriptor/m-p/4058912#M29788</link>
      <description>Sorry Ivan, it doesn't look like its working. Any other ideas?</description>
      <pubDate>Wed, 22 Aug 2007 18:14:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/increase-file-descriptor/m-p/4058912#M29788</guid>
      <dc:creator>Ragni Singh</dc:creator>
      <dc:date>2007-08-22T18:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: increase file descriptor</title>
      <link>https://community.hpe.com/t5/operating-system-linux/increase-file-descriptor/m-p/4058913#M29789</link>
      <description>How are you logging in? That is, maybe the pam configuration is not correct, for example, /etc/pam.d/ssh and /etc/pam.d/login, both, should have the pam_limits pam module enabled, or both point to system-auth and system-auth have the pam_limits pam module enabled in the session management group.</description>
      <pubDate>Wed, 22 Aug 2007 18:52:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/increase-file-descriptor/m-p/4058913#M29789</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-08-22T18:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: increase file descriptor</title>
      <link>https://community.hpe.com/t5/operating-system-linux/increase-file-descriptor/m-p/4058914#M29790</link>
      <description>Here are what the entries currently look like..&lt;BR /&gt;&lt;BR /&gt;/etc/security/limits.conf&lt;BR /&gt;&lt;BR /&gt;#&lt;DOMAIN&gt;      &lt;TYPE&gt;  &lt;ITEM&gt;         &lt;VALUE&gt;&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;#*               soft    core            0&lt;BR /&gt;#*               hard    rss             10000&lt;BR /&gt;#@student        hard    nproc           20&lt;BR /&gt;#@faculty        soft    nproc           20&lt;BR /&gt;#@faculty        hard    nproc           50&lt;BR /&gt;#ftp             hard    nproc           0&lt;BR /&gt;#@student        -       maxlogins       4&lt;BR /&gt;*                hard    nofile          465305&lt;BR /&gt;*                soft    nofile          465305&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have logged out and logged back in..&lt;BR /&gt;&lt;BR /&gt;ulimit -n&lt;BR /&gt;1024&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/pam.d/login&lt;BR /&gt;&lt;BR /&gt;#%PAM-1.0&lt;BR /&gt;auth       required     pam_securetty.so&lt;BR /&gt;auth       required     pam_stack.so service=system-auth&lt;BR /&gt;auth       required     pam_nologin.so&lt;BR /&gt;account    required     pam_stack.so service=system-auth&lt;BR /&gt;password   required     pam_stack.so service=system-auth&lt;BR /&gt;session    required     pam_stack.so service=system-auth&lt;BR /&gt;session    optional     pam_console.so&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;/etc/pam.d/sshd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#%PAM-1.0&lt;BR /&gt;auth       required     pam_stack.so service=system-auth&lt;BR /&gt;auth       required     pam_nologin.so&lt;BR /&gt;account    required     pam_stack.so service=system-auth&lt;BR /&gt;password   required     pam_stack.so service=system-auth&lt;BR /&gt;session    required     pam_stack.so service=system-auth&lt;BR /&gt;session    required     pam_limits.so&lt;BR /&gt;session    optional     pam_console.so&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/VALUE&gt;&lt;/ITEM&gt;&lt;/TYPE&gt;&lt;/DOMAIN&gt;</description>
      <pubDate>Thu, 23 Aug 2007 09:56:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/increase-file-descriptor/m-p/4058914#M29790</guid>
      <dc:creator>Ragni Singh</dc:creator>
      <dc:date>2007-08-23T09:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: increase file descriptor</title>
      <link>https://community.hpe.com/t5/operating-system-linux/increase-file-descriptor/m-p/4058915#M29791</link>
      <description>I think that if you login via SSH the limits should be imposed, and if you login locally, it should not.&lt;BR /&gt;&lt;BR /&gt;Please add:&lt;BR /&gt;&lt;BR /&gt;session required pam_limits.so&lt;BR /&gt;&lt;BR /&gt;To the /etc/pam.d/login file before the optional pam_console.so, as in sshd.</description>
      <pubDate>Thu, 23 Aug 2007 15:26:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/increase-file-descriptor/m-p/4058915#M29791</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-08-23T15:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: increase file descriptor</title>
      <link>https://community.hpe.com/t5/operating-system-linux/increase-file-descriptor/m-p/4058916#M29792</link>
      <description># ulimit -n&lt;BR /&gt;1048576&lt;BR /&gt;&lt;BR /&gt;# cat /etc/security/limits.conf&lt;BR /&gt;# /etc/security/limits.conf&lt;BR /&gt;#&lt;BR /&gt;#Each line describes a limit for a user in the form:&lt;BR /&gt;#&lt;BR /&gt;#&lt;DOMAIN&gt;        &lt;TYPE&gt;  &lt;ITEM&gt;  &lt;VALUE&gt;&lt;BR /&gt;#&lt;BR /&gt;#Where:&lt;BR /&gt;#&lt;DOMAIN&gt; can be:&lt;BR /&gt;#        - an user name&lt;BR /&gt;#        - a group name, with @group syntax&lt;BR /&gt;#        - the wildcard *, for default entry&lt;BR /&gt;#&lt;BR /&gt;#&lt;TYPE&gt; can have the two values:&lt;BR /&gt;#        - "soft" for enforcing the soft limits&lt;BR /&gt;#        - "hard" for enforcing hard limits&lt;BR /&gt;#&lt;BR /&gt;#&lt;ITEM&gt; can be one of the following:&lt;BR /&gt;#        - core - limits the core file size (KB)&lt;BR /&gt;#        - data - max data size (KB)&lt;BR /&gt;#        - fsize - maximum filesize (KB)&lt;BR /&gt;#        - memlock - max locked-in-memory address space (KB)&lt;BR /&gt;#        - nofile - max number of open files&lt;BR /&gt;#        - rss - max resident set size (KB)&lt;BR /&gt;#        - stack - max stack size (KB)&lt;BR /&gt;#        - cpu - max CPU time (MIN)&lt;BR /&gt;#        - nproc - max number of processes&lt;BR /&gt;#        - as - address space limit&lt;BR /&gt;#        - maxlogins - max number of logins for this user&lt;BR /&gt;#        - priority - the priority to run user process with&lt;BR /&gt;#        - locks - max number of file locks the user can hold&lt;BR /&gt;#&lt;BR /&gt;#&lt;DOMAIN&gt;      &lt;TYPE&gt;  &lt;ITEM&gt;         &lt;VALUE&gt;&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;#*               soft    core            0&lt;BR /&gt;#*               hard    rss             10000&lt;BR /&gt;#@student        hard    nproc           20&lt;BR /&gt;#@faculty        soft    nproc           20&lt;BR /&gt;#@faculty        hard    nproc           50&lt;BR /&gt;#ftp             hard    nproc           0&lt;BR /&gt;#@student        -       maxlogins       4&lt;BR /&gt;*                soft    nofile          1048576&lt;BR /&gt;*                hard    nofile          1048576&lt;BR /&gt;# End of file&lt;BR /&gt;adedla63p:root [/usr/share/doc]&lt;BR /&gt;# cat /etc/security/limits.conf|grep file&lt;BR /&gt;#        - core - limits the core file size (KB)&lt;BR /&gt;#        - fsize - maximum filesize (KB)&lt;BR /&gt;#        - nofile - max number of open files&lt;BR /&gt;#        - locks - max number of file locks the user can hold&lt;BR /&gt;*                soft    nofile          1048576&lt;BR /&gt;*                hard    nofile          1048576&lt;BR /&gt;# End of file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"ulimit -n" resturns same value on both ssh and telnet connections&lt;/VALUE&gt;&lt;/ITEM&gt;&lt;/TYPE&gt;&lt;/DOMAIN&gt;&lt;/ITEM&gt;&lt;/TYPE&gt;&lt;/DOMAIN&gt;&lt;/VALUE&gt;&lt;/ITEM&gt;&lt;/TYPE&gt;&lt;/DOMAIN&gt;</description>
      <pubDate>Tue, 23 Oct 2007 19:04:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/increase-file-descriptor/m-p/4058916#M29792</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-10-23T19:04:34Z</dc:date>
    </item>
  </channel>
</rss>

