PDA

View Full Version : High CPU usage by my site>>help me??


Dr_Mo7ammad
10-23-2012, 04:25 PM
Hello
my hoostage (hostgator ) suspend my site many times because Vbulletin
was causing a high load on the server, and due to it affecting all of the other accounts on the system, I was forced to take immediate action for the health of the server.

Unfortunately I do not have any specific recommendations for this script, however, in general, adding some sort of caching mechanism, where the script does not need to generate a new page with every request, helps to lower the over load that a script will cause. Likely the original author or support group of the software that you are using will be able to help you to understand how to add something of this nature.


Help me Plz

CAG CheechDogg
10-23-2012, 04:41 PM
Are you using any kind of chat system on your site? I have hostgator and they "do not" like when people using forums have chat systems.

Also what kind of set up do you have for say private messages, images and other features that might cause server load to increase due to an increase in page requests.

Go through your settings and search for anything having to do with high server load increase and performance.

Max Taxable
10-23-2012, 05:00 PM
Check your site using the Patrick Meenan model. It will show your actual CPU loading, and also break down everything your site loads on a browser, might yield a clue:

http://www.webpagetest.org

On your hosting, do you have the ability to monitor your CPU load, or are you stuck just having to trust their word?

What are the server load averages showing in adminCP?

CAG CheechDogg
10-23-2012, 05:19 PM
Max if hes on a shared program I don't think he will be able to see all that info in cPanel. I have hostgator and I will see what options I have.

I do use webpagetest.org , very good site to help monitor your sites...good recommendation!

Lynne
10-23-2012, 05:41 PM
What major modifications do you have installed?

Max Taxable
10-23-2012, 05:46 PM
Native vBulletin does NOT cause high server load, as your host seems to be claiming... On second and more careful reading of your OP.

CAG CheechDogg
10-23-2012, 05:50 PM
Max is this what he should be looking for in his hostgator cPanel?

If it is he should have that under statistics on the left side when he logs into his cPanel.

https://vborg.vbsupport.ru/external/2012/10/11.jpg

--------------- Added 1351018428 at 1351018428 ---------------

Native vBulletin does NOT cause high server load, as your host seems to be claiming... On second and more careful reading of your OP.

Correct, I had to remove the chat systems I was trying on vbulletin because "they" were causing high server loads and hostgator was slamming me on those every time I installed one.

That is the only bad thing about hostgator, they just don't like chatbars and shoutboxes being used on their customers sites.

In Omnibus
10-23-2012, 06:12 PM
Does HostGator lock your php memory limit? I've never used their service.

CAG CheechDogg
10-23-2012, 06:14 PM
Correction PSF....they set it at 64MB by default and it is locked unless you are on a VPS plan.

--------------- Added 1351019961 at 1351019961 ---------------

These are the shared PHP settings by default

safe mode = Off (cannot adjust)
memory_limit = 256M (MAXIMUM)
max_execution_time = 30 (MAXIMUM in seconds)
max_input_time = 60 (MAXIMUM in seconds)
post_max_size = 64M (MAXIMUM)
upload_max_filesize = 64M (MAXIMUM)
enable_dl = Off (cannot adjust)

Dr_Mo7ammad
12-22-2012, 12:28 PM
thanks i will see what can i do
they suspend it again
i really very sad fromm this recurrent suspension

--------------- Added 1356183012 at 1356183012 ---------------

i did all that they said in the link you sent
here
http://www.vbulletin-faq.com/optimize-vbulletin-server.htm
and also they suspend it agaain

--------------- Added 1356183199 at 1356183199 ---------------

i donot have chat in my site

CAG CheechDogg
12-22-2012, 02:28 PM
thanks i will see what can i do
they suspend it again
i really very sad fromm this recurrent suspension

--------------- Added 1356183012 at 1356183012 ---------------

i did all that they said in the link you sent
here
http://www.vbulletin-faq.com/optimize-vbulletin-server.htm
and also they suspend it agaain

--------------- Added 1356183199 at 1356183199 ---------------

i donot have chat in my site


Can you post the link to your site buddy, I want to see what is going on myself.

Lynne
12-22-2012, 04:54 PM
Did you try disabling all your modifications?

Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Max Taxable
12-22-2012, 05:02 PM
thanks i will see what can i do
they suspend it again
i really very sad fromm this recurrent suspensionYou haven't determined yet if your site is causing the high CPU load. Sounds to me like you need a new hosting service.

How about a link to your site, so we readers can run some tests on it.

Dr_Mo7ammad
12-22-2012, 07:53 PM
thanks for your reply
this is my site
www.Alltebfamily.com
thanks
iam waiting your reply

--------------- Added 1356210591 at 1356210591 ---------------

this is the message they sent



Unfortunately, we were forced to suspend the scriptpublic_html/vb as it was causing a high load on the server. Due to this affecting all of the other accounts on the system, we had to take immediate action for the health of the server.

It appears that you are running a vBulletin script. There are some optimization techniques that you can find for this here http://www.vbulletin-faq.com/optimize-vbulletin-server.htm. This should help you with caching and database optimizing that should increase performance while limiting server usage.

