[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] raq4m acceptable ram usage
- Subject: Re: [cobalt-users] raq4m acceptable ram usage
- From: abel <abelgv@xxxxxxxxxxxxxx>
- Date: Wed Feb 11 03:10:02 2004
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi Dmitry, thank you very much for your help . As the end of this mail i
paste my uptime with the memory data as you suggested ( now the server
is lightly less busy than yesterday ).
is there a tool or something i can use to detect problems in hard disk ?
i do not have phisical access to the server.
It would be nice to predict that hd crashes so i can order a new hd. I
think i will put some more RAM and will monitor swap. thanks.
[admin admin]$ uptime
3:58am up 7 days, 15:52, 1 user, load average: 2.19, 1.57, 1.55
[admin admin]$ free
total used free shared buffers
cached
Mem: 127776 113224 14552 155324 11056
24248
-/+ buffers/cache: 77920 49856
Swap: 144544 20808 123736
[admin admin]$ cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 130842624 115900416 14942208 159076352 11321344 24858624
Swap: 148013056 21307392 126705664
MemTotal: 127776 kB
MemFree: 14592 kB
MemShared: 155348 kB
Buffers: 11056 kB
Cached: 24276 kB
SwapTotal: 144544 kB
SwapFree: 123736 kB
On mié, 2004-02-11 at 11:13, Dmitry Alexeyev wrote:
> 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" ?
>
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users