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

Re: [cobalt-users] raq4m acceptable ram usage



Hello! 

Please, show output of `uptime' too. 

You have 21 Mb in swap, it could be dangerous if it is refreshened too 
fast; may lead directly to hdd crash (I had two in 3 years due to lack 
of RAM and high HDD activity. That was Sun's hdd, but not RaQ.)

Actually, you get 21 Mb in swap after a couple of weeks, it's okay - 
memory leaks, etc (not very high disk activity). Just reboot your 
server once a month or so.

If there's too high disk activity in the swap partition area, you will 
have: 
a) random reboots
b) filesystem dismounts on the fly (pages loss => proccess locking => 
cron activity generates new ones => memory full => kernel semi-crash 
(accepts socket connections, pings, but doesn't fork) 
(very common scenario with bad blocks in swap space)
c) dead proccesses (due to page faults) 

One of my servers lived with almost dead hdd, but it's been crashing 
every week. 

Good solution, if you would have such problems in future is to move swap 
partition somewhere (using parted + mkswap) else, and keep the old area 
empty. 

Best Regards,
Dmitry

>
> My raq4 has 128MB Ram and is running several sites, more or less
> 70000 daily pages with use of php+mysql.
> It is not working slow, but i would like to know if you can tell me
> from your experience if I should put
> more RAM ( maybe 256 ). These is my usual memory use:
>
> [user user]$ cat /proc/meminfo
>         total:    used:    free:  shared: buffers:  cached:
> Mem:  130842624 124936192  5906432 103227392  3366912 24158208
> Swap: 148013056 22814720 125198336
> MemTotal:    127776 kB
> MemFree:       5768 kB
> MemShared:   100808 kB
> Buffers:       3288 kB
> Cached:       23592 kB
> SwapTotal:   144544 kB
> SwapFree:    122264 kB
>
> [user user]$ free -m
>              total       used       free     shared    buffers    
> cached Mem:           124        119          5         98          3
>         23 -/+ buffers/cache:         93         31
> Swap:          141         21        119
>
>
> do you think my server is too busy ? is there a aprox. limit when you
> say: "ok,
> we need more ram" ?