Results 1 to 25 of 46
-
05-13-2007, 03:21 PM #1WHT Addict
- Join Date
- Mar 2007
- Posts
- 125
Shared = Downtime, VPS = Downtime and now I have DEDICATED its still downtime...
Hi,
I need suggestions here...When I was in shared hosting, i would get downtime because of too much traffic..then I went to vps, same issue..now I am using a dedicated server and still same issue...
my website is file sharing.. people upload files then embed them to their profiles or blogs...
What kind of server do i need to handle this?
My website is about 1 month old and it has low traffic for now about 20-30k uniques per day (not pageviews)
I know I would get more if i finish a day without downtime (averaging 3 hours of downtime a day)Last edited by treck33; 05-13-2007 at 03:30 PM.
-
05-13-2007, 03:25 PM #2Web Hosting Master
- Join Date
- Apr 2002
- Location
- USA
- Posts
- 5,783
What is the specs of the server?
Why 3 hours of down time?
-
05-13-2007, 03:27 PM #3WHT Addict
- Join Date
- Mar 2007
- Posts
- 125
AMD 3500+ 64 Bit CPU
1 gigs ram
why 3 hours downtime? well, my server keeps on going down because of too much http request and sometimes mysql resquest (connections)
thanks
-
05-13-2007, 03:28 PM #4Web Hosting Evangelist
- Join Date
- Feb 2002
- Location
- International
- Posts
- 490
Sounds like your site is overloading the server.. so you might want to consider:
- Optimising it to use less resources?
- Clustered dedicated array (budget depending?) to split the SQL and HTTP requestsMatthew - Burton Hosting
low cost shared, reseller, VPS & dedicated solutions for over five years - we've got what you need.
http://www.burtonhosting.com
http://www.getmesupport.com - server monitoring service for all!
-
05-13-2007, 03:29 PM #5Web Hosting Master
- Join Date
- Apr 2002
- Location
- USA
- Posts
- 5,783
Sounds like you may need to consider a second server then and move your mysql to it. Break the load down and spread it across 2 servers, Look at optimizing Apache and mysql.
-
05-13-2007, 03:47 PM #6WHT Addict
- Join Date
- Mar 2007
- Posts
- 125
-
05-13-2007, 03:53 PM #7Junior Guru Wannabe
- Join Date
- May 2007
- Location
- Phoenix, AZ
- Posts
- 33
Looks like simple http server overload.
Close all mysql connections and test server.
-
05-13-2007, 07:21 PM #8Newbie
- Join Date
- Apr 2007
- Posts
- 20
if it's strictly file sharing, split the web server and database like others above have said, then replace Apache with lighttpd, you'll see the load drop significantly
On my static file server, using Apache my load was 5+ constantly, after moving over to lighttpd it never goes past 0.5 even during peak hours, getting around 100k+ uniques per day on a E6300 w/1GB RAM
-
05-13-2007, 07:30 PM #9WHT Addict
- Join Date
- Jul 2004
- Location
- Chicago, IL
- Posts
- 128
sounds like you need to limit the amount of connections per user. check out mod_limitipconn , that mod saved my server.
-
05-13-2007, 07:57 PM #10Eternal Member
- Join Date
- Dec 2004
- Location
- New York, NY
- Posts
- 10,710
Two words: Drop Apache.
www.litespeedtech.com.MediaLayer, LLC - www.medialayer.com Learn how we can make your website load faster, translating to better conversion rates for your business!
The pioneers of optimized web hosting, featuring LiteSpeed Web Server & SSD Storage - Celebrating 10 Years in Business
-
05-13-2007, 08:04 PM #11WHT Addict
- Join Date
- Mar 2007
- Posts
- 125
Looks like simple http server overload.
Close all mysql connections and test server.
if it's strictly file sharing, split the web server and database like others above have said, then replace Apache with lighttpd, you'll see the load drop significantly
On my static file server, using Apache my load was 5+ constantly, after moving over to lighttpd it never goes past 0.5 even during peak hours, getting around 100k+ uniques per day on a E6300 w/1GB RAM
Two words: Drop Apache.
www.litespeedtech.com.
Thanks. I will consider this but i will make a good deep researching first.
thanks guys
-
05-13-2007, 08:09 PM #12WHT Addict
- Join Date
- Mar 2007
- Posts
- 125
ok..litespeedtech is not free..
is lighttpd free? what is lighttpd exactly?
-
05-13-2007, 09:28 PM #13Web Hosting Master
- Join Date
- Feb 2003
- Location
- Dallas, TX
- Posts
- 1,498
lighttpd is lean web server that runs more efficiently than apache (read: uses less resources to do the same thing). We've used it on some VB sites and have gotten a bit of an improvement, but don't expect magic there.
Your issue may be more of an optimization issue as a dedicated server for that type of purpose should be enough. Perhaps try adding more RAM?
JoseQTailorMadeServers.Com - Dallas Dedicated Servers since 2003
joseq@tailormadeservers.com | Skype (TailorMadeServers) | http://twitter.com/tailoredservers
-
05-13-2007, 09:34 PM #14WebHosting Master
- Join Date
- Dec 2006
- Posts
- 4,151
lighttpd is a great web server.
It cut my server load from load 5 average to load 1.
-
05-13-2007, 09:35 PM #15WHT Addict
- Join Date
- Mar 2007
- Posts
- 125
My programmer is currently fixing his script so it will use a small amount of resources.. if that doest work, i will upgrade to the next plan ..
Does anyone know a service or a company that installs lighttpd?
-
05-13-2007, 09:41 PM #16WHT Addict
- Join Date
- Mar 2007
- Posts
- 125
Im also able to lessen my downtime by having http server restart button ready so when my host tracker sends me downtime email, first thing i do is click on that restart button and it would restore up few seconds later =) the bad thing about this is i need to stay on my computer 24/7
since its sunday, i am really staying infront of my computer because big money comes during the weekends =) and i dont want that to get wasted because of downtime.
-
05-13-2007, 09:59 PM #17Web Hosting Master
- Join Date
- Jun 2004
- Posts
- 972
Just out of curiosity is this Apache 2 or 1.33 you are using?
-
05-13-2007, 10:01 PM #18Junior Guru
- Join Date
- May 2004
- Location
- Tucson, Arizona
- Posts
- 218
You can also look at configuring squid to act as your web server for static content.
Plain Fast Small Business Web Hosting & Server Management
-
05-13-2007, 10:01 PM #19WHT Addict
- Join Date
- Mar 2007
- Posts
- 125
Server Version: Apache/1.3.37
-
05-13-2007, 10:42 PM #20Web Hosting Master
- Join Date
- Feb 2003
- Location
- Dallas, TX
- Posts
- 1,498
If an apache restart solves the problem, sounds like you may have some scripts that are not clearing out perhaps?
TailorMadeServers.Com - Dallas Dedicated Servers since 2003
joseq@tailormadeservers.com | Skype (TailorMadeServers) | http://twitter.com/tailoredservers
-
05-13-2007, 10:50 PM #21WHT Addict
- Join Date
- Mar 2007
- Posts
- 125
yes it seems like it...my programmer is working on it .. are you talking about closing out mysql connection?
-
05-13-2007, 10:53 PM #22Web Hosting Master
- Join Date
- Feb 2003
- Location
- Dallas, TX
- Posts
- 1,498
It could be anything. Infinite loops, some queries that may take too long to answer may be slowly accumulating, super slow downloaders, things like that. I would look at the processes when Apache stops responding and find out what's going on.
May also be useful to write a cron job that checks for apache to be responding properly and restart apache if it isn't.
JoseQTailorMadeServers.Com - Dallas Dedicated Servers since 2003
joseq@tailormadeservers.com | Skype (TailorMadeServers) | http://twitter.com/tailoredservers
-
05-13-2007, 11:04 PM #23WHT Addict
- Join Date
- Mar 2007
- Posts
- 125
May also be useful to write a cron job that checks for apache to be responding properly and restart apache if it isn't.
-
05-13-2007, 11:13 PM #24Web Hosting Master
- Join Date
- Feb 2003
- Location
- Dallas, TX
- Posts
- 1,498
Should be fairly easy to fo in php. Try to open a file using the URL, and if it fails, then issue the restart command.
TailorMadeServers.Com - Dallas Dedicated Servers since 2003
joseq@tailormadeservers.com | Skype (TailorMadeServers) | http://twitter.com/tailoredservers
-
05-13-2007, 11:23 PM #25Web Hosting Master
- Join Date
- Mar 2003
- Location
- Canada
- Posts
- 9,072