<?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: maxfiles in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291076#M182147</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Are you still there? I you solved your issue??&lt;BR /&gt;&lt;BR /&gt;Another thing that may help is on this thread: &lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=604320" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=604320&lt;/A&gt;</description>
    <pubDate>Wed, 02 Jun 2004 10:27:31 GMT</pubDate>
    <dc:creator>Eric Antunes</dc:creator>
    <dc:date>2004-06-02T10:27:31Z</dc:date>
    <item>
      <title>maxfiles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291065#M182136</link>
      <description>We have been experiencing a connection problem on one of our applications running on oracle9iAs. Oracle suggested to increase maxfiles and it was increased from 1024 to 2048 everything was fine for sometime and we had the problem again. This time maxfiles was changed to  4096 and agin it workd for sometime and the problem has occured again and oracle recommends to make maxfiles unlmited.&lt;BR /&gt;&lt;BR /&gt;I checked using lsof for the number of files being opened by a process and the max i could see was only 109. I believe maxfiles parameter is for the maximum number of files that can be opened by a process. If that's the case, why i am i getting this problem when there are only 109 files being opened by a process.</description>
      <pubDate>Mon, 31 May 2004 04:28:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291065#M182136</guid>
      <dc:creator>hpuxsa</dc:creator>
      <dc:date>2004-05-31T04:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291066#M182137</link>
      <description>Can you post the output of "sar -v 2 10" , so that we can see the usage of your system.</description>
      <pubDate>Mon, 31 May 2004 04:42:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291066#M182137</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2004-05-31T04:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291067#M182138</link>
      <description>MAXFILES is the number of open files for a user. To find the setting of the MAXFILES parameter, issue as the root user:&lt;BR /&gt;# sysdef | grep maxfiles&lt;BR /&gt;&lt;BR /&gt;Calculate the number of open files for the Oracle user by using the Oracle SQL*Plus to get these values.  Shutdown the database first, then execute these commands as the Oracle user:&lt;BR /&gt;    SQL&amp;gt; connect sys/&lt;PASSWORD&gt;&lt;BR /&gt;    SQL&amp;gt; startup mount&lt;BR /&gt;    SQL&amp;gt; select count(*) from v$datafile;&lt;BR /&gt;    SQL&amp;gt; select count(*) from v$controlfile;&lt;BR /&gt;    SQL&amp;gt; select count(*) from v$logfile;&lt;BR /&gt;The sum of these values for all instances should be less than MAXFILES.&lt;BR /&gt;&lt;BR /&gt;To change the MAXFILES kernel parameter:&lt;BR /&gt;  1.  Change the parameter value by using the 'sam'&lt;BR /&gt;  2.  Rebuild the kernel by using the 'sam'&lt;BR /&gt;  3.  Shutdown the database&lt;BR /&gt;       SQL&amp;gt; shutdown immediate&lt;BR /&gt;  4.  Reboot the server&lt;BR /&gt;  5.  Startup the database, again using the Oracle SQL*Plus:&lt;BR /&gt;       SQL&amp;gt; connect sys/&lt;PASSWORD&gt;&lt;BR /&gt;       SQL&amp;gt; startup&lt;/PASSWORD&gt;&lt;/PASSWORD&gt;</description>
      <pubDate>Mon, 31 May 2004 04:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291067#M182138</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2004-05-31T04:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291068#M182139</link>
      <description>I think your problem is not maxfiles but nfile. nfile is the total maximum number of open files on the server. As said before by Twain, do:&lt;BR /&gt;&lt;BR /&gt;sar -v 2 10&lt;BR /&gt;&lt;BR /&gt;09:49:22 text-sz  ov  proc-sz  ov  inod-sz  ov  file-sz  ov&lt;BR /&gt;09:49:24   N/A   N/A 187/1220  0  1204/1538  0  1466/6010  009:49:26   N/A   N/A 187/1220  0  1239/1538  0  1466/6010  0&lt;BR /&gt;&lt;BR /&gt;My parameter nfile is set to 6000!!</description>
      <pubDate>Tue, 01 Jun 2004 03:46:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291068#M182139</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-06-01T03:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291069#M182140</link>
      <description>Sorry Twang, not Twain!</description>
      <pubDate>Tue, 01 Jun 2004 03:47:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291069#M182140</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-06-01T03:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291070#M182141</link>
      <description>nfile is not the problem becuase this has been 63548 and was not touched. Please find below the sar -v output.&lt;BR /&gt;&lt;BR /&gt;1:54:44 text-sz  ov  proc-sz  ov  inod-sz  ov  file-sz  ov &lt;BR /&gt;11:54:49   N/A   N/A 206/4116  0  1181/34848 0  1592/63558 0&lt;BR /&gt;11:54:54   N/A   N/A 204/4116  0  1181/34848 0  1588/63558 0&lt;BR /&gt;11:54:59   N/A   N/A 202/4116  0  1181/34848 0  1590/63558 0</description>
      <pubDate>Tue, 01 Jun 2004 03:57:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291070#M182141</guid>
      <dc:creator>hpuxsa</dc:creator>
      <dc:date>2004-06-01T03:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291071#M182142</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;have u read Oracle Metalink Document ID: 169706.1, i.e. if u r on Oracle 9i?&lt;BR /&gt;&lt;BR /&gt;for HP-UX 11.11 running 9.2.0, the kernel parameters are :&lt;BR /&gt;&lt;BR /&gt;KSI_ALLOC_MAX (NPROC*8) &lt;BR /&gt;MAX_THREAD_PROC 256 &lt;BR /&gt;MAXDSIZ 1073741824 bytes &lt;BR /&gt;MAXDSIZ_64BIT 2147483648 bytes &lt;BR /&gt;MAXSSIZ 134217728 bytes &lt;BR /&gt;MAXSSIZ_64BIT 1073741824 &lt;BR /&gt;MAXSWAPCHUNKS 16384 &lt;BR /&gt;MAXUPRC ((NPROC*9)/10) &lt;BR /&gt;MSGMAP (MSGTQL+2) &lt;BR /&gt;MSGMNI NPROC &lt;BR /&gt;MSGSEG 32767 &lt;BR /&gt;MSGTQL NPROC &lt;BR /&gt;NCALLOUT (NKTHREAD+16) &lt;BR /&gt;NCSIZE ((8*NPROC+2048)+VX_NCSIZE) &lt;BR /&gt;NFILE (15*NPROC+2048) &lt;BR /&gt;NFLOCKS 4096 &lt;BR /&gt;NINODE (8*NPROC+2048) &lt;BR /&gt;NKTHREAD (((NPROC*7)/4)+16) &lt;BR /&gt;NPROC 4096 &lt;BR /&gt;SEMMAP (SEMMNI+2) &lt;BR /&gt;SEMMNI 4096 &lt;BR /&gt;SEMMNS (SEMMNI*2) &lt;BR /&gt;SEMMNU (NPROC - 4) &lt;BR /&gt;SEMVMX 32768 &lt;BR /&gt;SHMMAX AvailMem &lt;BR /&gt;SHMMIN 1 &lt;BR /&gt;SHMMNI 512 &lt;BR /&gt;SHMSEG 32 &lt;BR /&gt;VPS_CEILING 64&lt;BR /&gt;&lt;BR /&gt;do reply on your OS version and Oracle DB version.&lt;BR /&gt;&lt;BR /&gt;regards.&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Jun 2004 04:01:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291071#M182142</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2004-06-01T04:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291072#M182143</link>
      <description>Check also maxuprc (Max User Processes) and the other parameters suggested by Joseph...</description>
      <pubDate>Tue, 01 Jun 2004 04:19:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291072#M182143</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-06-01T04:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291073#M182144</link>
      <description>OS version is 11.11 and Oracle is 9.2.0&lt;BR /&gt;&lt;BR /&gt;I have checked my parameters the only difference are&lt;BR /&gt;max_thread_proc = 64&lt;BR /&gt;maxuprc = 2048&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Jun 2004 05:13:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291073#M182144</guid>
      <dc:creator>hpuxsa</dc:creator>
      <dc:date>2004-06-01T05:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291074#M182145</link>
      <description>What error are you getting? &lt;BR /&gt;&lt;BR /&gt;Also check if are are in the latest patch set: 9.2.0.5 (see note 263791.1 on Metalink)</description>
      <pubDate>Tue, 01 Jun 2004 05:41:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291074#M182145</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-06-01T05:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291075#M182146</link>
      <description>May be increasing max_thread_proc to the recomended in the note (256)... &lt;BR /&gt;&lt;BR /&gt;See also shmmax: for 1.5 Gb of memmory, I setted it to 1073741824 (1 Gb): 75% of the total memmory.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Jun 2004 05:49:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291075#M182146</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-06-01T05:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: maxfiles</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291076#M182147</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Are you still there? I you solved your issue??&lt;BR /&gt;&lt;BR /&gt;Another thing that may help is on this thread: &lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=604320" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=604320&lt;/A&gt;</description>
      <pubDate>Wed, 02 Jun 2004 10:27:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/maxfiles/m-p/3291076#M182147</guid>
      <dc:creator>Eric Antunes</dc:creator>
      <dc:date>2004-06-02T10:27:31Z</dc:date>
    </item>
  </channel>
</rss>

