<?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 inetd fork without checking maxuprc in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-fork-without-checking-maxuprc/m-p/3595263#M828639</link>
    <description>As you know, maxuprc is a kernel parameter which set the maximum number of simultaneous user processes except for super-user.&lt;BR /&gt;In the configuration file inetd.conf, you specify for each service the user to be used when the service is running. Most of the time, the user is root (ftp, telnet, etc.).&lt;BR /&gt;But If you need to run the process with another ID (for example user 'myuser' with id 7000), inetd doesn't check if maxuprc is reached for this user! For me, it is not normal we can do that even if inetd is a super-user process.&lt;BR /&gt;I'm waiting for HP support informations. Maybe you have more informations from your side...&lt;BR /&gt;&lt;BR /&gt;Regards</description>
    <pubDate>Wed, 03 Aug 2005 02:21:09 GMT</pubDate>
    <dc:creator>Eric Guerizec</dc:creator>
    <dc:date>2005-08-03T02:21:09Z</dc:date>
    <item>
      <title>inetd fork without checking maxuprc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-fork-without-checking-maxuprc/m-p/3595263#M828639</link>
      <description>As you know, maxuprc is a kernel parameter which set the maximum number of simultaneous user processes except for super-user.&lt;BR /&gt;In the configuration file inetd.conf, you specify for each service the user to be used when the service is running. Most of the time, the user is root (ftp, telnet, etc.).&lt;BR /&gt;But If you need to run the process with another ID (for example user 'myuser' with id 7000), inetd doesn't check if maxuprc is reached for this user! For me, it is not normal we can do that even if inetd is a super-user process.&lt;BR /&gt;I'm waiting for HP support informations. Maybe you have more informations from your side...&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 03 Aug 2005 02:21:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-fork-without-checking-maxuprc/m-p/3595263#M828639</guid>
      <dc:creator>Eric Guerizec</dc:creator>
      <dc:date>2005-08-03T02:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: inetd fork without checking maxuprc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-fork-without-checking-maxuprc/m-p/3595264#M828640</link>
      <description>With HP-UX the systems administrator is supposed to take into account what maxuprc should be prior to starting the system.&lt;BR /&gt;&lt;BR /&gt;What I mean by that is that it will try and open any proces its asked, but if maxuprc is reached its game over. &lt;BR /&gt;&lt;BR /&gt;Generally for big Oracle database servers, changing the standard value of 75 to 200 does the trick and applies to all users. This figure must be calculated and increased depending on a number of factors such as how many Oracle instances you are running.&lt;BR /&gt;&lt;BR /&gt;Most application vendors I have dealt with do not provide guidance on what maxuprc should be.&lt;BR /&gt;&lt;BR /&gt;HP's guidance, as in where they set it in 11i is in my opinion slightly low for normal everyday business use.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 03 Aug 2005 02:58:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-fork-without-checking-maxuprc/m-p/3595264#M828640</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-08-03T02:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: inetd fork without checking maxuprc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-fork-without-checking-maxuprc/m-p/3595265#M828641</link>
      <description>Hi Steven,&lt;BR /&gt;You're right but my question is not how to tune maxuprc.&lt;BR /&gt;&lt;BR /&gt;If I set maxuprc to 400, I don't want any user could run more than 400 process. It's a protection!&lt;BR /&gt;Now, imagine your application is using inetd to start a service. In inetd.conf, you have a line like this :&lt;BR /&gt;&lt;BR /&gt;    myservice stream tcp nowait myuser /opt/myapp/bin/myproc myproc&lt;BR /&gt;&lt;BR /&gt;It means a client can connect to your server through "myservice". In this case, inetd invokes the process "myproc" with ID "myuser".&lt;BR /&gt;ps will show you something like this :&lt;BR /&gt;&lt;BR /&gt;     UID     PID  PPID  C    STIME TTY       TIME COMMAND&lt;BR /&gt;    root    1900     1  0  May 25  ?        19:19 /usr/sbin/inetd&lt;BR /&gt;    myuser  5000  1900  0  Aug  3  ?         0:00 myproc&lt;BR /&gt;&lt;BR /&gt;Suppose your client have a bug: loop for 1000 connections instead of 1 connection. Inetd will invoke the process 1000 times.&lt;BR /&gt;On your server.&lt;BR /&gt;maxuprc is still 400 but now ps will show you 1000 process "myproc" with uid "mysuer".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards.</description>
      <pubDate>Wed, 03 Aug 2005 03:40:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-fork-without-checking-maxuprc/m-p/3595265#M828641</guid>
      <dc:creator>Eric Guerizec</dc:creator>
      <dc:date>2005-08-03T03:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: inetd fork without checking maxuprc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/inetd-fork-without-checking-maxuprc/m-p/3595266#M828642</link>
      <description>I have the answer from HP.&lt;BR /&gt;Use xinetd (freeware) to have more secure options. With xinetd, we can limit the number of process.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 03 Aug 2005 05:08:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/inetd-fork-without-checking-maxuprc/m-p/3595266#M828642</guid>
      <dc:creator>Eric Guerizec</dc:creator>
      <dc:date>2005-08-03T05:08:20Z</dc:date>
    </item>
  </channel>
</rss>

