Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-29-2011, 12:50 PM
frankie. frankie. is offline
 
Join Date: Jan 2009
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Large forum; Optimize search.php

I have a steady growing forum; http://houstonperformancetrucks.com/

I'm on a dedicated server. My peak hours are 9pm - 12am, I have to log in and turn off message searching due to the search.php file. Everyone clicks on "what's new/ new posts" and it causes a huge load on the forum.

I get loads over 100.00+ if i don't turn off the message searching options.

model name : Intel(R) Celeron(R) CPU 2.00GHz
I'm on 2gb of ram. Just recently upgraded from 1gb ram thinking it was a memory issue. I think the CPU can't handle all of the load, but I want to see if there is a way to optimise the "new posts/whats new" before upgrading to another dedicated server.

Any Ideas? I've followed several articles but none have helped.
Reply With Quote
  #2  
Old 03-29-2011, 01:12 PM
ForumsMods ForumsMods is offline
 
Join Date: Aug 2007
Location: Argentina
Posts: 667
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you try Sphinx?
Reply With Quote
  #3  
Old 03-29-2011, 01:43 PM
frankie. frankie. is offline
 
Join Date: Jan 2009
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, I googled it and it looks like a good idea, I may try that. thanks
Reply With Quote
  #4  
Old 03-30-2011, 01:27 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This may help... it reduces the search load... http://tracker.vbulletin.com/browse/VBIV-9878

Also:
1. Try limiting searches / user to once per 15 or 30 seconds
2. Disable 'bots from searching via robots.txt (stop access to search.php)
Reply With Quote
  #5  
Old 03-31-2011, 10:57 AM
frankie. frankie. is offline
 
Join Date: Jan 2009
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by snoopytas View Post
This may help... it reduces the search load... http://tracker.vbulletin.com/browse/VBIV-9878

Also:
1. Try limiting searches / user to once per 15 or 30 seconds
2. Disable 'bots from searching via robots.txt (stop access to search.php)
That tracker URL is confusing lol idk what is going on there.

I tried setting the limit to 60 seconds, I created a test account, it only works when a user doesn't have any posts, once i made a post it didn't limit me anymore. Any ideas why?

Thanks
Reply With Quote
  #6  
Old 04-01-2011, 02:04 AM
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Location: Hobart & Adelaide .au
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The tracker has a patch file which needs to be applied to the vB source.
You need to have some understanding of diff and patch (being a developer helps).
You can also apply the edits by hand, once you understand the diff format.

The search time limit should apply to everyone but admins?
Reply With Quote
  #7  
Old 04-12-2011, 11:46 AM
frankie. frankie. is offline
 
Join Date: Jan 2009
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds hardcore lol

I ended up moving hosts and upgraded from a single core to a quad core dedicated server. I haven't seen the server hit a load past 1.00

I'll worry about optimizing again in about a year or so. Thanks for the help. For now i'll be able to sleep at night lol
Reply With Quote
  #8  
Old 04-12-2011, 01:39 PM
DNN DNN is offline
 
Join Date: Mar 2011
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForumsMods View Post
Did you try Sphinx?
What is Sphinx?

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

Quote:
Originally Posted by frankie. View Post
That tracker URL is confusing lol idk what is going on there.

I tried setting the limit to 60 seconds, I created a test account, it only works when a user doesn't have any posts, once i made a post it didn't limit me anymore. Any ideas why?

Thanks
Maybe I need to do some adjusting to my forum too? I haven't had any issues yet, but I too also have 2GB of ram. How much bandwidth are you working with?

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

Quote:
Originally Posted by frankie. View Post
I have a steady growing forum; http://houstonperformancetrucks.com/

I'm on a dedicated server. My peak hours are 9pm - 12am, I have to log in and turn off message searching due to the search.php file. Everyone clicks on "what's new/ new posts" and it causes a huge load on the forum.

I get loads over 100.00+ if i don't turn off the message searching options.

model name : Intel(R) Celeron(R) CPU 2.00GHz
I'm on 2gb of ram. Just recently upgraded from 1gb ram thinking it was a memory issue. I think the CPU can't handle all of the load, but I want to see if there is a way to optimise the "new posts/whats new" before upgrading to another dedicated server.

Any Ideas? I've followed several articles but none have helped.
very nice forum you have there. Who did the coding for you? It looks hot! =)
Reply With Quote
  #9  
Old 04-12-2011, 02:30 PM
frankie. frankie. is offline
 
Join Date: Jan 2009
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks alot . I did everything on it. Not much coding tho except for simple html for the banners on the left column. I did all the sytle vars tho for the color and stuff.
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 02:46 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.04165 seconds
  • Memory Usage 2,240KB
  • Queries Executed 11 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete