tis 2006-10-10 klockan 21:25 -0300 skrev Charles Regan:
> I am using 2.6STABLE3 on kernel 2.6.8-2
> After a couple of hours Squid took all mem available.
It didn't.
It's just a matter of how to read the amount of free memory in Linux.
It's not easy as the OS uses any free memory as buffer/cache for the
filesystem.
Under normal operation there should be around 5-12MB "free" memory, if
not there is something wrong..
> What is causing this ? I had the same problem when using 2.5.
>
> Mem: 906752k total, 902464k used, 4288k free, 32168k buffers
> Swap: 3911816k total, 4k used, 3911812k free, 637096k cached
You have 657 MB free. Plenty free memory there.
"free -t"
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 2781 proxy 15 0 174m 168m 2616 S 1.0 19.0 1:31.55 squid
And Squid is using 168 MB.
So everything is just in order. It's just that Linux does not have a
simple "free memory" value. The best approximation is the "Free +/-
buffers/cache".
Regards
Henrik
This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:04 MST