Results 1 to 10 of 10
-
10-16-2010, 03:22 PM #1WHT Addict
- Join Date
- Sep 2008
- Posts
- 111
my site very slow without increasing load
hi,
i have server from the planet
virtual rack with
Xeon(R) CPU X3450 @ 2.67GHz
147 GB SCSI Hard Disk 10,000 rpm
1000 Mbps Network Uplink
now i have increasing in my visitors last week from 35,000 unique visitors every day to 45,000
now in this specially time ( from 6:00 pm to 11:00 pm )
i get my site very slow ( this time is the most important time in my site )
when i checking the server load i get it about 2 with about 50% ram using
what is the reason of that slow ? ( no load, no problem with ram, what is happen )
do you think that upgrading my server will be useful ?
my site using vbulletin forum
-
10-16-2010, 03:25 PM #2WHT Addict
- Join Date
- Sep 2008
- Posts
- 111
do you think i need raid between 2 or more hard drives ?
-
10-16-2010, 03:55 PM #3Web Hosting Master
- Join Date
- May 2008
- Posts
- 858
First thing and easiest would be to perform some simple optimizations.
Install the Firebug extension in your Firefox browser and the Page Speed extension for Firebug.
Then access your website and open the page speed tab in Page Speed and run a test to see what you can improve. Usually by optimizing a bit the processor usage and other things can be improved.
-
10-16-2010, 04:28 PM #4WHT Addict
- Join Date
- Sep 2008
- Posts
- 111
this slow happened only after visitors increased ( i using google analytic )
so i think the reason is not page contents ( js, css and images
-
10-16-2010, 04:32 PM #5Web Hosting Evangelist
- Join Date
- Sep 2008
- Posts
- 515
Run the following at the shell for about 20 to 30 seconds, and post the output:
vmstat 1█ GenesisAdaptive.com · IP Transit and Connectivity, Colocation, & Enterprise IT Services
█ Available in 9 Metros, 3 Continents, 1/10/40/100G Ports.
█ Follow us on Twitter @GenesisAdaptive!
█ Phone: (309) 807-5261 · Email: leec @genesisadaptive.com
-
10-16-2010, 04:38 PM #6Web Hosting Master
- Join Date
- Nov 2006
- Location
- Karachi, Pakistan
- Posts
- 1,359
What is your apache max clients figure? You'll find it in your httpd.conf file. Also, assuming you are using linux, post the output of httpd -V.
-
10-16-2010, 04:41 PM #7Web Hosting Master
- Join Date
- May 2008
- Posts
- 858
Your hard drive may have been able to sustain quite a lot of concurrent disk reads (as in css, js, thumbnails and so on) and serve them to users but as user count increased, it may not be able to keep up.
So, by optimizing the files a bit, serving the css and js files from a subdomain or using nginx instead of Apache for example, it may be possible to get back to a reasonably low load so that your server doesn't act up with so many users.
This way, you wouldn't have to buy an additional drive - basically getting more performance for free.
Might also want to check up the mysql configuration - maybe there's too many queries when your usercount goes up and mysql doesn't have enough memory to cache queries or whatever.
-
10-16-2010, 05:29 PM #8Junior Guru Wannabe
- Join Date
- Oct 2010
- Posts
- 73
-
10-16-2010, 05:47 PM #9Junior Guru Wannabe
- Join Date
- Nov 2009
- Location
- Behind the LCD... 24x7
- Posts
- 93
It's pretty difficult to troubleshoot a slow dynamic site with the information provided. There could be a lot of different things. If could even be that your mysql daemon needs to be tuned.
Kelis | Unmetered Gigabit Dedicated Servers and VPS Servers
The Industry Leaders in Linux Server Management, Server Security and Process Automation.
Premium Server Management :: Security Services :: White Label Managed Dedicated Servers
-
10-16-2010, 09:33 PM #10WHT Addict
- Join Date
- Sep 2008
- Posts
- 111
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 156 1301080 100032 1718492 0 0 66 56 193 140 20 2 76 2
0
4 0 156 1308776 100032 1718608 0 0 16 0 1066 2558 32 2 66 0
0
2 0 156 1306456 100040 1718600 0 0 84 192 1118 2931 27 1 71 1
0
2 0 156 1314888 100064 1718688 0 0 0 328 1157 2543 4 2 92 1
0
0 0 156 1323408 100064 1718688 0 0 88 0 1093 2524 18 2 80 0
0
0 1 156 1324168 100076 1718788 0 0 0 112 1136 2235 1 0 98 1
0
0 0 156 1331740 100080 1718784 0 0 0 0 1109 2291 1 0 98 0
0
1 0 156 1344576 100080 1718796 0 0 64 0 1082 2244 4 0 95 0
0
1 0 156 1342600 100096 1718780 0 0 20 392 1200 2449 18 1 79 2
0
1 0 156 1339820 100096 1718884 0 0 24 0 1119 2953 13 1 86 0
0
3 0 156 1330948 100104 1718876 0 0 76 88 1154 2629 13 1 85 1
0
2 0 156 1326996 100104 1719004 0 0 8 0 1149 2651 56 1 42 0
0
1 0 156 1334444 100104 1719004 0 0 36 0 1160 2651 14 1 85 0
0
2 1 156 1328612 100104 1719120 0 0 76 300 1222 2441 2 1 95 1
0
1 0 156 1324412 100120 1719104 0 0 20 444 1219 3112 27 1 71 1
0
1 0 156 1334200 100136 1719176 0 0 0 148 1123 2230 8 0 91 1
0
1 0 156 1327700 100136 1719176 0 0 76 0 1134 2372 11 0 88 0
0
2 0 156 1321804 100136 1719272 0 0 24 0 1179 2505 13 1 86 0
0
1 1 156 1315924 100136 1719272 0 0 104 256 1256 2931 27 2 71 1
0
0 0 156 1307748 100144 1719424 0 0 12 512 1248 3062 6 1 91 2
0
0 0 156 1315188 100160 1719408 0 0 0 164 1192 2284 9 1 89 1
0
0 0 156 1324248 100160 1719432 0 0 0 0 1084 2228 12 1 88 0
tomorrow i will post it in specified time
150
i increased it to 1000 now
i hope it's the reason of this problem
Your hard drive may have been able to sustain quite a lot of concurrent disk reads (as in css, js, thumbnails and so on) and serve them to users but as user count increased, it may not be able to keep up.
So, by optimizing the files a bit, serving the css and js files from a subdomain or using nginx instead of Apache for example, it may be possible to get back to a reasonably low load so that your server doesn't act up with so many users.
i have product that zipped it after collecting all files in one file
This way, you wouldn't have to buy an additional drive - basically getting more performance for free.
to using raid 0 i need 40$ for raid + 30$ for another hard drive
so i need to test some solution before going this way
Might also want to check up the mysql configuration - maybe there's too many queries when your usercount goes up and mysql doesn't have enough memory to cache queries or whatever.
That would be my first gues, most likely there's so many requests to mysql, that hard drive althought very fast can't perform, and so it's creating bottleneck.
Check your hard drive performance during peaks and lows and compare.
but i will make this the end way if all my solution failed
It's pretty difficult to troubleshoot a slow dynamic site with the information provided. There could be a lot of different things. If could even be that your mysql daemon needs to be tuned.
Similar Threads
-
Server load very high, site very slow
By awaisuk in forum Hosting Security and TechnologyReplies: 11Last Post: 06-06-2010, 09:24 PM -
Need Help. Server load is low but site is VERY slow
By Silva in forum Hosting Security and TechnologyReplies: 15Last Post: 07-06-2007, 08:52 AM -
Slow site load
By pawsregd in forum Hosting Security and TechnologyReplies: 11Last Post: 07-15-2005, 05:44 PM -
Low server load but site still slow?
By GeorgeC in forum Hosting Security and TechnologyReplies: 1Last Post: 03-16-2004, 08:44 AM -
Site Images Load Slow
By GZhou06 in forum Hosting Security and TechnologyReplies: 2Last Post: 06-18-2003, 02:06 PM