Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 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