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

RE: [cobalt-users] Very Slow RAQ4



Ok here are the steps you need to execute from shell:

mkdir /home/swap 

cd /home/swap/ 

dd if=/dev/zero of=swapfile1 bs=1024 count=524288 

/sbin/mkswap -c -v1 /home/swap/swapfile1 

chmod 600 /home/swap/swapfile1 

/sbin/swapon /home/swap/swapfile1 

cat /proc/swaps 

Then you need to add swapon command in the  /etc/rc.d/rc.local to ensure that the extra swap is turned on when you reboot.


Al-Juhani
aljuhani@xxxxxxxxx

======= Original Message =======

  From: Phil Jones cobalt-users@xxxxxxxxxxxxxxx 
  To: cobalt-users@xxxxxxxxxxxxxxx 
  Sent: Wed Jan 29 06:34:04 2003  
  Subject: [cobalt-users] Very Slow RAQ4

So how do I go about adjusting the swap file size?


-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Al-Juhani
Sent: Wednesday, January 29, 2003 2:19 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: RE: [cobalt-users] Very Slow RAQ4


Could be not sufficient swap space.  Run the top command and look for swap
settings in the upper part.
The swap should not be less than your physical RAM.  If it does then the
server will act as you have described.

There is a solution to this by making/setting a swap file under your /home

Al-Juhani
aljuhani@xxxxxxxxx

======= Original Message =======

  From: Phil Jones cobalt-users@xxxxxxxxxxxxxxx
  To: cobalt-users@xxxxxxxxxxxxxxx
  Sent: Wed Jan 29 06:04:02 2003
  Subject: [cobalt-users] Very Slow RAQ4

Hi

Sorry for being a bit basic, but we've got a RAQ4 that is slowly
grinding to a halt. Web pages and database queries do eventually
complete, but they are taking longer and longer.

I realise the cause could be almost anything - but has anyone got
any ideas what to check first on the server? There must be some
process somewhere taking up a hell of a lot of resources

Phil Jones