If you find that you need HTTP access to this particular script, you can provide us with your IP address (http://www.hostgator.com/ip.shtml) and we will be more than happy to go ahead enable it for you, so that you can safely work on the script without it causing further issues. Please let us know how you would like to proceed.

Running Processes:
=============== Pass 1 ===============
mohammad 17748 4.0 0.0 0 0 ? ZN 06:55 0:00 [php] <defunct>
mohammad 18261 35.0 0.3 290344 31080 ? RN 06:55 0:00 /usr/bin/php /home/mohammad/public_html/vb/showthread.php
mohammad 18271 26.0 0.3 288512 29736 ? RN 06:55 0:00 /usr/bin/php /home/mohammad/public_html/vb/showthread.php
mohammad 18274 28.0 0.3 288288 29384 ? RN 06:55 0:00 /usr/bin/php /home/mohammad/public_html/vb/showthread.php
mohammad 18277 22.0 0.3 285592 26444 ? RN 06:55 0:00 /usr/bin/php /home/mohammad/public_html/vb/tags.php
=============== Pass 2 ===============
mohammad 17748 3.7 0.0 0 0 ? ZN 06:55 0:00 [php] <defunct>
mohammad 18323 32.0 0.3 287080 28952 ? RN 06:55 0:00 /usr/bin/php /home/mohammad/public_html/vb/forumdisplay.php
mohammad 18330 19.0 0.3 286352 27768 ? RN 06:55 0:00 /usr/bin/php /home/mohammad/public_html/vb/showthread.php
mohammad 18334 0.0 0.1 273472 13496 ? RN 06:55 0:00 /usr/bin/php /home/mohammad/public_html/vb/member.php
=============== Pass 3 ===============
17748 3.4 0.0 0 0 ? ZN 06:55 0:00 [php] <defunct>
18371 19.0 0.3 286856 27992 ? RN 06:55 0:00 /usr/bin/php /home/****/public_html/vb/showthread.php
******18372 18.0 0.3 286860 28000 ? RN 06:55 0:00 /usr/bin/php /home/*****/public_html/vb/showthread.php
mohammad 18377 0.0 0.0 146192 3136 ? RN 06:55 0:00 /usr/bin/php /home/*****/public_html/vb/showthread.php

Running Queries:

Open connections:

Recent Site Requests:
157.55.32.106 alltebfamily.com /vb//member.php?find=lastposter&t=32695
157.55.32.106 alltebfamily.com /vb//member.php?find=lastposter&t=42457
157.55.32.106 alltebfamily.com /vb//showthread.php?p=146685
157.55.32.106 alltebfamily.com /vb//showthread.php?p=149359
157.55.32.147 alltebfamily.com /vb/clientscript/vbulletin_css/style-cc1c4f17-00048.css
157.55.32.147 alltebfamily.com /vb/showthread.php?p=75703&mode=threaded
157.55.32.147 alltebfamily.com /vb/showthread.php?p=76705
157.55.32.147 alltebfamily.com /vb/showthread.php?p=77495&page=2
157.55.32.147 alltebfamily.com /vb/showthread.php?p=78800&mode=linear
157.55.32.147 alltebfamily.com /vb/showthread.php?p=79167&page=2
157.55.32.147 alltebfamily.com /vb/showthread.php?t=27067
157.55.32.186 alltebfamily.com /vb//showthread.php?t=39446
157.55.32.186 alltebfamily.com /vb//showthread.php?t=39575
157.55.32.186 alltebfamily.com /vb//showthread.php?t=396%
157.55.32.186 alltebfamily.com /vb//showthread.php?t=396%8
157.55.32.186 alltebfamily.com /vb//showthread.php?t=39637&page=2
157.55.32.77 alltebfamily.com /vb//showthread.php?p=150658
157.55.32.77 alltebfamily.com /vb//showthread.php?p=287721
157.55.32.77 alltebfamily.com /vb//showthread.php?p=315030
157.55.32.77 alltebfamily.com /vb//showthread.php?p=56121
157.55.32.77 alltebfamily.com /vb//showthread.php?p=64536
157.55.32.77 alltebfamily.com /vb//showthread.php?t=13941
157.55.32.77 alltebfamily.com /vb//showthread.php?t=16777
157.55.32.77 alltebfamily.com /vb//showthread.php?t=16965&goto=nextnewest
157.55.32.77 alltebfamily.com /vb//showthread.php?t=1949
157.55.32.77 alltebfamily.com /vb//showthread.php?t=1955
157.55.32.77 alltebfamily.com /vb//showthread.php?t=196
157.55.32.77 alltebfamily.com /vb//showthread.php?t=35738&goto=nextnewest
157.55.32.77 alltebfamily.com /vb/forumdisplay.php?f=272&sort=title&order=asc&daysprune=-
157.55.32.77 alltebfamily.com /vb/forumdisplay.php?f=272&sort=title&order=desc&daysprune=
157.55.32.77 alltebfamily.com /vb/forumdisplay.php?f=31&order=asc&sort=replycount&pp=20&p
157.55.32.77 alltebfamily.com /vb/forumdisplay.php?f=53
157.55.32.77 alltebfamily.com /vb/forumdisplay.php?f=55&daysprune=-1&order=desc&sort=repl
157.55.32.77 alltebfamily.com /vb/forumdisplay.php?f=55&order=asc&sort=replycount&pp=20&p
157.55.32.77 alltebfamily.com /vb/member.php?find=lastposter&t=20697
157.55.32.77 alltebfamily.com /vb/showpost.php?p=127184&postcount=4
157.55.32.77 alltebfamily.com /vb/showpost.php?p=12734&postcount=1
157.55.32.77 alltebfamily.com /vb/showpost.php?p=129136&postcount=10
157.55.32.77 alltebfamily.com /vb/showpost.php?p=129839&postcount=2
157.55.32.77 alltebfamily.com /vb/showpost.php?p=130608&postcount=4
157.55.33.112 alltebfamily.com /vb//forumdisplay.php?f=106&sort=postusername&order=asc&pag
157.55.33.112 alltebfamily.com /vb//forumdisplay.php?f=109&sort=postusername&order=desc&pa
157.55.33.112 alltebfamily.com /vb//forumdisplay.php?f=116&sort=replycount&order=desc&page
157.55.33.112 alltebfamily.com /vb//showthread.php?t=33259
157.55.33.112 alltebfamily.com /vb//showthread.php?t=33361
157.55.33.112 alltebfamily.com /vb//showthread.php?t=33734
157.55.33.112 alltebfamily.com /vb//showthread.php?t=3380
157.55.33.112 alltebfamily.com /vb//showthread.php?t=3386&page=64
157.55.33.112 alltebfamily.com /vb/forumdisplay.php?f=450&order=desc&sort=voteavg
157.55.33.112 alltebfamily.com /vb/forumdisplay.php?f=451&daysprune=-1&order=desc&sort=pos
157.55.33.112 alltebfamily.com /vb/newreply.php?p=173799
157.55.33.112 alltebfamily.com /vb/showpost.php?p=213152&postcount=56
157.55.33.112 alltebfamily.com /vb/showpost.php?p=21359&postcount=3
157.55.33.112 alltebfamily.com /vb/showpost.php?p=215125&postcount=2
157.55.33.112 alltebfamily.com /vb/showpost.php?p=222656&postcount=3
157.55.33.112 alltebfamily.com /vb/t11509-3.html
157.55.33.112 alltebfamily.com /vb/t11561-2.html
157.55.33.112 alltebfamily.com /vb/t11768-2.html
157.55.33.112 alltebfamily.com /vb/t11798.html
157.55.33.112 alltebfamily.com /vb/t12355-9.html
157.55.33.112 alltebfamily.com /vb/t26575-2.html
157.55.33.112 alltebfamily.com /vb/t30651-2.html
157.55.35.94 alltebfamily.com /vb//member.php?find=lastposter&t=26979
157.55.35.94 alltebfamily.com /vb//member.php?find=lastposter&t=30324
157.55.35.94 alltebfamily.com /vb//member.php?find=lastposter&t=30600
157.55.35.94 alltebfamily.com /vb//member.php?find=lastposter&t=31159
157.55.35.94 alltebfamily.com /vb//member.php?find=lastposter&t=33305
157.55.36.45 alltebfamily.com /vb//showthread.php?p=159865&page=2
157.55.36.45 alltebfamily.com /vb//showthread.php?p=258481&page=3
157.55.36.45 alltebfamily.com /vb//showthread.php?p=25918
157.55.36.45 alltebfamily.com /vb//showthread.php?p=55664
157.55.36.45 alltebfamily.com /vb//showthread.php?p=57320
157.55.36.45 alltebfamily.com /vb//showthread.php?p=60435
157.55.36.45 alltebfamily.com /vb//showthread.php?p=6382&page=2
157.55.36.45 alltebfamily.com /vb//showthread.php?t=1149&goto=nextnewest
157.55.36.45 alltebfamily.com /vb//showthread.php?t=1395
157.55.36.45 alltebfamily.com /vb//showthread.php?t=14147
157.55.36.45 alltebfamily.com /vb//showthread.php?t=25657
157.55.36.45 alltebfamily.com /vb//showthread.php?t=30689&goto=nextoldest
157.55.36.45 alltebfamily.com /vb/newreply.php?p=172871
157.55.36.45 alltebfamily.com /vb/newreply.php?p=183863
157.55.36.45 alltebfamily.com /vb/newreply.php?p=184370
157.55.36.45 alltebfamily.com /vb/showpost.php?p=127614&postcount=2
157.55.36.45 alltebfamily.com /vb/showpost.php?p=131247&postcount=8
157.55.36.45 alltebfamily.com /vb/showpost.php?p=209753&postcount=4
157.55.36.45 alltebfamily.com /vb/showpost.php?p=210212&postcount=2
157.55.36.45 alltebfamily.com /vb/showpost.php?p=210417&postcount=2
157.55.36.45 alltebfamily.com /vb/showpost.php?p=210501&postcount=2
157.55.36.45 alltebfamily.com /vb/showpost.php?p=210621&postcount=15
157.55.36.45 alltebfamily.com /vb/showpost.php?p=210748&postcount=5
196.205.253.34 alltebfamily.com /vb/clientscript/vbulletin_menu.js?v=381
196.205.253.4 alltebfamily.com /vb/clientscript/vbulletin_md5.js?v=381
217.55.8.86 alltebfamily.com /vb/images/bulkdownload.gif
41.235.244.221 alltebfamily.com /vb/clientscript/yui/connection/connection-min.js?v=381
41.235.244.221 alltebfamily.com /vb/clientscript/yui/yahoo-dom-event/yahoo-dom-event.js?v=3
41.235.244.221 alltebfamily.com /vb/index.php
41.236.234.168 alltebfamily.com /favicon.ico
41.44.104.60 alltebfamily.com /vb/clientscript/vbulletin_global.js?v=381
41.44.29.95 alltebfamily.com /vb/clientscript/vbulletin_read_marker.js?v=381
41.44.29.95 alltebfamily.com /vb/clientscript/yui/yahoo-dom-event/yahoo-dom-event.js?v=3
41.44.29.95 alltebfamily.com /vb/images/icons/icon7.gif
41.46.55.18 alltebfamily.com /vb/allteb2012/misc/facebook.gif
41.46.55.18 alltebfamily.com /vb/images/catfish_bg.gif
65.55.215.65 alltebfamily.com /vb/tl4s-hij/statusicon/thread_lock.gif
65.55.52.95 alltebfamily.com /vb/printthread.php?t=19524
65.55.52.95 alltebfamily.com /vb/printthread.php?t=21462
65.55.52.95 alltebfamily.com /vb/printthread.php?t=833
65.55.52.95 alltebfamily.com /vb/printthread.php?t=8868
65.55.52.95 alltebfamily.com /vb/printthread.php?t=8879
65.55.52.95 alltebfamily.com /vb/sendmessage.php?t=28071
65.55.52.95 alltebfamily.com /vb/sendmessage.php?t=28246
65.55.52.95 alltebfamily.com /vb/showpost.php?p=187312&postcount=10
65.55.52.95 alltebfamily.com /vb/showpost.php?p=187863&postcount=5
65.55.52.95 alltebfamily.com /vb/showpost.php?p=827&postcount=5
65.55.52.95 alltebfamily.com /vb/showpost.php?p=82797&postcount=3
65.55.52.95 alltebfamily.com /vb/showpost.php?p=83194&postcount=7
65.55.52.95 alltebfamily.com /vb/showthread.php?p=66929
65.55.52.95 alltebfamily.com /vb/showthread.php?t=1083
65.55.52.95 alltebfamily.com /vb/t715.html
65.55.52.95 alltebfamily.com /vb/t7269-14.html
65.55.52.95 alltebfamily.com /vb/t7269-17.html
65.55.52.95 alltebfamily.com /vb/tags.php?tag=%D1%E6%DA%C9
65.55.52.95 alltebfamily.com /vb/tags.php?tag=%D1%E6%DD%C7%C6%ED%E1
65.55.52.95 alltebfamily.com /vb/tags.php?tag=%D3%C7%C6%DE%ED
65.55.52.95 alltebfamily.com /vb/tags.php?tag=%D3%C7%DA%CF%E6%E4%EC
66.249.73.200 alltebfamily.com /vb/showthread.php?goto=newpost&t=47866
66.249.73.200 alltebfamily.com /vb/showthread.php?p=279170
66.249.73.200 alltebfamily.com /vb/showthread.php?t=34949
66.249.73.200 alltebfamily.com /vb/showthread.php?t=7266
84.235.92.38 alltebfamily.com /vb/allteb2012/buttons/mode_linear.gif
84.235.92.38 alltebfamily.com /vb/allteb2012/design/bbottomr.jpg
84.235.92.38 alltebfamily.com /vb/allteb2012/design/btopc.jpg
84.235.92.38 alltebfamily.com /vb/allteb2012/design/footbg.jpg
84.235.92.38 alltebfamily.com /vb/allteb2012/design/footcenter.jpg
84.235.92.38 alltebfamily.com /vb/allteb2012/design/header_r.jpg
84.235.92.38 alltebfamily.com /vb/allteb2012/design/vbcbg.jpg
84.235.92.38 alltebfamily.com /vb/allteb2012/misc/bookmarksite_google.gif
96.47.225.186 alltebfamily.com /vb/helpcenter.php?do=ticket&tid=45314

--------------- Added 1356212888 at 1356212888 ---------------

how to follow my cpu usage????

Lynne
12-22-2012, 09:44 PM
Turn off your stats modification. Those hog resources big time.

Don't list all your sub-forums on your forum home page. Take a look at your page source on that page - that needs to be sent out to everyone everytime they click on that page. It's HUGE.

Get rid of as many graphics as possible on your home page. Or at least optimize them. You have a 300 x 100 gif and it's over 24KB in size http://www.upislam.com/images/66908021861817659542.gif I ran it through this site and just reducing it to 32 colors saves you 28% in size. And honestly, it doesn't look that different and nobody will notice or care. You could probably go to 16 colors and reduce the size by 43%.

Do not show images inline. Or, if you must, turn on thumbnails and leave it at 100x100 and use those. Then users can click on the thumbnail to see the full image.

Turn off viewing attachments and thumbnails for Unregistered Users. This is a MUST right now! It's a usergroup permission.

That's enough to get you started. But you should also take a look at all your modifications and see if they are really needed. Facebook comments? Similar Threads? Take a look at anything that adds queries or external scripts.

Max Taxable
12-22-2012, 09:54 PM
Results of one Meenan test I did on your site seem to confirm Lynne's recommendations. Here's detailed analysis:

http://www.webpagetest.org/result/121222_Z8_FDN/

CAG CheechDogg
12-23-2012, 05:09 AM
WOW !....

Yes, that template you are using on your forums is to image heavy and the images are not optimized at all.

Use this site to help you optimize your site: http://gtmetrix.com/reports/www.alltebfamily.com/KwSpQi6p

It will give you a list of all the images you have to optimize and a link to the optimized version of each image so that you can just click, save and upload and replace them on your server.

You also have to add some type of caching to your files and add image dimensions to your images as well.

Fixing those 3 issues will greatly improve your site's performance and "probably" quiet hostgator down.

If you need help doing this let me know, I have some free time tonight.

Dr_Mo7ammad
12-23-2012, 10:47 AM
thanks very much
i did all you said

but facebook comments is needed in my site i started to use it and waiting their response

aiam waiting other comments
thanks really

CAG CheechDogg
12-23-2012, 11:29 AM
Ok I don't know if your last comment was towards me or someone else but it still shows that you have not optimized your images, specified image dimensions or implemented some sort of caching.

Dr_Mo7ammad
12-23-2012, 11:39 AM
i just saw your comment rightnow
and optimized some images and still
you can retest now and tell me
thanks verymuch

--------------- Added 1356268685 at 1356268685 ---------------

also , do you recommend me image dimensions to use

CAG CheechDogg
12-23-2012, 12:49 PM
i just saw your comment rightnow
and optimized some images and still
you can retest now and tell me
thanks verymuch

--------------- Added 1356268685 at 1356268685 ---------------

also , do you recommend me image dimensions to use


Good stuff and yes you should get the proper image dimensions and add them. That is going to take some work, maybe a couple of hours but you should do it as well.

Also add the following to your .htaccess file in your forums root. This will help you with the caching:


#Deny attempts to view the Htaccess file.
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
# BEGIN Browser Caching/Headers
<IfModule mod_mime.c>
AddType text/css .css
AddType application/x-javascript .js
AddType text/richtext .rtf .rtx
AddType image/svg+xml .svg .svgz
AddType text/plain .txt
AddType text/xsd .xsd
AddType text/xsl .xsl
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/richtext A3600
ExpiresByType image/svg+xml A3600
ExpiresByType text/plain A3600
ExpiresByType text/xsd A3600
ExpiresByType text/xsl 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>
<IfModule mod_deflate.c>
<IfModule mod_setenvif.c>
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
</IfModule>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
</IfModule>
</IfModule>
<FilesMatch "\.(css|js|CSS|JS)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
<IfModule mod_headers.c>
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
</IfModule>
</FilesMatch>
<FilesMatch "\.(rtf|rtx|svg|svgz|txt|xsd|xsl|RTF|RTX|SVG|SVGZ|T XT|XSD|XSL|)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
<IfModule mod_headers.c>
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
</IfModule>
</FilesMatch>
<FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx |exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov |qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|o dg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram |swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw |zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DO CX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|M OV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|ODF |ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|R AM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|X LW|ZIP)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
<IfModule mod_headers.c>
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
</IfModule>
</FilesMatch>
# End Browser Caching/Headers

