* Re: ps, process size reporting wrong in 2.0.29
1997-03-07 19:48 ps, process size reporting wrong in 2.0.29 eric
@ 1997-03-06 21:54 ` David W. Hankins
1997-03-07 13:34 ` Wintermute
1 sibling, 0 replies; 3+ messages in thread
From: David W. Hankins @ 1997-03-06 21:54 UTC (permalink / raw)
Traffic from eric:
> Just installed redhat 4.1 on an alcor w/ 256mb ram.
Equally so, only 128mb ram.
> Top reports seemingly correct process sizes, but ps reports ridiculous numbers.
I had not tried top...
> As time goes by, even with the machine not doing much, the "used" field
> increases fairly quickly to the maximum amount of memory in the machine.
>
> I'd like to know whether there is a really bad memory leak happening, or
> whether it's just the memory usage reporting that's wrong... and, of course,
> whether anyone else has seen this and knows how to fix it.
I have seen this behaviour. I have not been able to debug nor repair it.
Logging in on multiple vtys gets a 16MB process reported by ps for each login
process on that vty. I'll note that it reports the 16MB *SZ*, and a 1.3MB
RSS. The RSS is what top is correctly advertising above.
At any rate, what I'm seeing in terms of memory usage is the set of buffers
slowly taking over all available RAM...when I start a ramhog, however,
the set of buffers decreases. I have not, as yet, swapped out. It just
seems that, on the DECs, Linux uses buffers more and thus allocates more
memory to that end...quickly relinquishing free buffers when memory is
needed.
--
David Hankins, "If you don't do it right the first time,
NOC Supervisor, you'll just have to do it again."
Erol's Internet -- J.T. Hankins
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ps, process size reporting wrong in 2.0.29
1997-03-07 19:48 ps, process size reporting wrong in 2.0.29 eric
1997-03-06 21:54 ` David W. Hankins
@ 1997-03-07 13:34 ` Wintermute
1 sibling, 0 replies; 3+ messages in thread
From: Wintermute @ 1997-03-07 13:34 UTC (permalink / raw)
On Fri, 7 Mar 1997, eric wrote:
> ps:
> FLAGS UID PID PPID PRI NI SIZE RSS WCHAN STA TTY TIME COMMAND
> 100 500 480 1 0 0 16880 1336 wait4 S 1 0:00 /bin/logi
My UDB running RH 4.1 does the same thing.
Should this process even be running? I thought login was supposed to exec
a shell and die. I'm pretty sure it has to do with PAM. Would this be a
problem with the authentication or session fields in pam.conf? Does
anyone have a clue about pam? It seems neat but sometimes I think it
would be easier to use standard idividual application based
authentication (I'm probably going to get lectured for saying this).
thanks
-Brendan
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* ps, process size reporting wrong in 2.0.29
@ 1997-03-07 19:48 eric
1997-03-06 21:54 ` David W. Hankins
1997-03-07 13:34 ` Wintermute
0 siblings, 2 replies; 3+ messages in thread
From: eric @ 1997-03-07 19:48 UTC (permalink / raw)
Just installed redhat 4.1 on an alcor w/ 256mb ram.
Top reports seemingly correct process sizes, but ps reports ridiculous numbers.
For example...
top:
PID USER PRI NI SIZE RSS SHARE STAT LIB %CPU %MEM TIME COMMAND
480 eric 2 0 1336 1336 840 S 1272 0.0 0.2 0:00 login
ps:
FLAGS UID PID PPID PRI NI SIZE RSS WCHAN STA TTY TIME COMMAND
100 500 480 1 0 0 16880 1336 wait4 S 1 0:00 /bin/logi
ps appears to be using the data in /proc, which also report the excessive size.
In addition, top's assessment of total memory availability seems similarly
skewed:
Mem: 255088K av, 50160K used, 204928K free, 13472K shrd, 17320K buff
Swap: 123016K av, 0K used, 123016K free 22728K cached
As time goes by, even with the machine not doing much, the "used" field
increases fairly quickly to the maximum amount of memory in the machine.
I'd like to know whether there is a really bad memory leak happening, or
whether it's just the memory usage reporting that's wrong... and, of course,
whether anyone else has seen this and knows how to fix it.
Thanks...
eric
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-03-07 19:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-03-07 19:48 ps, process size reporting wrong in 2.0.29 eric
1997-03-06 21:54 ` David W. Hankins
1997-03-07 13:34 ` Wintermute
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox