Re: memory handling in pre5/pre6

From: Vandoorselaere Yoann (yoann@mandrakesoft.com)
Date: Mon Apr 17 2000 - 07:18:23 EST


Vandoorselaere Yoann <yoann@mandrakesoft.com> writes:

> Lech Szychowski <lech.szychowski@pse.pl> writes:
>
> > total: used: free: shared: buffers: cached:
> > Mem: 523792384 520155136 3637248 0 46567424 389492736
> > Swap: 542826496 77524992 465301504
> > MemTotal: 511516 kB
> > MemFree: 3552 kB
> > MemShared: 0 kB
> > Buffers: 45476 kB
> > Cached: 380364 kB
> > HighTotal: 0 kB
> > HighFree: 0 kB
> > LowTotal: 511516 kB
> > LowFree: 3552 kB
> > SwapTotal: 530104 kB
> > SwapFree: 454396 kB
> >
> > > I've never had this machine swapping before (last version before these
> > > was 2.3.47). I don't know what changed but it wasn't a good change.
> > > The machine has enough memory to do its job and it's not necesary to
> > > keep everything in the cache.
> > > Again, this is a unmodified 2.3.99-pre6 on a 2xPIII machine.
> >
> > All I can say is "same here"...

Here is what i'm seeing :

alph:~$ cat /proc/meminfo
        total: used: free: shared: buffers: cached:
Mem: 129785856 125657088 4128768 0 41971712 42627072
Swap: 105902080 23027712 82874368
MemTotal: 126744 kB
MemFree: 4032 kB
MemShared: 0 kB
Buffers: 40988 kB
Cached: 41628 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 126744 kB
LowFree: 4032 kB
SwapTotal: 103420 kB
SwapFree: 80932 kB
alph:~$ ipcs -mp

------ Shared Memory Creator/Last-op --------
shmid owner cpid lpid
32769 root 347 398
65538 root 347 398
163843 root 347 464
688132 root 347 456
2785285 yoann 454 716
1441798 root 347 724
2818055 yoann 454 716
2850824 yoann 454 716
2883593 yoann 454 716
2916362 yoann 454 716
2949131 yoann 454 716
5210124 yoann 536 347
5242893 yoann 536 347
5275662 yoann 536 347
5308431 yoann 536 347
5341200 yoann 536 347
5373969 yoann 536 347
9961490 root 347 544
10125331 root 347 689
10190868 root 347 689
10256405 root 347 568

alph:~$ ps aux | grep "347\|454\|536"
root 347 0.0 7.0 32936 8996 ? S 01:30 0:41 /usr/X11R6/bin/X
yoann 454 0.0 3.3 9320 4260 ? S 01:32 0:02 panel
--sm-config-prefix /panel.d/default-DuVKXv/ --sm-client-id
117f000001000095581074100000003460012
yoann 536 0.0 1.7 8092 2192 ? S 01:32 0:00 tasklist_applet
--activate-goad-server tasklist_applet
alph:~$

Leaked shm segment ?

-- 
                   -- Yoann,  http://prelude.sourceforge.net
     It is well known that M$ products don't call free() after a malloc().
     The Unix community wish them good luck for their future developments.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:10 EST