Thanks Nate.

 I would feel better but one of our client machines
just had a panic yesterday reporting that it could not fork due to
memory.  We have only 64 users and 2GB of RAM.   The same
machine with a 2.2 kernel has more users, shows different TOP
output (800,000K of shrd memory), and has never had a similar
panic for over a year.

Joe

At 04:16 PM 3/18/2003 -0800, you wrote:
Joe Lewinski said:
> Hello,
>
> I have a 2.4.7-10 #1 kernel that appears to not share program
> code (i.e. text for processes running identical programs).

> Notice the "0K shrd" (meaning ZERO K).
>
> Is there a tunable parameter that enables / disables the kernel to share
> program text?

this is normal. 2.4.x doesn't report shared memory in a way that
is reportable by top/free/snmp. The kernel does have shared memory
support, without such support I think most programs would cease
to function :)

/dev/shm (tmpfs filesystem) seems to be the future, it provides
SYSV shared memory, but from what I read, not many things use
SYSV shared memory yet.. POSIX shared memory is provided elsewhere.

I am uncertain how to measure shared memory on a linux 2.4.x system.

run google searches for 'shared memory linux 2.4' and 'shm filesystem'
and some variations if you need more info. but the information your
seeing is considered normal, and there is shared memory support in
the kernel. so no need to panic.


nate





-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list



-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to