Page 1 of 1

Problem changing status and uploading a note

Posted: 11 Aug 2017, 22:06
by inneyvargas
Hello everyone

A few days ago update the version I had mantis to 2.5.1, I started to test and when I add a note or change the status of the incident, it takes too long to load and if I upload a file or edit a note loads immediately.
And in the database when I click to save the note, it also saves immediately.
I do not know why this happens, I do not know if anyone knows why it is this error and can help me.

Thank you

Re: Problem changing status and uploading a note

Posted: 13 Aug 2017, 08:36
by atrol
inneyvargas wrote:it takes too long to load
What does too long mean? Which action takes how many seconds?

Re: Problem changing status and uploading a note

Posted: 13 Aug 2017, 17:10
by inneyvargas
If I add a note or change the status of the incident takes more than 10 minutes to load the two actions.

Re: Problem changing status and uploading a note

Posted: 14 Aug 2017, 16:52
by atrol
Are there a lot of entries in database table mantis_email_table?

Re: Problem changing status and uploading a note

Posted: 15 Aug 2017, 01:17
by inneyvargas
For each action two records are added in the table

Re: Problem changing status and uploading a note

Posted: 15 Aug 2017, 08:15
by atrol
The database table mantis_email_table should be empty most of the time.
There is a problem sending emails if there are a lot of entries in it.
Mantis tries to send again and again the emails stored in this table which might be the reason for your performance issue.

Re: Problem changing status and uploading a note

Posted: 16 Aug 2017, 14:24
by inneyvargas
I understand you told me, but I try to add a note in other computer and in this case only delay 30 seconds.
And in the database table mantis_email_table have the same entries.
Is it still the same problem?

Re: Problem changing status and uploading a note

Posted: 16 Aug 2017, 15:03
by atrol
You can try if temporary deactivating email notifications fixes the issue.
Add the following line for that to file config_inc.php

Code: Select all

$g_enable_email_notification = OFF;

Re: Problem changing status and uploading a note

Posted: 17 Aug 2017, 02:19
by inneyvargas
You're right, I automatically put that line and started loading everything fast.

This solves my problem for now, but in the future I will need to send notifications to the mail, I will work on that.

Thanks for your help and your time.

Re: Problem changing status and uploading a note

Posted: 18 Aug 2017, 19:40
by inneyvargas
Hello Astrol

I have a question, if I disable mail notifications, is it normal for old emails to start arriving?

Re: Problem changing status and uploading a note

Posted: 18 Aug 2017, 21:54
by atrol
inneyvargas wrote:if I disable mail notifications, is it normal for old emails to start arriving?
Certainly not, as Mantis will no longer look at the email queue (mantis-email_table) and try to send mail.
Seems there is a problem / delay with your email server, spam protection system or whatever you use to send and receive mails.