Results 1 to 10 of 10
  1. #1

    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

  2. #2
    do you think i need raid between 2 or more hard drives ?

  3. #3
    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.

  4. #4
    this slow happened only after visitors increased ( i using google analytic )
    so i think the reason is not page contents ( js, css and images

  5. #5
    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

  6. #6
    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.

  7. #7
    Join Date
    May 2008
    Posts
    858
    Quote Originally Posted by moheballah View Post
    this slow happened only after visitors increased ( i using google analytic )
    so i think the reason is not page contents ( js, css and images
    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.

  8. #8
    Join Date
    Oct 2010
    Posts
    73
    Quote Originally Posted by moheballah View Post
    do you think i need raid between 2 or more hard drives ?
    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.

  9. #9
    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. #10
    Quote Originally Posted by ServerGurus View Post
    Run the following at the shell for about 20 to 30 seconds, and post the output:
    vmstat 1
    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
    its not in the maximum time
    tomorrow i will post it in specified time

    Quote Originally Posted by Website themes View Post
    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.
    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.
    vbulletin have stupid js & css files
    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.
    hmmmmmm
    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.
    i hope to tell me the best configuration for my.cnf

    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.
    cost increasing 70$ for just raid 0 with another hard drive
    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.
    any lessons

Similar Threads

  1. Server load very high, site very slow
    By awaisuk in forum Hosting Security and Technology
    Replies: 11
    Last Post: 06-06-2010, 09:24 PM
  2. Need Help. Server load is low but site is VERY slow
    By Silva in forum Hosting Security and Technology
    Replies: 15
    Last Post: 07-06-2007, 08:52 AM
  3. Slow site load
    By pawsregd in forum Hosting Security and Technology
    Replies: 11
    Last Post: 07-15-2005, 05:44 PM
  4. Low server load but site still slow?
    By GeorgeC in forum Hosting Security and Technology
    Replies: 1
    Last Post: 03-16-2004, 08:44 AM
  5. Site Images Load Slow
    By GZhou06 in forum Hosting Security and Technology
    Replies: 2
    Last Post: 06-18-2003, 02:06 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
  •