Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2002

    Apache failes to restart


    Every few days apache failes to restart. When i restart the complete server then it is ok again for a few days so mm is proper installed and ok. This is what the log says:

    Aug 13 11:11:01 s3 httpd: PHP Fatal error: Unable to start session mm module in Unknown on line 0
    Aug 13 11:11:01 s3 httpd:
    Aug 13 11:11:01 s3 httpd: httpd startup failed
    Aug 13 11:12:01 s3 httpd: Ouch! ap_mm_create(1048576, "/var/run/") failed
    Aug 13 11:12:01 s3 httpd: Error: MM: mm:core: failed to acquire semaphore (No space left on device): OS: Invalid argument
    Aug 13 11:12:01 s3 httpd: httpd startup failed

    I have no limit on the /tmp and no maxswapspace, this is my ulimt -a

    > ulimit -a
    core file size (blocks) 0
    data seg size (kbytes) unlimited
    file size (blocks) unlimited
    max locked memory (kbytes) unlimited
    max memory size (kbytes) unlimited
    open files 1024
    pipe size (512 bytes) 8
    stack size (kbytes) 8192
    cpu time (seconds) unlimited
    max user processes 16384
    virtual memory (kbytes) unlimited

    I am running RH 7.1 with all the updates.

    There are also no memory limits set in /etc/security/limits.conf



  2. #2
    Join Date
    Nov 2001
    Ann Arbor, MI
    What do you get when you type:

    ipcs -l

    ipcs -s

    df -k

    -Mark Adams - Secure Michigan web hosting for your business.
    Only host still offering a full money back uptime guarantee and prorated refunds.
    Offering advanced server management and security incident response!

Posting Permissions

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