<ifModule mod_php4.c>
php_value zlib.output_compression 16386
</ifModule>

Dr_Mo7ammad
12-23-2012, 01:26 PM
in this page
http://gtmetrix.com/reports/www.alltebfamily.com/GCWVbCv7
they tell me these instructions but i donot know how to change them
can you help


The following image(s) are missing width and/or height attributes.

http://www.alltebfamily.com/vb/allteb2012/buttons/collapse_tcat.gif (Dimensions: 13 x 13) (13 uses)
http://www.alltebfamily.com/vb/allteb2012/buttons/collapse_thead.gif (Dimensions: 13 x 13) (3 uses)
http://www.alltebfamily.com/vb/allteb2012/buttons/lastpost.gif (Dimensions: 15 x 10) (60 uses)
http://www.alltebfamily.com/vb/allteb2012/misc/menu_open.gif (Dimensions: 11 x 7)
http://www.alltebfamily.com/vb/allteb2012/misc/navbits_start.gif (Dimensions: 15 x 15)
http://www.alltebfamily.com/vb/allteb2012/misc/stats.gif (Dimensions: 30 x 30)
http://www.alltebfamily.com/vb/allteb2012/misc/whos_online.gif (Dimensions: 30 x 30)
http://www.alltebfamily.com/vb/allteb2012/statusicon/forum_new.gif (Dimensions: 50 x 50)
http://www.alltebfamily.com/vb/allteb2012/statusicon/forum_old.gif (Dimensions: 50 x 50) (3 uses)
http://www.alltebfamily.com/vb/allteb2012/statusicon/forum_old_lock.gif (Dimensions: 50 x 50) (68 uses)
http://www.alltebfamily.com/vb/allteb2012/statusicon/subforum_old.gif (Dimensions: 11 x 11) (169 uses)
http://www.alltebfamily.com/vb/images/bulkdownload.gif (Dimensions: 960 x 116)
http://www.alltebfamily.com/vb/images/close1.gif (Dimensions: 55 x 22)
http://www.alltebfamily.com/vb/images/icons/1%20(11).gif (Dimensions: 28 x 15) (2 uses)
http://www.alltebfamily.com/vb/images/icons/1%20(13).gif (Dimensions: 35 x 16)

--------------- Added 1356272868 at 1356272868 ---------------

oh thanks
where to put in .htaccess
???

CAG CheechDogg
12-23-2012, 01:31 PM
Check your private messages Buddy...

But the code I gave you add it after all your other code in your .htaccess file...

Dr_Mo7ammad
12-23-2012, 07:30 PM
thanks very much
i add the code now
and trying to make some changes from the site
but somthings i donot understand


599.5KiB of JavaScript is parsed during initial page load. Defer parsing JavaScript to reduce blocking of page rendering.

http://www.mediafire.com/js/master.js?20090 (433.0KiB)
http://www.alltebfamily.com/vb/allteb2012/jquery.js (64.6KiB)
http://www.alltebfamily.com/vb/clientscript/yui/yahoo-dom-event/yahoo-dom-event.js?v=381 (29.5KiB)
http://www.alltebfamily.com/vb/clientscript/vbulletin_global.js?v=381 (22.1KiB)
http://www.alltebfamily.com/vb/clientscript/yui/connection/connection-min.js?v=381 (10.4KiB)
http://www.alltebfamily.com/vb/mwaextraedit4/poem.js (8.7KiB)
http://www.alltebfamily.com/vb/clientscript/vbulletin_menu.js?v=381 (7.8KiB)
http://www.alltebfamily.com/vb/clientscript/vbulletin_md5.js?v=381 (5.2KiB)
http://www.alltebfamily.com/vb/mwaextraedit4/gradient.js (4.2KiB)
http://www.alltebfamily.com/vb/allteb2012/tipsy.js (3.7KiB)
http://www.alltebfamily.com/vb/clientscript/vbulletin_read_marker.js?v=381 (2.4KiB)
http://www.alltebfamily.com/vb/mwaextraedit4/type.js (2.3KiB)
http://www.alltebfamily.com/vb/mwaextraedit4/rainbow.js (2.2KiB)
http://www.alltebfamily.com/vb/mwaextraedit4/marq.js (1.3KiB)
http://www.alltebfamily.com/vb/index.php (650B of inline JavaScript)
http://www.alltebfamily.com/vb/mwaextraedit4/read.js (581B)
http://www.alltebfamily.com/vb/mwaextraedit4/mwaextraedit4settings.js (521B)
http://www.alltebfamily.com/google_analytics_auto.js (253B)



also



The following image(s) are missing width and/or height attributes.

http://www.alltebfamily.com/vb/allteb2012/buttons/collapse_tcat.gif (Dimensions: 13 x 13) (13 uses)
http://www.alltebfamily.com/vb/allteb2012/buttons/collapse_thead.gif (Dimensions: 13 x 13) (3 uses)
http://www.alltebfamily.com/vb/allteb2012/buttons/lastpost.gif (Dimensions: 15 x 10) (60 uses)
http://www.alltebfamily.com/vb/allteb2012/misc/menu_open.gif (Dimensions: 11 x 7)
http://www.alltebfamily.com/vb/allteb2012/misc/navbits_start.gif (Dimensions: 15 x 15)
http://www.alltebfamily.com/vb/allteb2012/misc/stats.gif (Dimensions: 30 x 30)
http://www.alltebfamily.com/vb/allteb2012/misc/whos_online.gif (Dimensions: 30 x 30)
http://www.alltebfamily.com/vb/allteb2012/statusicon/forum_new.gif (Dimensions: 50 x 50)
http://www.alltebfamily.com/vb/allteb2012/statusicon/forum_old.gif (Dimensions: 50 x 50) (3 uses)
http://www.alltebfamily.com/vb/allteb2012/statusicon/forum_old_lock.gif (Dimensions: 50 x 50) (68 uses)
http://www.alltebfamily.com/vb/allteb2012/statusicon/subforum_old.gif (Dimensions: 11 x 11) (169 uses)
http://www.alltebfamily.com/vb/images/bulkdownload.gif (Dimensions: 960 x 116)
http://www.alltebfamily.com/vb/images/close1.gif (Dimensions: 55 x 22)
http://www.alltebfamily.com/vb/images/icons/1%20(11).gif (Dimensions: 28 x 15) (2 uses)
http://www.alltebfamily.com/vb/images/icons/1%20(13).gif (Dimensions: 35 x 16)
http://www.alltebfamily.com/vb/images/icons/1%20(14).gif (Dimensions: 35 x 16)
http://www.alltebfamily.com/vb/images/icons/1%20(4).gif (Dimensions: 64 x 15) (2 uses)
http://www.alltebfamily.com/vb/images/icons/1%20(6).gif (Dimensions: 47 x 24) (2 uses)
http://www.alltebfamily.com/vb/images/icons/1%20(7).gif (Dimensions: 50 x 20) (4 uses)
http://www.alltebfamily.com/vb/images/icons/1%20(8).gif (Dimensions: 40 x 18)
http://www.alltebfamily.com/vb/images/icons/27.gif (Dimensions: 30 x 30)
http://www.alltebfamily.com/vb/images/icons/icon1.gif (Dimensions: 16 x 16) (38 uses)
http://www.alltebfamily.com/vb/images/icons/icon10.gif (Dimensions: 16 x 16)
http://www.alltebfamily.com/vb/images/icons/icon14.gif (Dimensions: 16 x 16) (4 uses)
http://www.alltebfamily.com/vb/images/icons/icon9.gif (Dimensions: 16 x 16)
http://www.alltebfamily.com/vb/images/icons/q%20(1).gif (Dimensions: 35 x 19) (2 uses)
http://www.alltebfamily.com/vb/images/misc/v.gif (Dimensions: 16 x 16) (10 uses)







also




The following images served from alltebfamily.com should be combined into as few images as possible using CSS sprites.

http://www.alltebfamily.com/vb/allteb2012/buttons/collapse_tcat.gif
http://www.alltebfamily.com/vb/allteb2012/buttons/collapse_thead.gif
http://www.alltebfamily.com/vb/allteb2012/buttons/lastpost.gif
http://www.alltebfamily.com/vb/allteb2012/misc/menu_open.gif
http://www.alltebfamily.com/vb/allteb2012/misc/navbits_start.gif
http://www.alltebfamily.com/vb/allteb2012/misc/stats.gif
http://www.alltebfamily.com/vb/allteb2012/misc/whos_online.gif
http://www.alltebfamily.com/vb/allteb2012/statusicon/subforum_old.gif
http://www.alltebfamily.com/vb/images/close1.gif
http://www.alltebfamily.com/vb/images/icons/1%20(11).gif
http://www.alltebfamily.com/vb/images/icons/1%20(13).gif
http://www.alltebfamily.com/vb/images/icons/1%20(14).gif
http://www.alltebfamily.com/vb/images/icons/1%20(4).gif
http://www.alltebfamily.com/vb/images/icons/1%20(6).gif
http://www.alltebfamily.com/vb/images/icons/1%20(8).gif
http://www.alltebfamily.com/vb/images/icons/27.gif
http://www.alltebfamily.com/vb/images/icons/icon1.gif
http://www.alltebfamily.com/vb/images/icons/icon10.gif
http://www.alltebfamily.com/vb/images/icons/icon14.gif
http://www.alltebfamily.com/vb/images/icons/icon9.gif







The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:

http://www.alltebfamily.com/google_analytics_auto.js (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/buttons/collapse_tcat.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/buttons/collapse_thead.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/buttons/lastpost.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/alt.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/bbottombg.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/bbottoml.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/bbottomr.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/blockbgl.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/blockbgr.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/btopbg.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/btopc.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/btopl.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/btopr.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/footbg.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/footcenter.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/footleft.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/footright.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/header.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/header_l.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/header_r.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/headerbg.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/thead.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/topmenubg.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/vbcbg.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/jquery.js (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/misc/menu_open.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/misc/navbits_start.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/misc/stats.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/misc/whos_online.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/statusicon/forum_new.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/statusicon/forum_old.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/statusicon/forum_old_lock.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/statusicon/subforum_old.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/tipsy.js (expiration not specified)
http://www.alltebfamily.com/vb/clientscript/vbulletin_css/style-30f1a1d7-00048.css (expiration not specified)
http://www.alltebfamily.com/vb/images/bulkdownload.gif (expiration not specified)
http://www.alltebfamily.com/vb/images/close1.gif (expiration not specified)
http://www.alltebfamily.com/vb/images/icons/1%20(11).gif (expiration not specified)
http://www.alltebfamily.com/vb/images/icons/1%20(13).gif (expiration not specified)
http://www.alltebfamily.com/vb/images/icons/1%20(14).gif (expiration not specified)
http://www.alltebfamily.com/vb/images/icons/1%20(4).gif (expiration not specified)
http://www.alltebfamily.com/vb/images/icons/1%20(6).gif (expiration not specified)
http://www.alltebfamily.com/vb/images/icons/1%20(7).gif (expiration not specified)
http://www.alltebfamily.com/vb/images/icons/1%20(8).gif (expiration not specified)
http://www.alltebfamily.com/vb/images/icons/27.gif (expiration not specified)
http://www.alltebfamily.com/vb/images/icons/icon1.gif (expiration not specified)
http://www.alltebfamily.com/vb/images/icons/icon10.gif (expiration not specified)
http://www.alltebfamily.com/vb/images/icons/icon14.gif (expiration not specified)
http://www.alltebfamily.com/vb/images/icons/icon9.gif (expiration not specified)
http://www.alltebfamily.com/vb/images/icons/q%20(1).gif (expiration not specified)
http://www.alltebfamily.com/vb/images/misc/v.gif (expiration not specified)
http://www.alltebfamily.com/vb/mwaextraedit4/gradient.js (expiration not specified)
http://www.alltebfamily.com/vb/mwaextraedit4/marq.js (expiration not specified)
http://www.alltebfamily.com/vb/mwaextraedit4/mwaextraedit4settings.js (expiration not specified)
http://www.alltebfamily.com/vb/mwaextraedit4/poem.js (expiration not specified)
http://www.alltebfamily.com/vb/mwaextraedit4/rainbow.js (expiration not specified)
http://www.alltebfamily.com/vb/mwaextraedit4/read.js (expiration not specified)
http://www.alltebfamily.com/vb/mwaextraedit4/type.js (expiration not specified)
http://www.google-analytics.com/ga.js (12 hours)




thanks

Max Taxable
12-23-2012, 08:43 PM
Dude, really. Ditch this custom skin and use the vB default until you get all of these issues worked out. This skin is so poorly designed, it will take a lunation to fix it.

CAG CheechDogg
12-23-2012, 10:49 PM
It's not so much that the custom skin is poorly designed though Max. All of vBulletin's default skins are missing the image dimensions for all of those images which is one of the areas in which Page Speed rates image dimensions as high priority.

Even if he used the default template he would still score low. He needs to implement that caching code I gave him into his .htaccess file and he will see good results and just add the image dimensions to all those images.

They are hard to find but not difficult. The best way for you to find them Dr_Mo7ammad is to copy just the actual image file portion, i.e. (collapse_tcat.gif) and then look for it in your templates by doing a template search in your admin cp.

You can also find the image by doing a search for (misc), (buttons), just depends where the image is located.

You will certainly have to use your head to find these images.

--------------- Added 1356306841 at 1356306841 ---------------

Here is a post I made a while back about how to add the image dimensions once you find the image in the templates:

https://vborg.vbsupport.ru/showthread.php?p=2369857#post2369857

Dr_Mo7ammad
12-27-2012, 08:11 AM
thanks
i will do this
-----

what about expiration date

The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:

http://www.alltebfamily.com/google_analytics_auto.js (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/buttons/collapse_tcat.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/buttons/collapse_thead.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/buttons/lastpost.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/alt.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/bbottombg.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/bbottoml.jpg (expiration not specified)



thanks

CAG CheechDogg
12-27-2012, 08:18 AM
To fix that you need to add leverage browser caching, you still have not added the code to your htaccess like I suggested you do in this post:

https://vborg.vbsupport.ru/showpost.php?p=2392416&postcount=21

Dr_Mo7ammad
12-27-2012, 10:31 AM
thanks
i will do this
-----

what about expiration date

The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:

http://www.alltebfamily.com/google_analytics_auto.js (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/buttons/collapse_tcat.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/buttons/collapse_thead.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/buttons/lastpost.gif (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/alt.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/bbottombg.jpg (expiration not specified)
http://www.alltebfamily.com/vb/allteb2012/design/bbottoml.jpg (expiration not specified)



thanks

--------------- Added 1356609962 at 1356609962 ---------------

no i put it in .htaccess

Dr_Mo7ammad
01-10-2013, 05:52 PM
i really get bored from hostgator
they resuspend it again more early


Hello,

Unfortunately, we were forced to suspend the script /home/mohammad/public_html/vb as it was causing a high load on the server. Due to this affecting all of the other accounts on the system, we had to take immediate action for the health of the server.

i donont know what to do
i did nearly all things you told me to do?????????????????//

--------------- Added 1357844577 at 1357844577 ---------------

should i change my hostage?

Lynne
01-10-2013, 06:05 PM
You did "nearly" all the things we told you to do - what didn't you do that we asked you to do? Did you disable your modifications?

Dr_Mo7ammad
01-10-2013, 06:16 PM
i nearly disabled most of modification

Lynne
01-10-2013, 06:38 PM
Which did you NOT disable?

Dr_Mo7ammad
01-10-2013, 06:48 PM
they suspend it now
i will call them to reactivate and tell you

do you suggest me to change my hostage
i really angry with this

--------------- Added 1357854886 at 1357854886 ---------------

i want to install a new forum version and try to start from the begining and see what will happen
what is your opinions?

Lynne
01-10-2013, 11:19 PM
You may want to try a new host. But, if you are running query intensive modifications, you may need more than a shared server is going to give you.

Dr_Mo7ammad
01-11-2013, 01:11 PM
they sent me these topics to apply in site
https://vborg.vbsupport.ru/showthread.php?t=241783
https://vborg.vbsupport.ru/showthread.php?t=241783
do you recommend them?

but my forum is 3.8

--------------- Added 1357913912 at 1357913912 ---------------

what do you mean by this

you may need more than a shared server is going to give you.

Lynne
01-11-2013, 03:44 PM
I mean if you insist on using modifications with many queries, and having so many non-web optimized images, then you may have to move up from shared hosting.

Dr_Mo7ammad
01-11-2013, 06:46 PM
thanks
i removed more modification

what is your opinion about the 2 pages in the last post???

Lynne
01-11-2013, 09:45 PM
Those looks fine, but I think they assume you have more access to your server than I am guessing you would have on a shared server. Are you allowed to install Memcached? Can you modify the my.cnf file? Upgrade mysql? Turn off apache modules? etc (Also, you only linked to one thread - they are both the same.)

Simon Lloyd
01-11-2013, 09:48 PM
The first one should have been https://vborg.vbsupport.ru/showthread.php?t=241782

Dr_Mo7ammad
01-12-2013, 06:57 PM
how to make these changes
gide me please
iam to exhausted from these recurrent suspension

Simon Lloyd
01-12-2013, 07:28 PM
Dr_Mo7ammad you've pretty much been given all the advice available, it is a pain but as a forum owner you have to go to all the trouble yourself to sort this. IF you have followed Lynnes' advice and disabled ALL modifications and are still having load issues then you should ask your host to provide you with the name of the script taking up all the resources or raise a support ticket with vbulletin.com.

There's little more we can do for you, if you need these things doing for you then you can post in the PAID modifications section and ask for direct help, remember this will mean that you will have to give usernames and passwords to your forum and to your server so make sure you trust the person completely and then change passwords afterwards.

betterthanyours
01-15-2013, 01:49 PM
Why don't you just leave hostgator? There are plenty of hosts out there that will host you.

CAG CheechDogg
01-15-2013, 10:37 PM
There is just too much going on in this site, from the scrolling mods to all the images still not optimized.

I sent you a message on the 23rd of December and I never heard back from you Dr_Mo7ammad. The last test I ran on your forums still indicates you have not added the leverage caching I suggested you do.

This has nothing to do with hostgator. Also if you have anything to do with facebook I suggest you either a.) remove it or b.) figure out a way to minimize what it is you do with facebook.

I had facebook like buttons on my forums and I was getting messages from gator that it was affecting everyone else.

Facebook sends at times up hundreds of craw spiders to your site if you post share threads or posts to facebook. Their spiders at times can be crawling your site for content at a very high alarming rate.

This is a case where you are going to have to think everything over and decide what is more important on your site/forums.

Just too much going on on this forum buddy, way too much.

betterthanyours
01-16-2013, 11:25 AM
I host on shared hosting various websites with links for all posts to facebook twitter etc etc it's the host and what is "acceptable usage" to them. In this situation it is best to move hosts to ensure uninterrupted service. Go to webhostingtalk there are a lot of hosting offers there with discounts. You could try mddhosting

Dr_Mo7ammad
01-19-2013, 08:40 PM
thanks all for your reply

CAG CheechDogg
i really replied to you
also i added you on skype you didnot reply to me
thanks

--------------- Added 1358631722 at 1358631722 ---------------

also they suspend it again after all i did
iam really saaaaaaaaaaaad

--------------- Added 1358631967 at 1358631967 ---------------

Simon Lloyd
do you recommend the besthost?

--------------- Added 1358632119 at 1358632119 ---------------

Lynne

Are you allowed to install Memcached? Can you modify the my.cnf file? Upgrade mysql? Turn off apache modules? etc (Also, you only linked to one thread - they are both the same.)


can you guide me
????
thanks for your patience

Lynne
01-20-2013, 01:58 AM
My comment was regarding the tutorial you linked to - I highly doubt that since you are on a shared server that your host would allow you to do many of the things in that thread, so I don't understand why they would link you to it.

Simon Lloyd
01-20-2013, 05:56 AM
If you are changing hosts try www.urljet.com

Dr_Mo7ammad
01-20-2013, 11:02 AM
thanks all of you
they sent me this

Thank you for the update to this issue. From looking at the access logs at the time of the suspension it appears that while the vbulletin installation itself could use some general optimization the issuse itself may have bene in part triggered by excessive numbers of requests coming from the bing bot, as such I would strongly advise manually throttling the crawl rate of the bing bot as is described in the following article:

http://support.hostgator.com/articles/specialized-help/telling-bing-how-often-to-crawl-your-website

Simon Lloyd
01-20-2013, 01:25 PM
I've built anti bot mods (https://vborg.vbsupport.ru/showthread.php?t=264932) but i run my forums allowing free crawl from the bots (behaviour watching...etc) by far Baidu is the worst but never overloaded resources to the extent you are experiencing, that said, try installing my mod and edit the bot list to suit you and aftera short while those in the list will stop visiting your site and your resource usage will lower, i have to stress though it's not a fix for things that you or your hosts should do.

