Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2005
    Location
    UK
    Posts
    42

    KeepAlive Off - Reduced impressions?

    While trying to optimize my dedicated server I turned KeepAlive (in httpd.conf) Off and noticed reduced load and better performance but for some reason the number of page impressions was a lot lower when I checked (on phpAdsNew). Is this normal?

    Server specs:

    AMD Barton 3000+
    2GB RAM
    80GB IDE Hard Drive
    Centos 4.3
    Apache 1.3.37, PHP 5.1.6 and MySQL 4.1.21

    The server load is very high during peak times and I know I need a better server but for now I have to stick with this one and try to optimize it more, so any help with optimization would be much appreciated too;

    Here are the main settings of the httpd.conf:

    Timeout 50
    KeepAlive Off
    MaxKeepAliveRequests 100
    KeepAliveTimeout 5
    MinSpareServers 10
    MaxSpareServers 15
    StartServers 10
    MaxClients 256
    MaxRequestsPerChild 4000

  2. #2
    Join Date
    Oct 2002
    Location
    Hong Kong
    Posts
    165
    Turn hostname lookups off, remove modules you don't need.
    Turn caching on. Optimize your MySQL database

  3. #3
    Join Date
    Mar 2005
    Location
    UK
    Posts
    42
    Quote Originally Posted by PPWH
    Turn hostname lookups off, remove modules you don't need.
    Turn caching on. Optimize your MySQL database
    I've done most of that :/ Thanks though.

    Any idea on the reduced stats on phpAdsNew?

  4. #4
    Join Date
    Jun 2006
    Location
    NYC
    Posts
    1,446
    I dont know. We tried it off and had issues like you are mentioning. I have no idea why as it is not supposed to cause any real trouble but I can say we saw something very close to what you are describing.
    FiberPeer.Com | | REAL DDoS Protection | Cloud Hosting | VPS | Dedicated Servers | High Bandwidth Hosting | 1Gbps-10Gbps Unmetered
    FiberPeer DDoS Mitigation | ethProxy Upgraded! | 14-Years Experience | Emergency 24/7 Support
    Visit us @ www.fiberpeer.com

  5. #5
    Join Date
    Mar 2005
    Location
    UK
    Posts
    42
    Quote Originally Posted by serverorigin
    I dont know. We tried it off and had issues like you are mentioning. I have no idea why as it is not supposed to cause any real trouble but I can say we saw something very close to what you are describing.
    So you're saying you also saw reduced stats (e.g. banner impressions) when disabling KeepAlive? Or are you talking about improved performance?

Posting Permissions

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