Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    2

    Angry virtual memory exhausted error while upgrading apache

    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. #2
    Registered User
    Join Date
    Sep 2007
    Posts
    2

    Lightbulb Solved

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

Similar Threads & Tags
Similar threads

  1. memory size exhausted
    By glenn52 in forum New User Questions
    Replies: 3
    Last Post: 01-27-2011, 08:53 PM
  2. Replies: 19
    Last Post: 05-04-2010, 08:40 PM
  3. Virtual memory error
    By ASTRAPI in forum New User Questions
    Replies: 1
    Last Post: 03-11-2010, 02:15 PM
  4. Upgrading Apache libmysqlclient error
    By xmlmania in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-15-2005, 12:33 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube