<?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  for a particular user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634138#M41964</link>
    <description>Thanks to all for prompt reply; But my problem is still not solved.&lt;BR /&gt;&lt;BR /&gt;Alan, your information is pretty good. The oracle user(NIS user) can set ulimit to unlimited when he goes to POSIX shell. But as soon as he comes out from the POSIX to the k shell(his default shell which he wants), the ulimit is back to 4194303.&lt;BR /&gt;&lt;BR /&gt;Any idea how can I freeze the same to unlimited while he continues to use k shell?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Santanu</description>
    <pubDate>Thu, 20 Dec 2001 19:30:35 GMT</pubDate>
    <dc:creator>Santanu Bhadra</dc:creator>
    <dc:date>2001-12-20T19:30:35Z</dc:date>
    <item>
      <title>ulimit  for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634133#M41959</link>
      <description>All:&lt;BR /&gt;&lt;BR /&gt;On one of my servers, I need to set the ulimit&lt;BR /&gt;value to "unlimited" for the "oracle" user whose current ulimit is 4194303.&lt;BR /&gt;&lt;BR /&gt;The user uses k shell; There is no .kshrc or .login file in its home directory and no entry for ulimit in .profile. There is no ulimit entry in /etc/profile in that server.&lt;BR /&gt;I don't know where from that 4194303 figure is coming!&lt;BR /&gt;&lt;BR /&gt;Please help. Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Santanu</description>
      <pubDate>Thu, 20 Dec 2001 16:23:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634133#M41959</guid>
      <dc:creator>Santanu Bhadra</dc:creator>
      <dc:date>2001-12-20T16:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit  for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634134#M41960</link>
      <description>This thread may help.&lt;BR /&gt;&lt;BR /&gt;HH,&lt;BR /&gt;C&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1f198ffa98a2d5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x1f198ffa98a2d5118ff10090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Thu, 20 Dec 2001 16:25:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634134#M41960</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2001-12-20T16:25:52Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit  for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634135#M41961</link>
      <description>Check this out:&lt;BR /&gt;&lt;BR /&gt;PROBLEM&lt;BR /&gt;On an HP-UX 11.0 system, the "largefiles" feature has been set,&lt;BR /&gt;but, fbackup(1M) returns the following error message:&lt;BR /&gt;&lt;BR /&gt;     file too large&lt;BR /&gt;&lt;BR /&gt;Also, the following error message is output when attempting to&lt;BR /&gt;cat(1) to a file greater than 2Gb:&lt;BR /&gt;&lt;BR /&gt;     cannot write to output: file too large&lt;BR /&gt;&lt;BR /&gt;How can this problem be resolved?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;CONFIGURATION&lt;BR /&gt;Operating System - HP-UX&lt;BR /&gt;Version - 11.0&lt;BR /&gt;Subsystem - Sys Adm&lt;BR /&gt;&lt;BR /&gt;RESOLUTION&lt;BR /&gt;Per the fsadm(1M) command, the "largefiles" option was already&lt;BR /&gt;set.  It is also necessary to set ulimit() as follows:&lt;BR /&gt;&lt;BR /&gt;     1.  The fsadm(1M) command indicates that the "largefiles"&lt;BR /&gt;         option has already been set:&lt;BR /&gt;&lt;BR /&gt;         # fsadm -F vxfs /dev/vgXX/rlvolXX&lt;BR /&gt;&lt;BR /&gt;     2.  The "ulimit -a" command indicates that file (blocks)&lt;BR /&gt;         are set to the default:&lt;BR /&gt;&lt;BR /&gt;         # ulimit -a&lt;BR /&gt;         ...&lt;BR /&gt;         file (blocks) 4194303&lt;BR /&gt;         ...&lt;BR /&gt;&lt;BR /&gt;         NOTE:  It is necessary to be in the posix shell to&lt;BR /&gt;                reset with the ulimit() command.  (See the&lt;BR /&gt;                man page for sh-posix(1) for more information&lt;BR /&gt;                about the ulimit command and its options.)&lt;BR /&gt;&lt;BR /&gt;                Default filesize:  512byte * 4194303 = 2GB limit&lt;BR /&gt;&lt;BR /&gt;     3.  Set hard limit to "unlimited":&lt;BR /&gt;&lt;BR /&gt;         # ulimit -Hf unlimited&lt;BR /&gt;&lt;BR /&gt;     4.  Set soft limit to "unlimited":&lt;BR /&gt;&lt;BR /&gt;         # ulimit -Sf unlimited&lt;BR /&gt;&lt;BR /&gt;     5.  Check to make sure file (blocks) are unlimited:&lt;BR /&gt;&lt;BR /&gt;         # ulimit -a&lt;BR /&gt;&lt;BR /&gt;     6.  Make necessary changes in /etc/profile, if needed,&lt;BR /&gt;         in order to set file (blocks) permanently.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Dec 2001 16:29:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634135#M41961</guid>
      <dc:creator>Alan Casey</dc:creator>
      <dc:date>2001-12-20T16:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit  for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634136#M41962</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;From the doc # A5035411&lt;BR /&gt;&lt;BR /&gt;ulimit -s xxxxx where xxxxx is the number of kbytes to use cannot&lt;BR /&gt;exceed the system kernel parameter maxssiz. So if the ulimit is at&lt;BR /&gt;the value of maxssiz, then maxssiz will need to be increased. Note&lt;BR /&gt;that this requires a new kernel to be built and a reboot.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;1. ulimit -a&lt;BR /&gt;&lt;BR /&gt;time(seconds)        unlimited&lt;BR /&gt;file(blocks)         unlimited&lt;BR /&gt;data(kbytes)         2015464&lt;BR /&gt;stack(kbytes)        81584&lt;BR /&gt;memory(kbytes)       unlimited&lt;BR /&gt;coredump(blocks)     4290772993&lt;BR /&gt;nofiles(descriptors) 2048&lt;BR /&gt;&lt;BR /&gt;2. echo maxssiz/D | adb /stand/vmunix /dev/kmem&lt;BR /&gt; maxssiz:&lt;BR /&gt; maxssiz:        20396&lt;BR /&gt;&lt;BR /&gt;3. echo "4 * 20396" | bc&lt;BR /&gt; 81584&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Goodluck,&lt;BR /&gt;-USA..&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Dec 2001 16:30:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634136#M41962</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-12-20T16:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit  for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634137#M41963</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think you just have to add "ulimit unlimited" in the profile for that user.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Dec 2001 16:33:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634137#M41963</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-12-20T16:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit  for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634138#M41964</link>
      <description>Thanks to all for prompt reply; But my problem is still not solved.&lt;BR /&gt;&lt;BR /&gt;Alan, your information is pretty good. The oracle user(NIS user) can set ulimit to unlimited when he goes to POSIX shell. But as soon as he comes out from the POSIX to the k shell(his default shell which he wants), the ulimit is back to 4194303.&lt;BR /&gt;&lt;BR /&gt;Any idea how can I freeze the same to unlimited while he continues to use k shell?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Santanu</description>
      <pubDate>Thu, 20 Dec 2001 19:30:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634138#M41964</guid>
      <dc:creator>Santanu Bhadra</dc:creator>
      <dc:date>2001-12-20T19:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit  for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634139#M41965</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Check this Doc..&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://us-support.external.hp.com/cki/bin/doc.pl/sid=78ee440317c25d0018/screen=ckiDisplayDocument?docId=200000041839349" target="_blank"&gt;http://us-support.external.hp.com/cki/bin/doc.pl/sid=78ee440317c25d0018/screen=ckiDisplayDocument?docId=200000041839349&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-USA..</description>
      <pubDate>Thu, 20 Dec 2001 20:19:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634139#M41965</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-12-20T20:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: ulimit  for a particular user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634140#M41966</link>
      <description>I don't know if this is going to paste very well from the Metalink site, but here it is.  Basically, 4194303 is the default for ksh.  You shouldn't need to go any higher.  If you're having a problem w/ file sizes, make sure the 'osh' code in oraenv isn't running.  Otherwise, the setting the oracle account to use /bin/sh is the only way to get 'unlimited' in response.  Here's the metalink doc:&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;&lt;BR /&gt;Summary File Limits for Oracle on HP&lt;BR /&gt;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;&lt;BR /&gt;HPUX Unix Limits&lt;BR /&gt;~~~~~~~~~~~~~~~~~&lt;BR /&gt;  Max file system size:   &lt;BR /&gt; &amp;lt;= HP-UX 10.10    4Gb&lt;BR /&gt; &amp;gt;= HP-UX 10.20   128Gb &lt;BR /&gt; &amp;gt;= HP-UX 11.00     1Tb &lt;BR /&gt;&lt;BR /&gt;  Max OS file size: &lt;BR /&gt; &amp;lt;= HP-UX 10.10    2Gb&lt;BR /&gt; &amp;gt;= HP-UX 10.20   128Gb &lt;BR /&gt; &amp;gt;= HP-UX 11.00     1Tb &lt;BR /&gt;&lt;BR /&gt;  Ulimit for filesize:&lt;BR /&gt; Shell  Query/Set  Defaulted In&lt;BR /&gt; -----  ---------  ------------&lt;BR /&gt; ksh / sh ulimit   /etc/profile&lt;BR /&gt; csh  limit [-h] filesize /etc/csh.login&lt;BR /&gt;&lt;BR /&gt;  The 'largefiles' option is required to support large files on a file system.&lt;BR /&gt;  The following example shows how to convert a no-large-files filesystem to a&lt;BR /&gt;  large-files filesystem: &lt;BR /&gt;&lt;BR /&gt; /usr/sbin/fsadm -F vxfs -o largefiles /oracle&lt;BR /&gt; or&lt;BR /&gt; /usr/sbin/fsadm -F vxfs -o largefiles {special device file}&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Oracle Generic Limits&lt;BR /&gt;~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;  See [NOTE:62427.1] for generic 2Gb information.&lt;BR /&gt;  IMPORTANT: There is a generic limit on the maximum Oracle datafile&lt;BR /&gt;             size of 4million Oracle data blocks. The exact limit is&lt;BR /&gt;             4194303 * DB_BLOCK_SIZE. Some Oracle operations may try&lt;BR /&gt;             to exceed this as alerted in [NOTE:112011.1].&lt;BR /&gt;             Hence if the DB_BLOCK_SIZE=2048 no datafile can be 8Gb&lt;BR /&gt;             or larger.&lt;BR /&gt;&lt;BR /&gt;Oracle on HPUX Limits&lt;BR /&gt;~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;If you have problems with files &amp;gt;2GB see the following matrix:&lt;BR /&gt;Limits apply to HPUX 10.20 and 11.0 except where noted otherwise.&lt;BR /&gt;&lt;BR /&gt;  Max Datafile Size&lt;BR /&gt;  File  Raw   Async  Export/   SQL*Loader&lt;BR /&gt;Release         System Device   I/O  Import**  (see **)&lt;BR /&gt;===========================================================================&lt;BR /&gt;  8.1.7.x         64Gb  64Gb      raw only      &amp;gt;2Gb        &amp;gt;2Gb&lt;BR /&gt;  8.1.6.x         64Gb  64Gb      raw only      &amp;gt;2Gb        &amp;gt;2Gb&lt;BR /&gt;  8.0.6.x         64Gb  64Gb      raw only      See*1       See*2&lt;BR /&gt;  8.0.5.x       64Gb 64Gb   raw only See*1     &amp;lt;2Gb&lt;BR /&gt;  8.0.4.x      64Gb 64Gb   raw only SIL     HPUX10.20 &amp;gt; 2Gb&lt;BR /&gt;                                                            HPUX-11 &amp;lt;2Gb&lt;BR /&gt;  8.0.3.x         &amp;lt;2Gb &amp;lt;2Gb   raw only 2Gb     2Gb&lt;BR /&gt;  7.3.4.x         64Gb 64Gb     raw only SIL     2Gb&lt;BR /&gt;&amp;gt;=7.3.3.4.1    64Gb 64Gb   raw only SIL     2Gb&lt;BR /&gt;  7.3.2.3         &amp;lt;2Gb  &amp;lt;2Gb   raw only 2Gb     2Gb&lt;BR /&gt;  7.1.6          &amp;lt;2Gb  &amp;lt;2Gb   raw only 2Gb     2Gb&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; SIL = System Imposed Limit&lt;BR /&gt;              Always test on the actual system to ensure large files can be&lt;BR /&gt;              read / written.&lt;BR /&gt;&lt;BR /&gt;        *1 =  HPUX 10.20 requires a patch to create &amp;gt;2Gb export files:&lt;BR /&gt;                8.0.5.0 to 8.0.5.2 inclusive - Get the patch for Bug:872947&lt;BR /&gt;                8.0.6.0 to 8.0.6.1 inclusive - Get the patch for Bug:1330994&lt;BR /&gt;              HPUX 11 can export &amp;gt;2Gb on these RDBMS releases.&lt;BR /&gt;&lt;BR /&gt;        *2 =  HPUX 10.20 requires a patch for &amp;gt; 2Gb SQL Loader files:&lt;BR /&gt;                8.0.6 - Get the patch for Bug:1344224&lt;BR /&gt;              HPUX 11 can SQLLoader can read &amp;gt;2Gb files as standard.&lt;BR /&gt;&lt;BR /&gt;        ** Exp/Imp/Loader &lt;BR /&gt;              The above matrix indicates the maximum file size&lt;BR /&gt;              which can be directly handled by exp/imp/loader.&lt;BR /&gt;              However, it is possible to read/write files &amp;gt;2Gb&lt;BR /&gt;              using the OS commands summarised in [NOTE:30528.1]&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 20 Dec 2001 21:04:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ulimit-for-a-particular-user/m-p/2634140#M41966</guid>
      <dc:creator>Steve Miller_4</dc:creator>
      <dc:date>2001-12-20T21:04:33Z</dc:date>
    </item>
  </channel>
</rss>

