vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Submit reply delay when making a post (https://vborg.vbsupport.ru/showthread.php?t=316437)

compact 01-05-2015 06:51 PM

Submit reply delay when making a post
 
Hi there, i also posted this in vb.com and wanted to see if anyone here has some suggestions or opinions on the matter. I have a fairly large forum thats run off a dedicated server, and for the past year i noticed that there was a delay/hang for about 5 seconds after a user makes a post and hits the "submit reply" button (which can get annoying). I have read that some admins had the same issue, and turning off the "enable email features" in the admin cpanel had fixed the hang which it did in my case as well. So now i have a large forum with email notifications turned off which isn't cool. Any idea what's going on, or if anyone knows anything about this? Any help would be greatly appreciated, as i don't know what to do anymore. Thanks.

Btw, i was suggested to use a cron based email hack which i have not tried installing yet.

kh99 01-05-2015 07:05 PM

Yeah, probably cron based email sending will solve the issue, if that's available for vb3.

kh99 01-05-2015 07:07 PM

...and it is, it's here: https://vborg.vbsupport.ru/showthread.php?t=201318

compact 01-05-2015 07:20 PM

I will install it tonight, and cross my fingers. :) Thanks.

kh99 01-05-2015 07:24 PM

Did you try turning on "Use Mailqueue System"? That should make a difference even without installing that mod. I should have mentioned that.

compact 01-05-2015 08:00 PM

Thanks yes, my mailqueue is turned to "yes".

kh99 01-05-2015 08:02 PM

Oh, and you were still getting 5 second delays, until you turned off email notifications? Hmm...well, maybe it was caused by locking of the mailqueue table, and if that's true then that mod should help.

compact 01-05-2015 08:37 PM

Yup, i emptied my default mailbox as it was pretty full, thought it was that, but it didn't seem to have helped either. The only thing that worked was setting "enable email features" to no. :(

I hope this hack with do the trick. Thanks for the help so far.

Zachery 01-05-2015 08:49 PM

Do you have similar thread searching enabled? Though, 5 seconds doesn't seem all that bad.

compact 01-05-2015 09:01 PM

Quote:

Originally Posted by Zachery (Post 2530653)
Do you have similar thread searching enabled? Though, 5 seconds doesn't seem all that bad.

Hey Zachery, The automatic similar thread search is set to "no". It does vary, but on range, i would say 5-10sec. I mean it could be worse i'm sure, but it's definitely noticeable.

compact 01-07-2015 01:12 AM

So, i was doing a little more research on this cron hack, but it seems as though this hack is made for forums that have large mailing lists, and generally send out tons of email, which i do not. I do have a fairly large forum with about 30k members though. The delay also happens when you reply in a thread with 1-2 posts, so not really sure what's going on.

You guys still think that this cron hack will be appropriate for me?

Thanks guys.

kh99 01-07-2015 09:06 AM

Well, that was based on the fact that you said turning off notifications made the delay go away. If you aren't using the mailqueue, then any subscriptions have to be sent as soon as the reply is posted, and that could take time. It doesn't really matter how many posts there are in a thread, only how many people are subscribing. But you did say that you *are* using the mailqueue, so I have to admit that that makes it less clear. It does seem like it shouldn't take that long just to queue up the mail, especially since you said you don't have a large volume of mail. But I have no other ideas myself, and it seemed worth a try, since I don't think installing it is a big issue and you can turn it off or uninstall it if it doesn't fix the problem.

Anyway, maybe someone else will have an idea.

compact 01-10-2015 08:17 PM

Just an update to this issue. It looks like it fixed it!! :)) Thanks again guys. You guys are awesome help.

ozzy47 01-10-2015 08:28 PM

So what was the final solution that you did?

compact 01-11-2015 03:55 AM

Quote:

Originally Posted by ozzy47 (Post 2531779)
So what was the final solution that you did?

I installed the cron based email hack as it was suggested to me above :) Looks like it did the trick!

https://vborg.vbsupport.ru/showthread.php?t=201318

ozzy47 01-11-2015 10:00 AM

Cool, thanks for reporting back. :)


All times are GMT. The time now is 06:30 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.01272 seconds
  • Memory Usage 1,742KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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