The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

virtual memory exhausted error while upgrading apache

Discussion in 'EasyApache' started by vgaspar, Sep 2, 2007.

  1. vgaspar

    vgaspar Registered

    Joined:
    Sep 2, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Greetings,

    I've got a fedora core 2 server running apache 1.3.37 and I want to upgrade to apache 2.2.
    I tried to use easyapache but it's giving me the following error:

    virtual memory exhausted: Cannot allocate memory

    I was able to figure out that it's while compiling DomXslt (libxml2-2.6.27).
    With 'top' I monitored the process and swap memory is not even touched, so I guess that adding more swap memory will not resolve the problem. I also checked the console memory limits with 'ulimit' and virtual memory is set to unlimited.

    I was able to successfully compile libxml2-2.6.27 without easyapache, removing the optimization flags for gcc (CFLAGS=-O0). I did the same thing with easyapache following the guide (http://www.cpanel.net/support/docs/easyapache.htm) but I got the same error.

    Can anyone help me?

    Thanks in advance!
     
  2. vgaspar

    vgaspar Registered

    Joined:
    Sep 2, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Solved

    Well, I couldn't exactly identify what was the problem but a server restart may have solved it.
     
Loading...

Share This Page