[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: RHEL 4 improvement in use of swap? (compared to RHEL 3)
- From: John Summerfied <debian herakles homelinux org>
- To: "Red Hat Enterprise Linux 4 (Nahant) Discussion List" <nahant-list redhat com>
- Subject: Re: RHEL 4 improvement in use of swap? (compared to RHEL 3)
- Date: Sat, 29 Oct 2005 07:43:03 +0800
Leos Bitto wrote:
About a year ago we found an issue with RHEL 3 AS, which we considered
serious - however, when I called Red Hat support, I was assuerd that the
behaviour was absolutely normal. What happened was a server with 4 CPUs,
2 GB RAM and 2 GB swap, which started swapping terribly after some disk
activity appeared, and kept swapping ever since then, until we rebooted it.
We have an in-house developed Java application, which is running using
Sun's JVM 1.4. This application receives authentication requests from
some black-box device and has to respond quickly, otherwise that
black-box device considers the authentication requests failed.
We were able to trigger the issue simply by analyzing some large logs
using simple grep commands. What happened was that the server cached the
logs in RAM and forced the application to swap and thus slow down
unacceptably. What bothered us was that the application never returned
to the original speed, even after we stopped accessing the logs. Even
after several hours it did not recover, so we had to reboot the server.
We solved it by turning off the swap - fortunatelly we had enough RAM.
In that case, this should work:-)
swapoff -a
swapon -a
--
Cheers
John
-- spambait
1aaaaaaa computerdatasafe com au Z1aaaaaaa computerdatasafe com au
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
do not reply off-list
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]