Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, I have an application on Red Hat Enterprise Linux AS release 3 (Taroon). It uses mysql as back end. Some time back the server response slowed down and the ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    23

    swap unutilised


    Hi,

    I have an application on Red Hat Enterprise Linux AS release 3 (Taroon). It uses mysql as back end. Some time back the server response slowed down and the pages took ages to load. The reason was tracked down to low memory. So the memory was upgraded from 2GB to 4GB.
    But the problem recurred. I noticed that the swap memory is not being used. What could be the reason ? How can I make the OS to use swap memory ?

    Code:
    free -m
                 total       used       free     shared    buffers     cached
    Mem:          4017       3999         17          0        192       3614
    -/+ buffers/cache:        193       3824
    Swap:         4094          0       4094

  2. #2
    Linux Engineer khafa's Avatar
    Join Date
    Apr 2008
    Location
    Tokyo, Japan
    Posts
    858
    hi


    from the free output we see that your system has enough cached memory so it does
    not need to use swap.
    Linux and me it's a love story

  3. #3
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    Quote Originally Posted by me_spearhead
    How can I make the OS to use swap memory ?
    You don't want that. (Unless you'd really like to see performance crawl.)

    I think you need to revisit your bottleneck analysis.

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •