vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   What slows a site down? (https://vborg.vbsupport.ru/showthread.php?t=303757)

SPEEDKILLZ 10-23-2013 08:10 PM

What slows a site down?
 
I have noticed my site has gotten slower over the last few days. I contacted my host and they said they installed something which should boost performance. Then told me it could be on my end. I am on a private server which should be pretty quick, so i am wondering what sloes a site down?

ForceHSS 10-23-2013 08:13 PM

Could be too many bots hitting it at the same time. There are a lot of bad ones out there

SPEEDKILLZ 10-23-2013 08:18 PM

I would think on a private server it still shouldn't be that slow? Usually just shows around 30-40 users? Is there a way to speed it up? Mod, addon ect...

tbworld 10-23-2013 09:48 PM

Private server? Do you mean dedicated, not shared?

If you are on a dedicated server, you most likely will have the ability to access the server logs. Take a look a peak times and then examine the logs at that point. It is useful to grab a log analyzer to parse through the data.

RedTurtle 10-23-2013 09:57 PM

Do you have root access? Are you on a VPS or shared?

Max Taxable 10-23-2013 10:16 PM

Test it here on many browsers, many connections, and it goves you tips and tricks on how to improve:

http://webpagetest.org

Your host's call center agents - their first and only job is to blame YOU. Keep that in mind.

Here's today's, just ran:

It timed out on Chrome here, your vBShout locked it up: http://www.webpagetest.org/result/13...3KF/1/details/

Firefox, timed out too: http://www.webpagetest.org/result/131023_8K_13MZ/

Here's a completed waterfall: http://www.webpagetest.org/result/13...etails/cached/

ForceHSS 10-23-2013 10:35 PM

Have you tried these yet
https://vborg.vbsupport.ru/showthrea...=259302&page=4
https://vborg.vbsupport.ru/showthread.php?t=284816
They do help

SPEEDKILLZ 10-24-2013 12:28 AM

Quote:

Originally Posted by tbworld (Post 2455657)
Private server? Do you mean dedicated, not shared?

If you are on a dedicated server, you most likely will have the ability to access the server logs. Take a look a peak times and then examine the logs at that point. It is useful to grab a log analyzer to parse through the data.

Yes VPS server, i dont know too much of how to use that wole control panel.

Quote:

Originally Posted by RedTurtle (Post 2455659)
Do you have root access? Are you on a VPS or shared?

Yes i have VPS and i have access to root.

Quote:

Originally Posted by ForceHSS (Post 2455669)

I have not. Both or just 1?

Max Taxable 10-24-2013 12:35 AM

You have many problems Mods won't address. You can learn ALOT from the webpagetest dot org site.

SPEEDKILLZ 10-24-2013 12:38 AM

So what does that mean? Need to change something?

ForceHSS 10-24-2013 12:40 AM

use both i posted above

Max Taxable 10-24-2013 12:41 AM

Quote:

Originally Posted by SPEEDKILLZ (Post 2455700)
So what does that mean? Need to change something?

If you look at your test results you can see exactly what is slowing you down.

SPEEDKILLZ 10-24-2013 12:42 AM

http://www.webpagetest.org/result/13...21E/1/details/

--------------- Added [DATE]1382579051[/DATE] at [TIME]1382579051[/TIME] ---------------

Quote:

Originally Posted by ForceHSS (Post 2455701)
use both i posted above

I have vbtech optimize pro i bought in September but was told it didn't help

Max Taxable 10-24-2013 12:49 AM

Quote:

Originally Posted by SPEEDKILLZ (Post 2455703)

Right! Look at it!

SPEEDKILLZ 10-24-2013 12:53 AM

Quote:

Originally Posted by Max Taxable (Post 2455707)
Right! Look at it!


I am but cannot make heads or tails from that graph. Just getting back into this vb stuff.

tbworld 10-24-2013 12:58 AM

Quote:

Originally Posted by SPEEDKILLZ (Post 2455696)
I have not. Both or just 1?

The programs mentioned above are fine, but I would hold off with using them for now. After reviewing your site you need to analyze your host first. @Max_Taxable was trying to tell you that your hosts times seem terrible.

Use one of the many free web testing tools out there and examine your host. Make sure you test from different locations around the world. If it is just a local board then do not worry about a continent halfway around the world.

If you are aware of other web sites that share your server, test them as well. Once you have established that your host times are in order you can then move on and critique your page speed. Start by fixing your errors on your site and using the default templates with your plugins disabled -- to benchmark.

Hope this helps :)

Max Taxable 10-24-2013 12:58 AM

Quote:

Originally Posted by SPEEDKILLZ (Post 2455708)
I am but cannot make heads or tails from that graph. Just getting back into this vb stuff.

All of your calls are there, and the graph shows you how long it takes each of them to load.

--------------- Added [DATE]1382579966[/DATE] at [TIME]1382579966[/TIME] ---------------

Quote:

Originally Posted by tbworld (Post 2455709)
Those programs are fine, but I would hold off. After reviewing your site you need to analyze your host first. @Max_Taxable was trying to tell you that your hosts times are terrible.

And his own test he ran at Meehan just told him that too:

http://www.webpagetest.org/result/13...21E/1/details/

First byte time is his host, and really that's the least of his issues at this point.



To the OP: To get a baseline reading on your site from WebPageTest dot org, make the vBulletin default style the default style for your site, turn off all plugins, then run the test. This will let you know the difference the custom skin and all the add-ons and plugins are making.

SPEEDKILLZ 10-24-2013 01:14 AM

Ok what is the best way to disable all plugins at once?

tbworld 10-24-2013 01:18 AM

Quote:

Originally Posted by SPEEDKILLZ (Post 2455714)
Ok what is the best way to disable all plugins at once?

Instead of rewriting a good post let me refer you to this:
https://vborg.vbsupport.ru/showpost....6&postcount=76

ozzy47 10-24-2013 01:27 AM

Since you have access to your ACP, and if you don't feel comfortable doing the manual edit.

You can turn off the Plugins from the Admin CP:

Admin CP -> vBulletin Options -> Plugin/Hook System -> Enable Plugin/Hook System -> No

SPEEDKILLZ 10-24-2013 01:35 AM

What if you open your config.php file and it already has that? And have a second config.php.new?

final kaoss 10-24-2013 01:37 AM

If it has that code in the config then no plugins will be used. Which is what you want to do on a test.

Code:

define('DISABLE_HOOKS', true);
Also, you have alot of js that isn't being gzipped or cached. Your other static content such as images aren't being cached either from the looks of it. My guide can help with that, look in sig.

ozzy47 10-24-2013 01:39 AM

Are you sure it is not commented out, looking like this?

Code:

//define('DISABLE_HOOKS', true);

SPEEDKILLZ 10-24-2013 01:40 AM

http://www.webpagetest.org/result/13...2ZK/1/details/

http://www.webpagetest.org/result/13...etails/cached/

--------------- Added [DATE]1382582448[/DATE] at [TIME]1382582448[/TIME] ---------------

Quote:

Originally Posted by ozzy47 (Post 2455726)
Are you sure it is not commented out, looking like this?

Code:

//define('DISABLE_HOOKS', true);



Yes thats it :erm:

Should the config.php.new still be there?

final kaoss 10-24-2013 01:43 AM

No, you don't need the config.php.new file as long as you have a config.php file there, unless you want to use it as a backup incase you change something that you can't fix in the config.php file.
Quote:

Originally Posted by SPEEDKILLZ (Post 2455727)
http://www.webpagetest.org/result/13...2ZK/1/details/

http://www.webpagetest.org/result/13...etails/cached/

--------------- Added [DATE]1382582448[/DATE] at [TIME]1382582448[/TIME] ---------------





Yes thats it :erm:

Should the config.php.new still be there?


SPEEDKILLZ 10-24-2013 01:47 AM

Quote:

Originally Posted by final kaoss (Post 2455725)
If it has that code in the config then no plugins will be used. Which is what you want to do on a test.

Code:

define('DISABLE_HOOKS', true);
Also, you have alot of js that isn't being gzipped or cached. Your other static content such as images aren't being cached either from the looks of it. My guide can help with that, look in sig.

Thanks i will check it out. really not understanding what the Not being cached is?

final kaoss 10-24-2013 01:49 AM

If you need help implementing the htaccess code, then post your original .htaccess & I'll modify it for you in the guide. Also, here's a explanation of caching.
http://gtmetrix.com/leverage-browser-caching.html
Quote:

Originally Posted by SPEEDKILLZ (Post 2455731)
Thanks i will check it out. really not understanding what the Not being cached is?


SPEEDKILLZ 10-24-2013 01:52 AM

Where will i get the .htaccess? I will post it for you

final kaoss 10-24-2013 01:55 AM

It can be found in the forum root via ftp if you've uploaded one. If you haven't uploaded/made one, then you can just copy/paste the code from the guide into a new one :D
Quote:

Originally Posted by SPEEDKILLZ (Post 2455733)
Where will i get the .htaccess? I will post it for you


SPEEDKILLZ 10-24-2013 01:58 AM

It keep saying upload failed here. I'm lost lol

final kaoss 10-24-2013 02:01 AM

In that case try to simply create a .htaccess file via your ftp client.

Once done, insert this and save.

Code:

# Author: Final Kaoss (aka: Extreme-Gaming)
# Version 3.0
# Special Thanks Goes to W3Total Cache for much of the htaccess rules
RewriteEngine on

# This file is only needed if you have set the Forum Component URL in your admincp and you are
# using the mod_rewrite option for friendly urls.  If this is the case, copy this file
# to your forum component stub directory.

# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your forum component directory.
# RewriteBase /vbtest/

# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
 Options -MultiViews
#add your friendly url rewrite rules below.

#stop adding your friendly url rewrite rules here.


#Deny attempts to view the Htaccess file.
<Files .htaccess>
Order allow,deny
Deny from all
</Files>


# BEGIN W3TC Browser Cache
<IfModule mod_mime.c>
    AddType text/css .css
    AddType application/javascript .js
    AddType application/x-javascript .js
    AddType text/html .html .htm
    AddType text/richtext .rtf .rtx
    AddType image/svg+xml .svg .svgz
    AddType text/plain .txt
    AddType text/xsd .xsd
    AddType text/xsl .xsl
    AddType text/xml .xml
    AddType video/asf .asf .asx .wax .wmv .wmx
    AddType video/avi .avi
    AddType image/bmp .bmp
    AddType application/java .class
    AddType video/divx .divx
    AddType application/msword .doc .docx
    AddType application/x-msdownload .exe
    AddType image/gif .gif
    AddType application/x-gzip .gz .gzip
    AddType image/x-icon .ico
    AddType image/jpeg .jpg .jpeg .jpe
    AddType application/vnd.ms-access .mdb
    AddType audio/midi .mid .midi
    AddType video/quicktime .mov .qt
    AddType audio/mpeg .mp3 .m4a
    AddType video/mp4 .mp4 .m4v
    AddType video/mpeg .mpeg .mpg .mpe
    AddType application/vnd.ms-project .mpp
    AddType application/vnd.oasis.opendocument.database .odb
    AddType application/vnd.oasis.opendocument.chart .odc
    AddType application/vnd.oasis.opendocument.formula .odf
    AddType application/vnd.oasis.opendocument.graphics .odg
    AddType application/vnd.oasis.opendocument.presentation .odp
    AddType application/vnd.oasis.opendocument.spreadsheet .ods
    AddType application/vnd.oasis.opendocument.text .odt
    AddType audio/ogg .ogg
    AddType application/pdf .pdf
    AddType image/png .png
    AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
    AddType audio/x-realaudio .ra .ram
    AddType application/x-shockwave-flash .swf
    AddType application/x-tar .tar
    AddType image/tiff .tif .tiff
    AddType audio/wav .wav
    AddType audio/wma .wma
    AddType application/vnd.ms-write .wri
    AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
    AddType application/zip .zip
</IfModule>
<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType text/css A31536000
    ExpiresByType application/x-javascript A31536000
    ExpiresByType text/html A3600
    ExpiresByType text/richtext A3600
    ExpiresByType image/svg+xml A3600
    ExpiresByType text/plain A3600
    ExpiresByType text/xsd A3600
    ExpiresByType text/xsl A3600
    ExpiresByType text/xml A3600
    ExpiresByType video/asf A31536000
    ExpiresByType video/avi A31536000
    ExpiresByType image/bmp A31536000
    ExpiresByType application/java A31536000
    ExpiresByType video/divx A31536000
    ExpiresByType application/msword A31536000
    ExpiresByType application/x-msdownload A31536000
    ExpiresByType image/gif A31536000
    ExpiresByType application/x-gzip A31536000
    ExpiresByType image/x-icon A31536000
    ExpiresByType image/jpeg A31536000
    ExpiresByType application/vnd.ms-access A31536000
    ExpiresByType audio/midi A31536000
    ExpiresByType video/quicktime A31536000
    ExpiresByType audio/mpeg A31536000
    ExpiresByType video/mp4 A31536000
    ExpiresByType video/mpeg A31536000
    ExpiresByType application/vnd.ms-project A31536000
    ExpiresByType application/vnd.oasis.opendocument.database A31536000
    ExpiresByType application/vnd.oasis.opendocument.chart A31536000
    ExpiresByType application/vnd.oasis.opendocument.formula A31536000
    ExpiresByType application/vnd.oasis.opendocument.graphics A31536000
    ExpiresByType application/vnd.oasis.opendocument.presentation A31536000
    ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000
    ExpiresByType application/vnd.oasis.opendocument.text A31536000
    ExpiresByType audio/ogg A31536000
    ExpiresByType application/pdf A31536000
    ExpiresByType image/png A31536000
    ExpiresByType application/vnd.ms-powerpoint A31536000
    ExpiresByType audio/x-realaudio A31536000
    ExpiresByType application/x-shockwave-flash A31536000
    ExpiresByType application/x-tar A31536000
    ExpiresByType image/tiff A31536000
    ExpiresByType audio/wav A31536000
    ExpiresByType audio/wma A31536000
    ExpiresByType application/vnd.ms-write A31536000
    ExpiresByType application/vnd.ms-excel A31536000
    ExpiresByType application/zip A31536000
</IfModule>


# BEGIN Compress text files
<ifModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/html text/xml text/css text/plain
  AddOutputFilterByType DEFLATE image/svg+xml application/xhtml+xml application/xml
  AddOutputFilterByType DEFLATE application/rdf+xml application/rss+xml application/atom+xml
  AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript application/json
  AddOutputFilterByType DEFLATE application/x-font-ttf application/x-font-otf
  AddOutputFilterByType DEFLATE font/truetype font/opentype


  BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</ifModule>
# END Compress text files
 
 
# BEGIN Cache-Control Headers
<ifModule mod_headers.c>
  <filesMatch "\.(ico|jpe?g|png|gif|swf)$">
    Header set Cache-Control "public"
  </filesMatch>
  <filesMatch "\.(css)$">
    Header set Cache-Control "public"
  </filesMatch>
  <filesMatch "\.(js)$">
    Header set Cache-Control "private"
  </filesMatch>
  <filesMatch "\.(x?html?|php)$">
    Header set Cache-Control "private, must-revalidate"
  </filesMatch>
</ifModule>
# END Cache-Control Headers
 
# BEGIN Turn ETags Off
FileETag None
# END Turn ETags Off




# proc/self/environ? no way!
RewriteCond %{QUERY_STRING} proc/self/environ [OR]
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*(.*) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|[|\%[0-9A-Z]{0,2})


SPEEDKILLZ 10-24-2013 02:03 AM

1 Attachment(s)
Here you go

SPEEDKILLZ 10-24-2013 02:04 AM

And i noticed it is completely blank?

final kaoss 10-24-2013 02:08 AM

... are you using an Apple os? BC I just downloaded my attachment minutes before you posted, to check some stuff and the files show fine for me on windows. At any rate, you should be able to either make a .htaccess via ftp or create a dummy .html file and rename the whole thing to .htaccess and then doing the above.
Quote:

Originally Posted by SPEEDKILLZ (Post 2455741)
And i noticed it is completely blank?


SPEEDKILLZ 10-24-2013 02:13 AM

I am using windows and firefox. I posted attachment in post 32

final kaoss 10-24-2013 02:22 AM

And that's your current .htaccess? You can paste the code I wrote above into it & save then.
Quote:

Originally Posted by SPEEDKILLZ (Post 2455745)
I am using windows and firefox. I posted attachment in post 32


Max Taxable 10-24-2013 02:25 AM

Looking at those results tells alot. Look at the first byte time - there are NO Mods or optimizations or .htaccess that will address that. That is your host.

However, did you notice how much speed you picked up just disabling the add-ons?

SPEEDKILLZ 10-24-2013 02:25 AM

OK awesome, anything else you just the exact code?

--------------- Added [DATE]1382585212[/DATE] at [TIME]1382585212[/TIME] ---------------

Quote:

Originally Posted by Max Taxable (Post 2455747)
Looking at those results tells alot. Look at the first byte time - there are NO Mods or optimizations or .htaccess that will address that. That is your host.

However, did you notice how much speed you picked up just disabling the add-ons?

Yes sir i could tell it got a little quicker. So you recommend a new host? Or?

final kaoss 10-24-2013 02:30 AM

With the exact code it will help your loading times & reduce server load by not loading as many resources by quite a bit.

If you feel it is still slow, you may want to pursue some of the other steps I wrote as well. If your host doesn't improve it's performance then you will see long "time to first byte" times. In that case I recommend flipperhost.
https://www.flipperhost.com/
Quote:

Originally Posted by SPEEDKILLZ (Post 2455748)
OK awesome, anything else you just the exact code?

--------------- Added [DATE]1382585212[/DATE] at [TIME]1382585212[/TIME] ---------------



Yes sir i could tell it got a little quicker. So you recommend a new host? Or?


Max Taxable 10-24-2013 02:34 AM

Quote:

I'll leave this here for you to look at Max.
http://blogs.msdn.com/b/ieinternals/...rformance.aspx
Yep I am very familiar with that. It has nothing to do with first byte time from server, and also you might note the OP is doing all of his tests thus far using Firefox:
Web Page Performance Test for
globalhax.com

From: Dulles, VA - Firefox - Cable
Wednesday, October 23, 2013 9:38:42 PM
That article is all about supporting IE better.;)
Quote:

So you recommend a new host? Or?
This information is ammunition to give to your current host, proving the first byte time from the server is quite slow. Changing hosts won't guarantee you better first byte time.

But the BIG stuff is, the amount of problems alot of your add-ons are causing.


All times are GMT. The time now is 05:54 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02425 seconds
  • Memory Usage 1,862KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete