AI Assistant
Notifications
Clear all

[Closed] Posting & replying slow

11 Posts
4 Users
4 Reactions
3,856 Views
Posts: 9
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@timmeehh)
Active Member
Joined: 5 years ago
[#18461]

Hey guys, hope somebody can help me. I have wpForo running which is great, but posting a new reply takes like 10-15 seconds. I would like to resolve that.

 

Steps I already tried:

 

- Checked the DB for InnoDB /MyISAM structures and fixed them if necessary. 

- Checked the cache settings in wpForo

- Checked the site health page of Wordpress (nothing weird there), just outdated PHP (/zip module being disabled) but that shouldn't matter.

- checked the wpForo debug -> error tab, but nothing there at all.

- Created a new forum & created a post to check if it would be the e-mail sending that would slow things, but on the new empty forum it would still take 10-15 seconds, so that's not the problem.

 

Is there something else I can try? Thanks a lot in advance. 

 


Topic Tags
10 Replies
dimalifragis
Posts: 2600
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@dimalifragis)
Famed Member
Joined: 6 years ago

It is probably your EMAIL server, sending out smtp emails.

Also if anybody else is reading that in the future, please STOP playing around with SQL engine types, i dunno who started this game.


Chris
Posts: 3610
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@chris)
Famed Member
Joined: 5 years ago

Hi @timmeehh,

I guess you need to update MySQL(MariaDB) and PHP versions to the latest.


Posts: 9
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@timmeehh)
Active Member
Joined: 5 years ago

@dimalifragis It's stated here by an admin: https://wpforo.com/community/faq/forum-is-slow/

 

@Chris I updated both and the issue is still here. It seems like it is indeed the email sending that makes things slow. Is there something I can do to make that better? I use wp-mail-smtp, should I use something else?


7 Replies
dimalifragis
(@dimalifragis)
Joined: 6 years ago

Famed Member
Posts: 2600
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Posted by: @timmeehh

@dimalifragis It's stated here by an admin: https://wpforo.com/community/faq/forum-is-slow/

 

As i said, this is probably due to EMAIL (smtp/out) mail to your mail server.

https://wpforo.com/community/how-to-and-troubleshooting-2/5-sec-to-reply-is-it-normal/


(@timmeehh)
Joined: 5 years ago

Active Member
Posts: 9
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@dimalifragis You are absolutely right. I disabled wp-mail-smtp and replying got quick again. The problem is that if I don't use wp-mail-smtp, sending mails won't work at all. What should I do to get best of both worlds? I obviously need mail sending..

 

Note that I have hundreds of users. Might that be the problem?


dimalifragis
(@dimalifragis)
Joined: 6 years ago

Famed Member
Posts: 2600
dimalifragis
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@timmeehh 

Well this is tricky to answer. You MIGHT have an issue with sending smtp out, what are the logs of smtp plugin tell you?

If there are NO errors, then the delay is normal because of the ammount of emails as you say. In that case you want to QUEUE your emails, using some 3rd party email service or this:

https://wordpress.org/plugins/gd-mail-queue/

 


(@timmeehh)
Joined: 5 years ago

Active Member
Posts: 9
dimalifragis
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@dimalifragis Thanks for the reply, this did the trick. Thanks for all the help!


Robert
Admin
(@robert)
Joined: 2 months ago

Support Team
Posts: 10719
dimalifragis
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@timmeehh ,

In case you don't want to use SMTP solutions, you should use the default mail sending functions. wpForo can detect if the PHP mail() function doesn't work, this is the default WordPress function based on PHP mail() function. You can check it in Forums  > Tools > Debug > Error & Issues Tab, it'll show red marked information. You see that error, you should contact hosting support and ask them to enable it.

The link in the information section goes to: https://www.wpbeginner.com/wp-tutorials/how-to-fix-wordpress-not-sending-email-issue/


(@timmeehh)
Joined: 5 years ago

Active Member
Posts: 9
dimalifragis
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@Robert Hey Robert, thanks for the reply. I am hosting everything myself, so I was 100% sure that was not the error. wpForo also shows 0 errors, so that's not the problem.

I figured it out (with the help of @dimalifragis), and the problem was that with every reply our site was sending out around 400 emails, which made posting slow. It worked, but again, our server sending out 400 mails takes a few seconds.

I understand that wpForo is not usually used with such a big user base, but this might become a problem for more people in the future. Changing the way emails are sent (for example using a queue as mentioned before) might be way better in a future release.

Our forum has never been faster. Posting now takes 0,4 seconds instead of 20-30.


Chris
(@chris)
Joined: 5 years ago

Famed Member
Posts: 3610
Robert
dimalifragis
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

Thank you, @timmeehh for your Suggestion, the Mail Queue is in our to-do list.


Share: