Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 09-13-2008, 09:54 PM
barcena's Avatar
barcena barcena is offline
 
Join Date: Sep 2006
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default What kind of picture can put a strength to (an eventually overload) a server?

What kind of picture can put a strength on the server?

1 attachments
2 inline pictures brought from another site (with the other site properties)
3 uploaded pics from sites like Tynipics etc

Or any other that I may forget now.

Thank you very much.
Reply With Quote
  #2  
Old 09-14-2008, 12:12 AM
troybtj troybtj is offline
 
Join Date: Apr 2007
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Only #1 will increase your load dramatically. The second two simply tell the user's browser to "Go ask these sites for the information", which uses only the text to render a post, essentially. All of the bandwidth load would be put on the hotlinked sites (image leeching).

Are you trying to load test the server, or reduce server load?
Reply With Quote
  #3  
Old 09-14-2008, 04:21 AM
barcena's Avatar
barcena barcena is offline
 
Join Date: Sep 2006
Posts: 262
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to cut anything that can put an overload on the server I'm hosted at. They closed my site this week for almost three days b/c of a cpu at 90%, server overload. I did took some plugins/mods off, the site hasn't being closed again but is really slow, I want to cut anything that may be a strength to the server but honestly I don't know what else to do. See thread:


Problems with trhee scripts


Thank you for your answer, now I know what type of pictures are "good" and what aren't, if you have any idea on other things I can do let me know, you or anyone else.

Thanks.
Reply With Quote
  #4  
Old 09-18-2008, 07:43 PM
troybtj troybtj is offline
 
Join Date: Apr 2007
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd SWAG too many/too big attachments stored in database, and/or attachment enhancement add-ons.

ASSUMING This is a Small/Mid-Sized forum (< 50 active users at the same time)

In AdminCP -> vB Options -> Message Attachment Options
  • turn "inline display of attachments" OFF
  • If you have resizing turned on, that might be eating up a lot as well, try it off
  • If you don't have a huge number of attachments, do you have a big attachment in a frequently viewed thread? If so, save it to web root filesystem or photobucket and link to it using img tags.
  • Disable all products/addons/hacks/modifications related to attachments.
  • Disable images in signatures
  • Disable animated .gif avatars

Another possible option to check would be setting *NIX Load Limit to something stupid low, like 0.9, so if it pegs out, it won't get your service shut off. I run a dedicated server for just the forums, it runs at about 0.15 - 0.30 on average with around 30-50 active users. Getting vbulletin alone to fill the process queue above 1 continually for more than a small/midsized forum should need tasks like backup/table repair/etc. (or some add-ons/products...)

If you have hundreds of users online, then it's a bit easier to get the load up pretty quick, it depends on the server processor and storage(disk) speed, as well as how many others are using the server (if using shared hosting, which it sounds like you are).

In control panel home, you see the load level averages right above "quick user finder", add 0.3 to whatever the value is when your forum is disabled for a 'quick fuse overload stop', then you can troubleshoot with a helpful hosting company for which threads/scripts are killing it. A load level of 1 is max 'realtime running' on a single processor, 2 is max for a dual processor, etc.

Once the forum is up and running, work with your hosting provider as you enable/increase each item you changed, and see which one causes it to push the load level continually up.

Disabling attachments completely and hosting images elsewhere sounds like it would completely fix your issue.

Hope this helps! I'll try to check back...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04999 seconds
  • Memory Usage 2,184KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete