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

Re: [cobalt-developers] Server Load / Memory



am 09.04.2001 10:58 Uhr schrieb Janusz Grabowski unter jjan@xxxxxxxxxx:

> On 08 Apr 2001 13:15:01 -0400, Jason D. Piercy wrote:
>> 
>> I have a RAQ4R that has all the current Security/System updates on it. I has
>> however rebooted 4 times in the last week, after going into the logs I have
>> no indication as to why.
>> 
>> Friday evening I swaped out the memory hoping that this could be the cause -
>> but yet again this morning it has rebooted.
>> 
>> When I run top my stats are as follows:
>> 
>> load: 0.30, 0.29 0.39
>> 154 proceses, 153 sleepng, 1 running (top)
>> cpu: 3.4 % user, 5.7% system, 0% nice, 90.9% idle
>> memory: 517368K av, 513953K used, 13096K free, 680.900 shrd, 28156K buff
>> swap: 131448K av, 0K used, 131448K free,                              387740K
>> cached
>> 
>> The couple of questions I have is:
>> 
>> A) has anyone experienced random rebooting? and solved the problem?
>> 
>> b) why and where is the memory going - i.e. 90-95% of memory used when
>> system is idle?
>> 
>> 
>> Any help on this front would be appreciated.
>> 
>> 
>> 
>> 
>> Jason D. Piercy
>> Founder & CEO
>> BinaryBlocks Inc.
>> 
> 
> 
> 
> The problem is that your system have 0.5 GB of memory and only about
> 130MB of swap.
> And when swap ends the kernel couse panic and system reboots.
> All cobalt servers have too small swap partition. Simplest way to fix
> it, is to add another disk and
> make on it second swap partition with about 200% of your RAM.
> 
> It is normal to consume 90-95% of memory, becouse system is cacheing
> access to block devices like hard disk
> to maximize performance of your system.
> And when you run slocate its "walks" throught all filesystems and every
> directories and files so disk bufors doesn't
> help system (Hit ratio under 50% ) and system decided to rebuild bufors
> from a screch, and thats way some of your
> memory is freed.
> 
> 
> PS. Sorry for my poor english.
> 
> 
> --
> Janusz Grabowski
> tp.internet
> 
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers
> 

Hi!

According to this topic:

I think, I never looked hard enough on my RaQ3 concerning these percentages.
Since the last update in march this RaQ3 has been never idle again:

 11:33am  up 27 days, 16 min,  1 user,  load average: 2.15, 2.05, 2.01
71 processes: 68 sleeping, 3 running, 0 zombie, 0 stopped
CPU states: 71.5% user, 28.4% system,  0.0% nice,  0.0% idle
Mem:  128048K av, 103152K used,  24896K free,  92288K shrd,  20336K buff
Swap: 131536K av,  10304K used, 121232K free                 24360K cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT  LIB %CPU %MEM   TIME COMMAND
 1111 root      20   0   208   96    64 R       0 48.7  0.0 19060m
lcd-showip
12949 root      15   0   420  420    88 R       0 46.9  0.3 17530m swatch
 5787 root       1   0   148  148   132 S       0  2.1  0.1  13:50
lcd-swrite

...

lcd-showip and lcd-swrite seem to share permanently the whole CPU, but I
never had any problems with this RaQ3.
Is that really normal??

Regards,

Hendrik.