Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Big Board Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Maximum Forums? Details »»
Maximum Forums?
Version: , by RevBooyah RevBooyah is offline
Developer Last Online: Oct 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-31-2007 Last Update: Never Installs: 0
 
No support by the author.

What's the maximum number of forums supported?

I've added 1100+ forums and am now getting a MySQL error when attempting to add any more (MySQL Error : Got a packet bigger than 'max_allowed_packet' bytes Error Number : 1153). It gets this error when trying to update the serialized data in the "datastore" table.

The particular setup we need requires a minimum of 10,000 forums, so running out at 1000 is a bit disconcerting. And yes, we really need that many forums - it's one for each "product" and each product will need it's own threads.

Is there a way (plugin/etc) to remove the cacheing for the forums or at least optimize it better? We thought of running multiple databases, but a couple would need 3k forums, so that's not helpful either (and user signon implications would be bothersome too). Also, increasing max_allowed_packet would just delay the problem.

Thanks!
-steve

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-31-2007, 10:27 PM
Yours Yours is offline
 
Join Date: Jun 2007
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That is rather large I would have to say. That many forums would be a bit much for me; but back to the subject.

The only way I can think of is by increasing your max_allowed_packet yourself, and ask your webhost to do the same. The host you have is just setup to have much smaller MySQL packet sizes.

Now about a mod I am not possitive that there is an existing mod that can do what you are asking for.
Reply With Quote
  #3  
Old 08-31-2007, 11:05 PM
RevBooyah RevBooyah is offline
 
Join Date: Aug 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's a dedicated beefy machine just for the forums. The original plan was to develop forum software all our own, but vB gets such great reviews we thought we'd give it a try.

Changing the MySQL options is possible, but it's not a long term solution, since it's set pretty high already. It seems like the datastore table is holding ALL of the existing forums as a serialized object. That's cacheing a lot of unnecessary stuff IMHO .

I guess I can rewrite the cacheing - it'll be easier than writing all new forum software.

Some other forum software could handle the # of forums, but got extremely slow... So, we'll see.

Thanks!
-steve
Reply With Quote
  #4  
Old 08-31-2007, 11:46 PM
Yours Yours is offline
 
Join Date: Jun 2007
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

As far as I am concerned it isn't a forum software issue its just the MySQL issue.

As for the MySQL edit being a short-term fix I honestly think it would be a fairly long term fix if you set it to a super high extreme.

Another option would be to just not have as many forum categories or having whole seperate subdomains for this (costing you extra for more licenses of course)
Reply With Quote
  #5  
Old 09-01-2007, 10:47 AM
Eikinskjaldi's Avatar
Eikinskjaldi Eikinskjaldi is offline
 
Join Date: Feb 2006
Location: Hell, never looked better
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When creating that many forums and sub-forums, you'll likely have horrendous load times and high memory usage not just from the querying, but also for what's loaded into the forumcache. Are you certain that your needs of categorization/compartmentalization cannot be handled by using something like the Thread Prefixes hack?
Reply With Quote
  #6  
Old 09-01-2007, 11:10 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Even though vBulletin supports "unlimited" forums, in real life more then 1.500-2.000 forums will put a too high pressure on the server (performance and memory). The real maximum depends on the server and the server configuration. As vBulletin 3.x will cache each forum in the datastore (and will load this information into memory on each page load), you would quickly run out of memory.

Some boards that use this many (sub)forums are still using vBulletin 2.x only because that version does not do forum caching and will preserve memory in cases like this. One of the things that will be focussed on when developing vBulletin 4 (there is no indication on a date for that) is the reduction of memory usage for large boards.
Reply With Quote
  #7  
Old 09-01-2007, 11:40 AM
nexialys
Guest
 
Posts: n/a
Default

what would be good here is to explain the goal of having 10 000+ forums on your site... maybe a better structure and ghost forums would do the trick... i had a lot of clients requesting millions of forums, and after some discussions, the target was more human in nature ... sometimes the goals are not reached by the number but by the structure and a good administration protocol...
Reply With Quote
  #8  
Old 09-05-2007, 05:55 AM
macwiz macwiz is offline
 
Join Date: Jun 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm also contemplating creating several thousand forums. Would it make a difference if members only have permission to view a very small number of these? For example - there are 6000 forums, but any given member only sees 10-20 based on permissions. Would this save the server in terms of memory / performance? Thanks.
Reply With Quote
  #9  
Old 09-05-2007, 06:04 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It wouldn't make any difference at all no. Do you know how difficult it'd be to manage that many forums anyway!
Reply With Quote
  #10  
Old 09-05-2007, 11:12 AM
nexialys
Guest
 
Posts: n/a
Default

when you have a US-states-based forum, with a sub-forum for each state on each of your hundred forums, you can easily split your count to 50 times less forum by using thread-prefixes instead of sub-forums... (each state is a prefix)

using prefixes as identifiant for topics will cut down the need to have forums as identifiants... you have the best example here on vb.org... they use prefixes to identify each type of hack release here, so instead of having 15 sub-forums for each vb version, there is 15 prefixes for each version... and you can choose to display only prefix X or Y, so it helps making more seperation on topics...

the worst way to manage big forums is to split the content by forums...
Reply With Quote
Reply


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 10:26 PM.


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.05249 seconds
  • Memory Usage 2,287KB
  • Queries Executed 23 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (8)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete