<?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: limits on stack/file size for user in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130922#M152995</link>
    <description>Why PAM so usable and flexible? - because we can add/combine PAM modules in order to provide new features.&lt;BR /&gt;&lt;BR /&gt;HPUX 11  is PAM-aware OS.&lt;BR /&gt;&lt;BR /&gt;So even if there is no limits PAM module for HPUX, it's possible to port Linux module or write by yourself.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.us.kernel.org/pub/linux/libs/pam/index.html" target="_blank"&gt;http://www.us.kernel.org/pub/linux/libs/pam/index.html&lt;/A&gt; may help you&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vitaly</description>
    <pubDate>Mon, 01 Dec 2003 05:06:14 GMT</pubDate>
    <dc:creator>Vitaly Karasik_1</dc:creator>
    <dc:date>2003-12-01T05:06:14Z</dc:date>
    <item>
      <title>limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130906#M152979</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Is there any way on hpux to set the limit on &lt;BR /&gt;1. FILE size&lt;BR /&gt;2. DATA segment&lt;BR /&gt;3. STACK size&lt;BR /&gt;4. Core file size &lt;BR /&gt;5. CPU time&lt;BR /&gt;&lt;BR /&gt;on a user basis. For example, can it be ensured that any process launched by a specific user does not consume certain stack or data segment size.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jayesh</description>
      <pubDate>Fri, 28 Nov 2003 04:10:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130906#M152979</guid>
      <dc:creator>Jayesh shah</dc:creator>
      <dc:date>2003-11-28T04:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130907#M152980</link>
      <description>Hi,&lt;BR /&gt; See ulimit.&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Nov 2003 04:15:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130907#M152980</guid>
      <dc:creator>V.Tamilvanan</dc:creator>
      <dc:date>2003-11-28T04:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130908#M152981</link>
      <description>Hi Jayesh,&lt;BR /&gt;&lt;BR /&gt;Check the command &lt;BR /&gt;&lt;BR /&gt;# ulimit -a&lt;BR /&gt;&lt;BR /&gt;# man ulimit &lt;BR /&gt;for more.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 28 Nov 2003 04:16:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130908#M152981</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-11-28T04:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130909#M152982</link>
      <description>All this information is available using "ulimit" try looking at "ulimit -a".  You can set them using ulimit as well.  Check the man page "man sh-posix" and look for the section on ulimit.&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Nov 2003 04:16:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130909#M152982</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-11-28T04:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130910#M152983</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;What I need is not a global setting that applies for all users. But the ability to set individual limits based on the user.&lt;BR /&gt;&lt;BR /&gt;ulimit does not provide the answer to my question. Please let me know if I am unclear in my explanation.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jayesh</description>
      <pubDate>Fri, 28 Nov 2003 04:35:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130910#M152983</guid>
      <dc:creator>Jayesh shah</dc:creator>
      <dc:date>2003-11-28T04:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130911#M152984</link>
      <description>Hi Jayesh,&lt;BR /&gt;&lt;BR /&gt;as already said ulimit is the right command (man ulimit).&lt;BR /&gt;In order to fix changes, you should set ulimit commands in user' .profile.&lt;BR /&gt;&lt;BR /&gt;An useful doc about it:&lt;BR /&gt;KBRC00013375 - What happens when a program core file exceeds file system space? &lt;BR /&gt;&lt;BR /&gt;It contains other docs ID, for example:&lt;BR /&gt;UNX1000203 - Can you limit the size of a core file on 10.X?&lt;BR /&gt;&lt;BR /&gt;I hope this helps you.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Ettore</description>
      <pubDate>Fri, 28 Nov 2003 04:38:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130911#M152984</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2003-11-28T04:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130912#M152985</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;No you are very clear, use ulimit in the /etc/profile (global).&lt;BR /&gt;&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 28 Nov 2003 04:46:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130912#M152985</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-11-28T04:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130913#M152986</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I apologize because I don't want to contradict a Royalty...&lt;BR /&gt;Just attention: in order to fix ulimit command for an user, it should be inserted in .profile of that user.&lt;BR /&gt;In doc UNX1000203 that I have already indicated:&lt;BR /&gt;&lt;BR /&gt;*****************************&lt;BR /&gt;If you always want this behavior, put this command in your personal shell&lt;BR /&gt;initialization file.  (The /etc/profile file is a bad choice for this&lt;BR /&gt;command, since it gets read by other shells that do not understand&lt;BR /&gt;`ulimit -c').&lt;BR /&gt;*****************************&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Ettore</description>
      <pubDate>Fri, 28 Nov 2003 05:04:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130913#M152986</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2003-11-28T05:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130914#M152987</link>
      <description>Hi Jayesh,&lt;BR /&gt;&lt;BR /&gt;Please feel free to contradict me (:-).&lt;BR /&gt;&lt;BR /&gt;What kind of shells do your users use ?&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Fri, 28 Nov 2003 05:29:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130914#M152987</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2003-11-28T05:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130915#M152988</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just want to add a little reminder, some ulimit settings also depend on kernel parameters, e.g "ulimit -d" can not exceed maxdsiz or maxdsiz_64bit&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;Gary</description>
      <pubDate>Fri, 28 Nov 2003 10:44:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130915#M152988</guid>
      <dc:creator>Gary Yu</dc:creator>
      <dc:date>2003-11-28T10:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130916#M152989</link>
      <description>Jayesh,&lt;BR /&gt;  To add more, sh-posix is the default shell in hpux.  You can modify the ulimit in a posix shell only.  ksh doesnt support in modifying those values.  This is most suitable for specifying different limits for different users.&lt;BR /&gt;&lt;BR /&gt;  Kernel parameters are more global.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Umapathy</description>
      <pubDate>Fri, 28 Nov 2003 11:01:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130916#M152989</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-11-28T11:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130917#M152990</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Setting limits in .profile is not a solution as they can be overriden and not always effective. What I was looking is some way of per user kernel parameter or some other per user setting independent of the shell.&lt;BR /&gt;&lt;BR /&gt;Is setting of this feature available in better way on other operating systems (other than hpux).&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jayesh</description>
      <pubDate>Fri, 28 Nov 2003 11:12:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130917#M152990</guid>
      <dc:creator>Jayesh shah</dc:creator>
      <dc:date>2003-11-28T11:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130918#M152991</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;on Linux systems there is a possibility:&lt;BR /&gt;/etc/security/limits.conf file contains ulimit settings about users but on HP-UX this file and feature don't exist and the only one possibility is ulimit in .profile.&lt;BR /&gt;Anyway really and gladly I will wait replies that deny my statement.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Ettore&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 Nov 2003 11:42:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130918#M152991</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2003-11-28T11:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130919#M152992</link>
      <description>Hi Ettore,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. I will look into the limits.conf file. Can you please let me know the format for this file? &lt;BR /&gt;&lt;BR /&gt;I too gladly wait replies that deny your statement that this feature is unavailable on hpux.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Jayesh</description>
      <pubDate>Fri, 28 Nov 2003 12:38:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130919#M152992</guid>
      <dc:creator>Jayesh shah</dc:creator>
      <dc:date>2003-11-28T12:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130920#M152993</link>
      <description>in fact, limits.conf (pam_limits.so) is part of PAM system.&lt;BR /&gt;&lt;BR /&gt;Probably you can add this module to HPUX (AFAIK, HPUX 11.xx supports PAM)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vitaly.&lt;BR /&gt;&lt;BR /&gt;See See /usr/share/doc/pam-version/txts/README.pam_limits for more.&lt;BR /&gt; (on linux, of course)</description>
      <pubDate>Sun, 30 Nov 2003 02:12:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130920#M152993</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2003-11-30T02:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130921#M152994</link>
      <description>Hi Jayesh,&lt;BR /&gt;&lt;BR /&gt;/etc/security/limits.conf file sees as follows:&lt;BR /&gt;&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;#        - the wildcard %, can be also used with %group syntax,&lt;BR /&gt;#                 for maxlogin limit&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;&lt;BR /&gt;# End of file&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Anyway it is on Linux systems. As far as I know there isn't the same feature on HP-UX O.S., even with PAM integration.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Ettore&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>Mon, 01 Dec 2003 04:52:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130921#M152994</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2003-12-01T04:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: limits on stack/file size for user</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130922#M152995</link>
      <description>Why PAM so usable and flexible? - because we can add/combine PAM modules in order to provide new features.&lt;BR /&gt;&lt;BR /&gt;HPUX 11  is PAM-aware OS.&lt;BR /&gt;&lt;BR /&gt;So even if there is no limits PAM module for HPUX, it's possible to port Linux module or write by yourself.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.us.kernel.org/pub/linux/libs/pam/index.html" target="_blank"&gt;http://www.us.kernel.org/pub/linux/libs/pam/index.html&lt;/A&gt; may help you&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Vitaly</description>
      <pubDate>Mon, 01 Dec 2003 05:06:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limits-on-stack-file-size-for-user/m-p/3130922#M152995</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2003-12-01T05:06:14Z</dc:date>
    </item>
  </channel>
</rss>

