i've been trying to determine where the problem's coming from, not wanting to 
look at the kernel 'cause well... i don't know how to fix that.  but i can't 
avoid it.  my router is a k6-II running gentoo-sources, iptables, sshd and 
that's it.  and here's the output of free:

# free
             total       used       free     shared    buffers     cached
Mem:         25992      25492        500          0        176       3396
-/+ buffers/cache:      21920       4072
Swap:       136544       1684     134860

now i understand that linux likes to use all of my ram, but caches most of it, 
so the "free" column should be rather low, but 500bytes?  and where's all the 
rest of my ram gone?  the box doesn't do anything other than route packets!

my fileserver/webserver is showing the same symptoms, though it's running 
apache, mysql, samba, nfs, sendmail, rsyncd, and sshd.  and i can't afford to 
shut much off, so i can't be sure if it's the kernel in it's case, but here's 
the output of free on that box:

free
             total       used       free     shared    buffers     cached
Mem:        256580     252904       3676          0      25148      55208
-/+ buffers/cache:     172548      84032
Swap:       530136       3720     526416

my fileserver has considerably more ram, but nearly all of it is used.  the 
box doesn't even run x, so why all the usage?  is this a leak?  can i have 
some suggestions as to how to track it down and fix it?  are there common 
pitfalls a guy can run into when configuring a kernel?

any help would be greatly appreciated.

-- 
the trouble with the world is that the stupid are cocksure
and the intelligent are full of doubt.
        - bertrand russell

--
[EMAIL PROTECTED] mailing list

Reply via email to