unlock ticket delta time error

Moderator: crythias

Post Reply
jroske77
Znuny newbie
Posts: 10
Joined: 07 Apr 2020, 17:37
Znuny Version: 6.0.28
Real Name: Jason Roske

unlock ticket delta time error

Post by jroske77 »

Hi Everyone,

I keep having this issue creep up every few days in my OTRS log.

Thu Jun 4 08:35:18 2020 (America/Regina) error OTRS-otrs.Console.pl-Maint::Ticket::UnlockTimeout-51 There was an error executing Execute() in Kernel::System::Console::Command::Maint::Ticket::UnlockTimeout: ERROR: OTRS-otrs.Console.pl-Maint::Ticket::UnlockTimeout-51 Perl: 5.16.3 OS: linux Time: Thu Jun 4 08:35:18 2020
Thu Jun 4 08:35:18 2020 (America/Regina) error OTRS-otrs.Console.pl-Maint::Ticket::UnlockTimeout-51 Delta calculation of working time took too long, aborting.

It seems to point to this, and as you can see I have tried increasing the timeout from 5 to 20. It seems to help but it is not a cure. (from /opt/otrs/Kernel/System/DateTime.pm)

# Fail if this loop takes longer than 5 seconds
if ( time() - $LoopStartTime > 20 ) {
$Kernel::OM->Get('Kernel::System::Log')->Log(
Priority => 'error',
Message => 'Delta calculation of working time took too long, aborting.',
);

return;
}

Any ideas please?
Post Reply