Results 1 to 9 of 9

Thread: apache troubles

  1. #1

    Unhappy apache troubles

    eek, apache has been going down randomly for a few days now was wondering whats going on.. since i'm no apache expert, I was wondering if anyone here knew? I get this in my error logs..:

    [Sat Oct 26 22:52:45 2002] [warn] long lost child came home! (pid 2379)
    [Sat Oct 26 22:52:45 2002] [warn] long lost child came home! (pid 2378)

    [Sat Oct 26 22:56:23 2002] [warn] long lost child came home! (pid 2828)
    [Sat Oct 26 22:56:23 2002] [warn] long lost child came home! (pid 2827)
    [Sat Oct 26 22:56:23 2002] [warn] long lost child came home! (pid 2826)

    anyone know whats up?

    thanks in advance.

  2. #2
    Join Date
    Dec 2000
    Location
    San Diego, CA
    Posts
    1,571
    It's probably CPanel restarting Apache every ten minutes or so. I would check StartServers and make sure it's the same as MinSpareServers. (to decrease restart time)
    -Mooneer
    Thoughtbug Software: Hosting shouldn't require any thought.
    Legitimate host? Support the Code of Ethical Conduct

  3. #3
    but i don't have Cpanel installed. only ensim.

  4. #4
    Join Date
    Dec 2000
    Location
    San Diego, CA
    Posts
    1,571
    Originally posted by exploiter
    but i don't have Cpanel installed. only ensim.
    The same info about MaxSpareServers/MinSpareServers should still apply then. It's more of an Apache issue than any control panel.
    -Mooneer
    Thoughtbug Software: Hosting shouldn't require any thought.
    Legitimate host? Support the Code of Ethical Conduct

  5. #5
    ah.

    MinSpareServers & StartServers are the same (5) , MaxSpareServers is 10.. this normal?

    thanks for your help.

  6. #6
    Join Date
    Dec 2000
    Location
    San Diego, CA
    Posts
    1,571
    Yeah. That's what is configured on every Apache system by default. In order to determine what exactly you need for Min/MaxSpareServers, run this command:

    ps aux | grep apache | wc -l

    It should print out a number. That's approximately the number of requests being served at once at the present moment. Make sure MinSpareServers and StartServers is slightly below that number and make sure MaxSpareServers is slightly above it. (for instance, if that command prints out 100, try using 50 and 150 for MinSpareServers and MaxSpareServers)

    I hope that helps.
    -Mooneer
    Thoughtbug Software: Hosting shouldn't require any thought.
    Legitimate host? Support the Code of Ethical Conduct

  7. #7
    ahh excellent.

    thanks alot for your help.

  8. #8

    My apache server restarts every 24 odd hours

    HI,
    I have apache with 512 MB ram. THe webserver serves static content with lots of traffic. I check the server-status to find out that the server restarts itself every 24 odd hours. It has ensim installed with logrotation. Isn't the big log file causing problems
    .

    Restart Time: Sunday, 10-Nov-2002 16:41:10 IST
    Restart Time: Monday, 11-Nov-2002 16:37:33 IST
    Restart Time: Wednesday, 13-Nov-2002 16:35:27 IST

    Regards.

  9. #9
    umm, some kind of cron job?
    what do your apache logs say?

Posting Permissions

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