CAG CheechDogg
01-20-2013, 03:09 PM
Bing, Facebook and Baidu bots do cause those issues, for me it was facebook's bots not Bings or Baidu's.

Dr_Mo7ammad
01-22-2013, 07:36 AM
they sent me these instructions to do

You can also prevent robots from crawling parts of your site, while allowing them to crawl other sections. The following example would request search engines and robots not to crawl the cgi-bin folder, the tmp folder, and the junk folder and everything in those folders on your website.
If you want to stop bots from visiting you site and stop search engines from ranking you, use this code:

#Code to not allow any search engines!
User-agent: *
Disallow: /

2nd choice which i used and iam asking is this enough
# Blocks robots from specific folders / directories
User-agent: *
Disallow: /cgi-bin/
Disallow: /tmp/
Disallow: /junk/

Simon Lloyd
01-22-2013, 04:17 PM
That only works if the bots obey the robots.txt and many dont!

Dr_Mo7ammad
01-30-2013, 07:00 PM
thanks
but how they donot obey???

also
they suspend again
and said to me to enable caching

how to enable them???

--------------- Added 1359576211 at 1359576211 ---------------

does this topic help

https://vborg.vbsupport.ru/showthread.php?t=139151

iam sorry iam annoying you
but help me
really iam depressed from recurrent suspension

final kaoss
01-30-2013, 07:07 PM
Try the article in my signature, as for bingbot I think you can regulate it's crawling via the bing webmaster tools.

Dr_Mo7ammad
01-30-2013, 07:15 PM
my version is 3.8

final kaoss
01-30-2013, 07:16 PM
Some of the tips also work for 3.8. The ones that don't clearly state that they don't.

final kaoss
01-30-2013, 07:37 PM
Once you sign in to BWT & verify your site ownership, navigate to

Dashboard > Configure My Site > Crawl Control

Less bars = Lower Crawl Speed

Dr_Mo7ammad
01-30-2013, 08:21 PM
for sorry
i cannot find crawl control
attached what i can see

final kaoss
01-30-2013, 08:27 PM
Well if you like you can tell it to block urls & force it to stop visiting completely.

Dr_Mo7ammad
01-30-2013, 08:32 PM
they refuse

t seems you are trying to block URL(s) that we see as important. We do not support these blocks through the Bing Webmaster Tools, and we recommend you add a noindex meta-tag to your URL(s).

final kaoss
01-30-2013, 08:33 PM
after a few days or so you should be able to access the crawl rate tab. They probably feel the same as your message states about rules in the robots.txt file.

Dr_Mo7ammad
01-30-2013, 08:37 PM
can you help me to apply caching in my site

final kaoss
01-30-2013, 08:40 PM
You probably grabbed the wrong htaccess, try this one. If you use friendly urls, add those rewrite rules in there somewhere.

https://vborg.vbsupport.ru/showpost.php?p=2226244&postcount=3

Dr_Mo7ammad
01-30-2013, 08:47 PM
should i modify htaccess in public_html or in /vb

final kaoss
01-30-2013, 08:48 PM
That needs to go in your forum root. The /vb folder.

Dr_Mo7ammad
02-01-2013, 07:18 PM
for sorry this htaccess stopped my site

Simon Lloyd
02-01-2013, 07:27 PM
for sorry this htaccess stopped my siteIf you are having this much trouble i think it would be best if you advertised in the paid modifications section and asked for someone to do these things for you. It would be a lot easier and less stressful for you.

Dr_Mo7ammad
02-01-2013, 08:17 PM
thanks alot
i need now some one to tell me how to enable caching in my forum 3.8

sorry for the load i did on you

Simon Lloyd
02-02-2013, 12:49 AM
Templates...etc are already cached, you can leverage caching of images and static content using .htaccess as pointed out in one of the first posts in this thread.

Most of what you need to follow is found on this page https://vborg.vbsupport.ru/showthread.php?t=289516&page=2

Dr_Mo7ammad
02-02-2013, 03:02 PM
thanks
i put this in htaccess

#Deny attempts to view the Htaccess file.
<Files .htaccess>
Order allow,deny
Deny from all
</Files>
# BEGIN Browser Caching/Headers
<IfModule mod_mime.c>
AddType text/css .css
AddType application/x-javascript .js
AddType text/richtext .rtf .rtx
AddType image/svg+xml .svg .svgz
AddType text/plain .txt
AddType text/xsd .xsd
AddType text/xsl .xsl
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/richtext A3600
ExpiresByType image/svg+xml A3600
ExpiresByType text/plain A3600
ExpiresByType text/xsd A3600
ExpiresByType text/xsl 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>
<IfModule mod_deflate.c>
<IfModule mod_setenvif.c>
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html
</IfModule>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE text/css application/x-javascript text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon
</IfModule>
</IfModule>
<FilesMatch "\.(css|js|CSS|JS)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
<IfModule mod_headers.c>
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
</IfModule>
</FilesMatch>
<FilesMatch "\.(rtf|rtx|svg|svgz|txt|xsd|xsl|RTF|RTX|SVG|SVGZ|T XT|XSD|XSL|)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
<IfModule mod_headers.c>
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
</IfModule>
</FilesMatch>
<FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx |exe|gif|gz|gzip|ico|jpg|jpeg |jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg| mpe|mpp|odb|odc|odf|odg|odp|od s|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar| tif|tiff|wav|wma|wri|xla|xls|x lsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS| DIVX|DOC|DOCX|EXE|GIF|GZ|GZIP| ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M 4V|MPEG|MPG|MPE|MPP|ODB|ODC|OD F|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA| RAM|SWF|TAR|TIF|TIFF|WAV|WMA|W RI|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public, must-revalidate, proxy-revalidate"
</IfModule>
FileETag MTime Size
<IfModule mod_headers.c>
Header set X-Powered-By "Step by Step guide to speed up your VB4 (forum only)"
</IfModule>
</FilesMatch>
# End Browser Caching/Headers

<ifModule mod_php4.c>
php_value zlib.output_compression 16386
</ifModule>

Lynne
02-02-2013, 03:53 PM
Dr_Mo7ammad, can you please learn to use the code tags in the future? Thanks.

Dr_Mo7ammad
02-04-2013, 07:24 AM
sorry
thanks