Problem changing status and uploading a note

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
inneyvargas
Posts: 6
Joined: 11 Aug 2017, 21:29

Problem changing status and uploading a note

Post 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
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Problem changing status and uploading a note

Post by atrol »

inneyvargas wrote:it takes too long to load
What does too long mean? Which action takes how many seconds?
Please use Search before posting and read the Manual
inneyvargas
Posts: 6
Joined: 11 Aug 2017, 21:29

Re: Problem changing status and uploading a note

Post by inneyvargas »

If I add a note or change the status of the incident takes more than 10 minutes to load the two actions.
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Problem changing status and uploading a note

Post by atrol »

Are there a lot of entries in database table mantis_email_table?
Please use Search before posting and read the Manual
inneyvargas
Posts: 6
Joined: 11 Aug 2017, 21:29

Re: Problem changing status and uploading a note

Post by inneyvargas »

For each action two records are added in the table
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Problem changing status and uploading a note

Post 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.
Please use Search before posting and read the Manual
inneyvargas
Posts: 6
Joined: 11 Aug 2017, 21:29

Re: Problem changing status and uploading a note

Post 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?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Problem changing status and uploading a note

Post 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;
Please use Search before posting and read the Manual
inneyvargas
Posts: 6
Joined: 11 Aug 2017, 21:29

Re: Problem changing status and uploading a note

Post 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.
inneyvargas
Posts: 6
Joined: 11 Aug 2017, 21:29

Re: Problem changing status and uploading a note

Post by inneyvargas »

Hello Astrol

I have a question, if I disable mail notifications, is it normal for old emails to start arriving?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Problem changing status and uploading a note

Post 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.
Please use Search before posting and read the Manual
Post Reply