Changeset View
Changeset View
Standalone View
Standalone View
head/en_US.ISO8859-1/books/faq/book.xml
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 4,096 Lines • ▼ Show 20 Lines | <para>No, there is no memory leak, and it is not using | ||||
256 MB of memory. For convenience, | 256 MB of memory. For convenience, | ||||
<command>rpc.statd</command> maps an obscene amount of | <command>rpc.statd</command> maps an obscene amount of | ||||
memory into its address space. There is nothing terribly | memory into its address space. There is nothing terribly | ||||
wrong with this from a technical standpoint; it just | wrong with this from a technical standpoint; it just | ||||
throws off things like &man.top.1; and &man.ps.1;.</para> | throws off things like &man.top.1; and &man.ps.1;.</para> | ||||
<para>&man.rpc.statd.8; maps its status file (resident on | <para>&man.rpc.statd.8; maps its status file (resident on | ||||
<filename>/var</filename>) into its address space; to save | <filename>/var</filename>) into its address space; to save | ||||
worrying about remapping it later when it needs to grow, | worrying about remapping the status file later when it | ||||
it maps it with a generous size. This is very evident | needs to grow, it maps the status file with a generous | ||||
from the source code, where one can see that the length | size. This is very evident from the source code, where | ||||
argument to &man.mmap.2; is <literal>0x10000000</literal>, | one can see that the length argument to &man.mmap.2; is | ||||
or one sixteenth of the address space on an IA32, or | <literal>0x10000000</literal>, or one sixteenth of the | ||||
exactly 256 MB.</para> | address space on an IA32, or exactly 256 MB.</para> | ||||
</answer> | </answer> | ||||
</qandaentry> | </qandaentry> | ||||
<qandaentry> | <qandaentry> | ||||
<question xml:id="unsetting-schg"> | <question xml:id="unsetting-schg"> | ||||
<para>Why can I not unset the <literal>schg</literal> file | <para>Why can I not unset the <literal>schg</literal> file | ||||
flag?</para> | flag?</para> | ||||
</question> | </question> | ||||
<answer> | <answer> | ||||
<para>The system is running a securelevel greater than 0. | <para>The system is running at securelevel greater than 0. | ||||
Lower the securelevel and try again. For | Lower the securelevel and try again. For | ||||
more information, see <link linkend="securelevel">the <acronym>FAQ</acronym> | more information, see <link linkend="securelevel">the <acronym>FAQ</acronym> | ||||
entry on securelevel</link> and the &man.init.8; manual | entry on securelevel</link> and the &man.init.8; manual | ||||
page.</para> | page.</para> | ||||
</answer> | </answer> | ||||
</qandaentry> | </qandaentry> | ||||
<qandaentry> | <qandaentry> | ||||
▲ Show 20 Lines • Show All 3,341 Lines • Show Last 20 Lines |