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 11-13-2010, 11:11 PM
linuxkidd linuxkidd is offline
 
Join Date: Jan 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default HELP! Extended delay in thread re-load after post

Hello all,
I manage a vb4.08 install for an RV Owners club. Since we've been on our latest host ( since August ), we've had an issue of insanely long delays after posting a reply or new thread.

I've done packet captures and watched the developer tools in FF and Chrome and found that the delay isn't in posting the data and waiting for a response... The delay is actually in the query for the original thread after the post has been submitted. This delay can be as short as 10 seconds or so.. but as long as 50 to 90 seconds!

I've performed all the optimizations I've been able to find online ( moving as much to filesystem as possible, disabling gzip in vB since mod_deflate is enabled on the host, converting DB engine to InnoDB, extending Thread cache time, adjusting cache timeout values in the .htaccess file, etc.. ) and thought that it was better...

But now, during peak usage the delay is back on posting. The delay does NOT seem to affect quick reply, at least not as consistently as it does the advanced reply or new thread posting. The delay exists even during off-peak times! Nothing else on the forum is slow. Nothing.. I would expect if server load was an issue ( which it has been in the past ), all activity would be slow.

We're currently hosted on a ESX 3.5i VM w/ 2 vCPUs, 2Gb of Ram running on CentOS 5.5 with apache 2.2.16 and php-5.2.14 ( RPM's from the utterramblings repo ).

Any ideas would be greatly appreciated...

Thanks!
LK
Reply With Quote
  #2  
Old 11-14-2010, 03:22 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have your own server? I'd suggest posting over on vbulletin.com in the Server Configuration forum for help optimizing the server for use with your site.
Reply With Quote
  #3  
Old 11-14-2010, 01:31 PM
linuxkidd linuxkidd is offline
 
Join Date: Jan 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Lynne,
I've done just that. Hope someone has some good ideas.

Thanks,
LK
Reply With Quote
  #4  
Old 11-14-2010, 03:40 PM
rootsxrocks rootsxrocks is offline
 
Join Date: Aug 2009
Posts: 230
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having the same issue since updating to 4.08, I am shopping for a new server and have been doing some work on reducing the database calls, but this delay is extremely long especially if you use the Publish to Facebook box. it often results in people making double post both on the forum and to facebook. they are no longer caught by the error ( this post is a duplicate of one you made in the last 5 min)
Reply With Quote
  #5  
Old 11-30-2010, 12:12 PM
Dave Hybrid's Avatar
Dave Hybrid Dave Hybrid is offline
 
Join Date: Mar 2007
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have exactly the same issue running 3.8.6.

Does it on the default template and with plugins disabled.

Advanced reply takes 10-60 seconds to show up after posting.

Quick reply is not affected.
Reply With Quote
  #6  
Old 11-30-2010, 02:25 PM
linuxkidd linuxkidd is offline
 
Join Date: Jan 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.vbulletin.com/forum/showthread.php?366831-HELP!-Extended-delay-in-thread-re-load-after-post" target="_blank">Here is the thread</a> over on vbulletin.com.

In my instance, it turned out to be a slow response from the mail server. There is a TON of optimizations that eva2000 posted in that thread. While none of it specifically fixed my issue, it did allow exposure of the true problem based on what bit of db query was always in the 'mysql server went away' messages that started after the optimizations.

Re: the mail server, I simply did a 'telnet mailserver 25' and in my instance, it took several seconds to even get the initial 220 mailserver ESMTP response.

Hope this helps!
LK
Reply With Quote
  #7  
Old 11-30-2010, 03:03 PM
Dave Hybrid's Avatar
Dave Hybrid Dave Hybrid is offline
 
Join Date: Mar 2007
Posts: 463
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much for the reply, how exactly did you fix any issue regarding a slow mail server, was there some specific mail server setting you changed?

Thanks again.
Reply With Quote
  #8  
Old 07-24-2012, 09:19 AM
p666 p666 is offline
 
Join Date: Apr 2012
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this just fixed the problem on our 4.2.0 server.. thank you.. It was worse on multi-page threads.

Basically as I understand it.. each time a user does a post, it tries to shoot off an email to every user that has subscribed. If the mail server is unreponsive (ours has been down), it sits there until it eventually times out before returning the user to their post.

It makes sense that longer threads are likely to have more subscribers, and therefore the ones most effected.

We were getting 0-30 second timeouts on some posts. Now is back to 0-1 second.
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 01:26 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.12068 seconds
  • Memory Usage 2,219KB
  • 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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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