Tweaking Apache to optimize better performance for proxy site

Discussion in 'Apache' started by tandiono, Jun 2, 2007.

  1. #1
    Is there anyway that i can improve the web proxy by Tweaking Apache to optimize better performance? Any tips? Thanks
     
    tandiono, Jun 2, 2007 IP
  2. MrX

    MrX Well-Known Member

    Messages:
    1,563
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    140
    #2
    drop the keep alive timeout to 1 - 3 seconds at most. This will free up connections. increase your maxclients (provided you have the ram). turn off zlib compression if your cpu is being eaten alive. get rid of magic quotes. theres a few other things but those are off the top of my head.
     
    MrX, Jun 2, 2007 IP
  3. ThreeGuineaWatch

    ThreeGuineaWatch Well-Known Member

    Messages:
    1,489
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Remove all unnecessary DSO modules to reduce the Apache memory footprint. Remove all other unnecessary services to free up the maximum amount of physical RAM for the web server.
     
    ThreeGuineaWatch, Jun 2, 2007 IP
  4. tandiono

    tandiono Well-Known Member

    Messages:
    353
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #4
    Im using PhProxy btw :) Thanks for the tips. Is there any other tips still?
     
    tandiono, Jun 2, 2007 IP
  5. yourihost

    yourihost Well-Known Member

    Messages:
    1,708
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    115
    #5
    variables_order = ‘GPC’
    register_argc_argv = ‘Off’
    register_globals = ‘Off’ (this is a good idea to keep off for security purposes as well)
    always_populate_raw_post_data = ‘Off’
    magic_quotes_gpc = ‘Off’

    Disable Error Logging. This is a good idea to keep on when you are developing your scripts, but it has been known to decrease overall performance.
     
    yourihost, Jun 2, 2007 IP