Developer forum

Forum » Integration » Live integration email error notification causes deadlock

Live integration email error notification causes deadlock

Jonas Krarup Dam
Reply

Hey, 

we've had problems on a customers website, where the email notification functionality caused a deadlock on read/write to the logfile. 

I found out by making a memory dump of the process, where it said that 39 threads where waiting for one specific thread. 
The callstack for this thread is shown in the attached screenshot: 

I would recommend that you change the notification code so that it doesn't have to read from a an active log-file.

Regards, Jonas


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Jonas,
thx for the report, we will look to get it fixed. Is increasing the "Notification sending frequency" option fixing the problem? Is it on DW9 or DW10?
BR, Dmitrij

 
Jonas Krarup Dam
Reply

Hi Dmitriy
I don't know - we decided to disablethe email notification to ensure that the website didn't lock up again :-)

Regards, Jonas

 

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Jonas,
that was fixed in the new Live integration 7.4.16 so you can update it to the newer version.
BR, Dmitrij

 

You must be logged in to post in the forum