Results 1 to 5 of 5

Thread: How To find the memory leak?

  1. #1
    Join Date
    Jan 2012
    Beans
    67

    Exclamation How To find the memory leak?

    Im preparing a web-server and have already installed Wordpress on it. Everything worked fine. But instantly, the memory usage went up. Now I only have 300MB of memory free. To check the problem, I disabled some services like php, nginx, fail2ban, psad and mysql. It reduced the memory usage by a small amount but still its too high.

    Then I restarted the machine and started working again. Again after some time, the memory usage shot up! How can I locate the exact problem? What might be causing this issue?

    PS : Its an Ubuntu

    PS : It looks like the swap is not yet used. Swap usage : 0 (The server is a virtual machine (KVM))

  2. #2
    Join Date
    Nov 2005
    Location
    Sendai, Japan
    Beans
    11,296
    Distro
    Kubuntu

    Re: How To find the memory leak?

    How are you checking the amount of free memory?
    「明後日の夕方には帰ってるからね。」


  3. #3
    Join Date
    Jan 2012
    Beans
    67

    Re: How To find the memory leak?

    Quote Originally Posted by Bachstelze View Post
    How are you checking the amount of free memory?
    The output of free -m

    total used free shared buffers cached
    Mem: 2003 1764 238 0 43 1350
    -/+ buffers/cache: 370 1633
    Swap: 2043 0 2043

  4. #4
    Join Date
    Nov 2005
    Location
    Sendai, Japan
    Beans
    11,296
    Distro
    Kubuntu

    Re: How To find the memory leak?

    「明後日の夕方には帰ってるからね。」


  5. #5
    Join Date
    Jan 2012
    Beans
    67

    Re: How To find the memory leak?

    Quote Originally Posted by Bachstelze View Post
    Thanks a lot for the explanation

Tags for this Thread

Bookmarks

Posting Permissions

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