Results 1 to 18 of 18
  1. #1
    Join Date
    Mar 2002
    Location
    Orlando, FL
    Posts
    12,200

    How often do you rebuild Apache?

    I've found that my Apache installation deteriorates over time. After 4-6 months it seems that simply by rebuilding it performance increases and problems go away, even if there are no crucial updates.

    How often do you rebuild yours?

  2. #2
    Join Date
    Nov 2006
    Location
    Melbourne, Australia
    Posts
    310
    On most of my servers I run Debian and use the Apache package (so I don't actually build it myself). A few virtual servers haven't been updated for a looong time and are still working fine (no performance issues). My main hosting virtual server runs cPanel (and uses cPanel's "EasyApache" to compile Apache). I haven't rebuild that one in a long time, and haven't had any issues with performance either.

  3. #3
    Join Date
    Aug 2005
    Posts
    309
    I only recompile Apache when new updates are released. Otherwise, there haven't been any issues with it.

  4. #4
    I haven't seen the same issue you're describing. I rebuild apache if I need different features than I have compiled in, or want an updated version.
    Phoenix Dedicated Servers -- IOFLOOD.com
    Email: sales [at] ioflood.com
    Skype: iofloodsales
    Backup Storage VPS -- 1TBVPS.com

  5. #5
    Join Date
    Nov 2006
    Location
    Melbourne, Australia
    Posts
    310
    If you're experiencing performance issues with Apache, you could try using an alternative web server like Lighttpd or Cherokee.

  6. #6
    Join Date
    Nov 2009
    Location
    Cincinnati
    Posts
    1,583
    Quote Originally Posted by Daniel15 View Post
    If you're experiencing performance issues with Apache, you could try using an alternative web server like Lighttpd or Cherokee.
    Probably the absolute WORST recommendation I've ever seen. Lighttpd is a hunk of slop and Cherokees config is like writing java.

    If you want to run another Web Server NGINX & Litespeed are the only choices that make sense. I don't think any thing out performs nginx these days...
    'Ripcord'ing is the only way!

  7. #7
    Join Date
    Apr 2011
    Location
    Minneapolis
    Posts
    118
    I only rebuild when I'm upgrading to a new version. I haven't ever noticed any slowdowns or deterioration.

  8. #8
    Join Date
    Nov 2006
    Location
    Melbourne, Australia
    Posts
    310
    Quote Originally Posted by Visbits View Post
    Probably the absolute WORST recommendation I've ever seen. Lighttpd is a hunk of slop and Cherokees config is like writing java.

    If you want to run another Web Server NGINX & Litespeed are the only choices that make sense. I don't think any thing out performs nginx these days...

    Hey, writing Java isn't bad if you're a developer!

    Lighttpd is great, I have never had any issues with it (and use it on a few servers). Cherokee's configuration is mainly done using a web interface, so it's relatively friendly for new users (compared to editing text configuration files) and you don't need to "write Java" (whatever that's meant to mean). As for performance, I think Cherokee is very close to Nginx for dynamic content (you can Google for benchmarks if you like).

  9. #9
    Join Date
    Jul 2005
    Location
    In the Internets
    Posts
    3,622
    Um.... Never?
    StableHost .:. Unlimited web hosting done right. Experience the unlimited difference.
    PingThat .:. Is your website down? Find out now with our QuickChecker technology.

  10. #10
    Join Date
    Apr 2011
    Posts
    41
    so apache is good for websites i suppose?

  11. #11
    Join Date
    Mar 2009
    Posts
    649
    I never rebuild it because I don't use it.
    [GB ≠ GiB] [MB ≠ MiB] [kB ≠ kiB] [1000 ≠ 1024] [Giga ≠ gram] [Mega ≠ milli] [Kelvin ≠ kilo] [Byte ≠ bit]
    There is no millibit. There is no gram-bit. There is no Kelvin-Byte.

  12. #12
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    8,910
    Quote Originally Posted by Acroplex View Post
    After 4-6 months it seems that simply by rebuilding it performance increases and problems go away, even if there are no crucial updates.
    That doesn't make any sense unless the problems existed from the start. The only thing that comes to mind is that by rebuilding Apache you're also removing the domlogs/logs and freeing up the disk space which is somehow helping performance... *shrugs*
    Patrick William | RACK911 Labs | Software Security Auditing
    400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com

    www.HostingSecList.com - Security notices for the hosting community.

  13. #13
    Join Date
    Aug 2005
    Posts
    309
    Quote Originally Posted by Visbits View Post
    Lighttpd is a hunk of slop...
    If this represents your experience with lighttpd, you're doing it wrongly.

    Quote Originally Posted by Daniel15 View Post
    Lighttpd is great, I have never had any issues with it (and use it on a few servers).
    +1
    Been pushing 200-500 req/sec through lighttpd for a few years now. Zero issues, absolutely great performance.

  14. #14
    Join Date
    Jan 2007
    Posts
    1,107
    With cPanel and EasyApache, I rebuild whenever there's an update, meaning once every few weeks. That ought to be more than sufficient.
    Best,
    Captain Marvel
    Host/Executive Producer, The Paracast, www.theparacast.com
    I do not represent the hosting industry!

  15. #15
    Join Date
    May 2008
    Posts
    43
    Never.. And if "rebuilding" (re-compiling?) Apache "fixes" issues for you, there's something wrong.

  16. #16
    Join Date
    Mar 2002
    Location
    Orlando, FL
    Posts
    12,200
    Thanks for your replies. I will give lighttpd a try.

  17. #17
    Join Date
    Apr 2010
    Location
    Lansing, MI
    Posts
    422
    Quote Originally Posted by Acroplex View Post
    I've found that my Apache installation deteriorates over time. After 4-6 months it seems that simply by rebuilding it performance increases and problems go away, even if there are no crucial updates.

    How often do you rebuild yours?
    Couple questions: Have you tried adjusting Apache's configuration directives? Too, have you been restarting Apache at all during that time? Or just recompiling it once it starts to slow down. There's all kinds of investigation and optimization that you can (should) be trying first.
    Benny Crampton
    Liquid Web - Dedicated Hosting with Heroic Support
    StormOnDemand - Flexible Cloud Hosting Infrastructure
    1-800-580-4985 | Twitter: @liquidweb | @StormOnDemand

  18. #18
    Join Date
    May 2008
    Posts
    43
    Quote Originally Posted by Acroplex View Post
    Thanks for your replies. I will give lighttpd a try.
    This is like saying you didn't maintain a car properly and that you will give another brand a try.

    Seriously Apache doesn't require any kind of frequent "rebuilds" or restarts unless you're doing something wrong.

    If restarting it helps, you must have stuck process, can be due to slow mysql queries, but we would need more details.

Similar Threads

  1. errors after rebuild apache
    By mohammad6006 in forum VPS Hosting
    Replies: 12
    Last Post: 03-17-2010, 04:06 AM
  2. how long does Apache rebuild take?
    By allanh in forum Hosting Security and Technology
    Replies: 7
    Last Post: 02-21-2007, 07:47 PM
  3. Apache Rebuild
    By TecLAB in forum Hosting Security and Technology
    Replies: 3
    Last Post: 12-20-2006, 03:16 PM
  4. How to rebuild apache?
    By codek in forum Hosting Security and Technology
    Replies: 3
    Last Post: 07-13-2005, 02:31 PM
  5. Help with Apache Rebuild in WHM
    By buyourweb in forum Dedicated Server
    Replies: 4
    Last Post: 06-23-2004, 02:47 PM

Posting Permissions

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