Apache is using full memory and goes for swap

Discussion in 'Apache' started by agriz, Jan 18, 2012.

  1. #1
    Hi

    I have 8GB ram.
    I have ordered upgrade for 16GB

    Right now, Apache is using all the Ram and started to use Swap.
    How do i fix this?

    If i restart apache, Will it temporarily fix that problem?
     
    agriz, Jan 18, 2012 IP
  2. SolidShellSecurity

    SolidShellSecurity Banned

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #2
    Restart will temp fix. Is PHP FastCGI? Have you considered setting up nginx as a reverse proxy and maybe cache content? It would take load off Apache.
     
    SolidShellSecurity, Jan 18, 2012 IP
  3. ideamine

    ideamine Member

    Messages:
    83
    Likes Received:
    2
    Best Answers:
    2
    Trophy Points:
    28
    #3
    restarting apache will surely fix it temporarily .. :) Have a good day :D
     
    ideamine, Jan 30, 2012 IP