vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Large forum; Optimize search.php (https://vborg.vbsupport.ru/showthread.php?t=261126)

frankie. 03-29-2011 12:50 PM

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.

ForumsMods 03-29-2011 01:12 PM

Did you try Sphinx?

frankie. 03-29-2011 01:43 PM

No, I googled it and it looks like a good idea, I may try that. thanks

AusPhotography 03-30-2011 01:27 AM

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)

frankie. 03-31-2011 10:57 AM

Quote:

Originally Posted by snoopytas (Post 2178947)
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

AusPhotography 04-01-2011 02:04 AM

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?

frankie. 04-12-2011 11:46 AM

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

DNN 04-12-2011 01:39 PM

Quote:

Originally Posted by ForumsMods (Post 2178724)
Did you try Sphinx?

What is Sphinx?

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

Quote:

Originally Posted by frankie. (Post 2179374)
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. (Post 2178719)
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! =)

frankie. 04-12-2011 02:30 PM

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.


All times are GMT. The time now is 02:08 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.00957 seconds
  • Memory Usage 1,732KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete