[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

/proc/meminfo accurate?



Hi All,

I've observe something on my system (host) for a while now and unable to put my finger on the problem.
I've notice after doing some cross compiling( building kernel, apps, etc) my system gets sluggish and drags.
I did a /proc/meminfo and noticed I'm using quite a lot of memory, much more than expected considering what I'm running. I looked at the meminfo on my target and noticed the same thing. However, on my target, I could consider that as a memory leak on my application, but on the host?
On the host I have a few things running mainly server such as nfs, dhcp, tftp etc. I also run scratchbox.

Does anyone have any ideas why I'm experiencing this and does anyone have possible solutions? Does this memory usage looks right to most of yo?
I'm running sarge on 2.6.8.

This is what My /proc/meminfo looks like: (for a 768M Ram, that's a lof of usage for my system)

MemTotal:       776136 kB
MemFree:         49360 kB
Buffers:        178244 kB
Cached:         178256 kB
SwapCached:         20 kB
Active:         268488 kB
Inactive:       202512 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       776136 kB
LowFree:         49360 kB
SwapTotal:     1172736 kB
SwapFree:      1171992 kB
Dirty:              48 kB
Writeback:           0 kB
Mapped:         153768 kB
Slab:           238680 kB
Committed_AS:   220960 kB
PageTables:       1032 kB
VmallocTotal:   253872 kB
VmallocUsed:     13044 kB
VmallocChunk:   240532 kB


This is what's mounted:

/dev/sda3 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda4 on /home type ext3 (rw)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/home/junior/projects/scratchbox on /home/junior/projects/scratchbox/users/junior/scratchbox type none (rw,bind)
/tmp on /home/junior/projects/scratchbox/users/junior/tmp type none (rw,bind)
/proc on /home/junior/projects/scratchbox/users/junior/proc type none (rw,bind)
/dev on /home/junior/projects/scratchbox/users/junior/dev type none (rw,bind)
/dev/pts on /home/junior/projects/scratchbox/users/junior/dev/pts type none (rw,bind)
/dev/shm on /home/junior/projects/scratchbox/users/junior/dev/shm type none (rw,bind)
/sys on /home/junior/projects/scratchbox/users/junior/sys type none (rw,bind)


This is what it initially looks like:
MemTotal:       776136 kB
MemFree:        614176 kB
Buffers:          9664 kB
Cached:          74132 kB
SwapCached:          0 kB
Active:          86520 kB
Inactive:        45072 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       776136 kB
LowFree:        614176 kB
SwapTotal:     1172736 kB
SwapFree:      1172736 kB
Dirty:             216 kB
Writeback:           0 kB
Mapped:          72028 kB
Slab:            13516 kB
Committed_AS:    87192 kB
PageTables:        884 kB
VmallocTotal:   253872 kB
VmallocUsed:     13044 kB
VmallocChunk:   240532 kB

____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
Check it out at http://www.inbox.com/marineaquarium



Reply to: