Message processing takes long time

Message processing takes long time

Fx Boulanger
Vastuste arv 3

Hello,

I'm woirking with  Moodle 3.8.4+ (Build: 20200730)

Since monday, sending notification emails for student take a very long time.

Last week, the server was able to process up to 1700 messages in one minute, today, it is around 30. (logstore_standard_log)

when I execute the cron job, here is what I've got for one message :

Sending messages to xxxxx@uni.lu (6393)
  Post 72378 sent
Sent 1 messages with 0 failures
Marking posts as read
Marked 1 posts as read
... used 35 dbqueries
... used 5.034795999527 seconds
Adhoc task complete: mod_forum\task\send_user_notifications
Execute adhoc task: mod_forum\task\send_user_notifications
... started 16:03:15. Current memory use 43.8MB.


So around 5 seconds for one message...

I have several front end server, running the cronjob on another one do exactly the same.


Does anyone have any idea where I should look at in order to solve this ?


Thanx for your help.

Brgds/Fx


Keskmine hinnang: -
Vastuses Fx Boulanger

Re: Message processing takes long time

Fx Boulanger
Problem found nothing related to moodle.

Can someone delete this post ?
Vastuses Fx Boulanger

Re: Message processing takes long time

Marie-Eve Lévesque
Core developers pilt Plugin developers pilt
Hi,
We have a similar problem... We are looking for all solutions inside and outside Moodle.
Can you tell me what was the origin and/or the solution for your problem? Even if it is not related to Moodle. Any advice is welcome!
Thanks,
Marie-Eve
Vastuses Marie-Eve Lévesque

Re: Message processing takes long time

Fx Boulanger
Hello Marie-Eve,

our moodle front servers were configured with two dns servers.
The first of them was down, so for each message sent, there were a 5sec timout before joining the second DNS server. (DNS used for our smtp server)