commands to solve big problem

Discussion in 'Apache' started by ahmedsamer, May 19, 2006.

  1. #1
    hiiiiiiiiiii all
    the load in the server is goes high manytimes
    and i use this command to make load goes down
    "killall -HUP /usr/local/apache/bin/httpd "
    and this command make good effect
    but this need me to stay with the server all times
    so how can make this command to be excuted from itself
    when the load comes over than the acceptable value
    so please any one can help me with any commands
    or any code can help me to solve this problem
    i sorry for taking your time with my problem
    but please i need help for that problem
    thanks allllllllllllllllllllllllllllllllllllllllllllllllllllll
     
    ahmedsamer, May 19, 2006 IP
  2. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #2
    it's not a good thing to always restart your apache server as you would lose some connection try other things such as looking into scripts of your site and snitize everything you could. look for a rootkit maybe it has one.

    Hope it Helps
     
    theblight, May 23, 2006 IP