1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Problems with memory and settings-urgent

Discussion in 'Plesk for Linux - 8.x and Older' started by antxx, Nov 14, 2005.

  1. antxx

    antxx Guest

    0
     
    I am getting a lot of "Cannot Allocate memory", Apache dies, Plesk panel becomes blank. And that's when DNS server Bind doesn't die on me...Quite frankly i am in despair...

    Let me show you some thing that was changed:

    httpd.conf

    Timeout 60

    KeepAlive On

    MaxKeepAliveRequests 90

    KeepAliveTimeout 15

    <IfModule prefork.c>
    StartServers 8
    MinSpareServers 5
    MaxSpareServers 20
    MaxClients 150
    MaxRequestsPerChild 800
    </IfModule>

    <IfModule worker.c>
    StartServers 2
    MaxClients 150
    MinSpareThreads 25
    MaxSpareThreads 75
    ThreadsPerChild 25
    MaxRequestsPerChild 0
    </IfModule>

    # cat /proc/user_beancounters
    Version: 2.5
    uid resource held maxheld barrier limit failcnt
    4352: kmemsize 13867881 13871418 16384000 18022400 219285

    this is an error i see with psa status:
    /etc/init.d/psa: fork: Cannot allocate memory
    /etc/init.d/psa: line 1: /bin/basename: Too many open files in system
    /etc/init.d/psa: pipe error: Too many open files in system
    /etc/init.d/psa: fork: Cannot allocate memory
     
  2. antxx

    antxx Guest

    0
     
    Apache is giving me this:

    [Mon Nov 14 12:33:22 2005] [error] (12)Cannot allocate memory: apr_poll: (listen)
    [Mon Nov 14 12:33:22 2005] [error] (12)Cannot allocate memory: apr_poll: (listen)
    [Mon Nov 14 12:33:30 2005] [error] (12)Cannot allocate memory: apr_poll: (listen)
    [Mon Nov 14 12:33:30 2005] [error] (12)Cannot allocate memory: fork: Unable to fork new process
    [Mon Nov 14 12:33:40 2005] [error] (12)Cannot allocate memory: fork: Unable to fork new process
    [Mon Nov 14 12:33:51 2005] [error] (12)Cannot allocate memory: fork: Unable to fork new process
    [Mon Nov 14 12:34:01 2005] [error] (12)Cannot allocate memory: fork: Unable to fork new process
    [Mon Nov 14 12:34:01 2005] [error] (12)Cannot allocate memory: apr_poll: (listen)
    [Mon Nov 14 12:34:01 2005] [error] make_obcallback: could not import mod_python.apache.\n
    'import site' failed; use -v for traceback
    ImportError: No module named mod_python.apache
    [Mon Nov 14 12:34:11 2005] [alert] Child 8164 returned a Fatal error...\nApache is exiting!
    [Mon Nov 14 12:34:11 2005] [emerg] (22)Invalid argument: couldn't grab the accept mutex
    [Mon Nov 14 12:34:11 2005] [emerg] (22)Invalid argument: couldn't grab the accept mutex
    [Mon Nov 14 12:34:11 2005] [emerg] (22)Invalid argument: couldn't grab the accept mutex
     
Loading...