<?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: Running a process as root vs non-root...  memory and kernel params differences in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/running-a-process-as-root-vs-non-root-memory-and-kernel-params/m-p/4806993#M607787</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Memory is handled the same way. Sometimes the application works differently. If the application is started by root, shared memory areas are owned by root. Non root users can't access them. This messes up Oracle pretty good.&lt;BR /&gt;&lt;BR /&gt;Starting an application with root is a security hazard. It permits buffer overflow and other exploits to potentially gain root access. This is serious.&lt;BR /&gt;&lt;BR /&gt;There may be exceptions, but Kernel parameters apply to root same as any other user. Only difference is root can change the kernel parameter on the fly if needed (in most cases. see kctune output).&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Wed, 29 Jun 2011 14:40:58 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2011-06-29T14:40:58Z</dc:date>
    <item>
      <title>Running a process as root vs non-root...  memory and kernel params differences</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-a-process-as-root-vs-non-root-memory-and-kernel-params/m-p/4806983#M607786</link>
      <description>&lt;P&gt;Have two general questions regarding HP-UX kernel parameters and memory usage...&lt;/P&gt;&lt;P&gt;First, do some of the kernel params not apply to root or processes owned by root? I recently ran into the "can not fork ... to many processes" error and had to up maxuprc kernel param.&amp;nbsp; However this doesn't seem to be enforced on root.&amp;nbsp; Can someone confirm this either way?&lt;/P&gt;&lt;P&gt;Also, does HP-UX handle memory differently for processes owned by root as opposed to having it owned by a non-root account?&amp;nbsp; I've noticed that running the same process under a normal user account as opposed to root causes more memory utilization... any ideas what would cause that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2011 14:37:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-a-process-as-root-vs-non-root-memory-and-kernel-params/m-p/4806983#M607786</guid>
      <dc:creator>EEESEC</dc:creator>
      <dc:date>2011-06-29T14:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Running a process as root vs non-root...  memory and kernel params differences</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-a-process-as-root-vs-non-root-memory-and-kernel-params/m-p/4806993#M607787</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Memory is handled the same way. Sometimes the application works differently. If the application is started by root, shared memory areas are owned by root. Non root users can't access them. This messes up Oracle pretty good.&lt;BR /&gt;&lt;BR /&gt;Starting an application with root is a security hazard. It permits buffer overflow and other exploits to potentially gain root access. This is serious.&lt;BR /&gt;&lt;BR /&gt;There may be exceptions, but Kernel parameters apply to root same as any other user. Only difference is root can change the kernel parameter on the fly if needed (in most cases. see kctune output).&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 29 Jun 2011 14:40:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-a-process-as-root-vs-non-root-memory-and-kernel-params/m-p/4806993#M607787</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2011-06-29T14:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Running a process as root vs non-root...  memory and kernel params differences</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-a-process-as-root-vs-non-root-memory-and-kernel-params/m-p/4807029#M607788</link>
      <description>&lt;P&gt;The maxuprc kernel parameter is the maximum number of process &lt;STRONG&gt;per user&lt;/STRONG&gt;.&amp;nbsp; So if usera&amp;nbsp; started too many process then that user could get the "can not fork" error.&amp;nbsp; However, if other users have not started the same number of processes then they will not get the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other piece of the process usage picture is the nproc kernel parameter.&amp;nbsp; nproc is the TOTAL number of allowed process system wide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On one the system I have access to, the parameters are:&lt;/P&gt;&lt;P&gt;maxuprc - 75&lt;BR /&gt;nproc - 2048&lt;BR /&gt;﻿&lt;/P&gt;&lt;P&gt;So, any one user can start a max of 75 processes and there can a max of 2048 processes system wide.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2011 14:55:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-a-process-as-root-vs-non-root-memory-and-kernel-params/m-p/4807029#M607788</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2011-06-29T14:55:43Z</dc:date>
    </item>
  </channel>
</rss>

