SOLVED:E-Mail retrival error with enabled event notification

Moderator: crythias

Locked
felixjoussein
Znuny newbie
Posts: 6
Joined: 21 Feb 2014, 13:07
Znuny Version: 3.3.4
Real Name: Felix
Company: Integrated Network Design

SOLVED:E-Mail retrival error with enabled event notification

Post by felixjoussein »

Hi,
as soon, as I enable an event email-notification, the e-mail retrical process stops working:
RAM Usage on the system bursts to the limit, the whole system stops responding.
As soon as I deacticate that notifier, and kill the process consuming the memory, the mail retrival works normal again.

Here is the output from bin/otrs.PostMasterMailbox.pl:

bin/otrs.PostMasterMailbox.pl -f 1
Wide character in print at /opt/otrs/Kernel/cpan-lib/Net/IMAP/Simple.pm line 1128, <GEN0> line 1.
IMAP: Message 1/1 (servicedesk@integrated.at/mail.brauncloud.at)
Deep recursion on subroutine "Kernel::System::EventHandler::EventHandler" at /opt/otrs/Kernel/System/Ticket.pm line 5140.
Deep recursion on subroutine "Kernel::System::Ticket::Event::NotificationEvent::Run" at /opt/otrs/Kernel/System/EventHandler.pm line 252.
Deep recursion on subroutine "Kernel::System::EventHandler::EventHandler" at /opt/otrs/Kernel/System/Ticket/Article.pm line 347.
Deep recursion on subroutine "Kernel::System::Ticket::Event::NotificationEvent::Run" at /opt/otrs/Kernel/System/EventHandler.pm line 252.
Deep recursion on subroutine "Kernel::System::Ticket::Event::NotificationEvent::_SendNotificationToRecipients" at /opt/otrs/Kernel/System/Ticket/Event/NotificationEvent.pm line 245.
Deep recursion on subroutine "Kernel::System::Ticket::Event::NotificationEvent::_SendNotification" at /opt/otrs/Kernel/System/Ticket/Event/NotificationEvent.pm line 522.
Deep recursion on subroutine "Kernel::System::Ticket::Article::ArticleSend" at /opt/otrs/Kernel/System/Ticket/Event/NotificationEvent.pm line 862.
Deep recursion on subroutine "Kernel::System::Ticket::Article::ArticleCreate" at /opt/otrs/Kernel/System/Ticket/Article.pm line 2064.

Any help resolving this issue is appreciated!

regards,
Felix
Last edited by felixjoussein on 23 Feb 2014, 20:03, edited 1 time in total.
OTRS::ITSM 3.3.4/MySQL 5.5.35/Ubuntu 12.04 LTS
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: E-Mail retrival error with enabled event notification

Post by reneeb »

What OTRS version do you run?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
felixjoussein
Znuny newbie
Posts: 6
Joined: 21 Feb 2014, 13:07
Znuny Version: 3.3.4
Real Name: Felix
Company: Integrated Network Design

Re: E-Mail retrival error with enabled event notification

Post by felixjoussein »

3.3.x GIT
OTRS::ITSM 3.3.4/MySQL 5.5.35/Ubuntu 12.04 LTS
felixjoussein
Znuny newbie
Posts: 6
Joined: 21 Feb 2014, 13:07
Znuny Version: 3.3.4
Real Name: Felix
Company: Integrated Network Design

Re: E-Mail retrival error with enabled event notification

Post by felixjoussein »

To let you know: upgraded to 3.3.4 - problem persists:

bin/otrs.PostMasterMailbox.pl -f 1
Wide character in print at /opt/otrs-3.3.4/Kernel/cpan-lib/Net/IMAP/Simple.pm line 1128, <GEN0> line 1.
IMAP: Message 1/12 (servicedesk@integrated.at/mail.brauncloud.at)
Deep recursion on subroutine "Kernel::System::EventHandler::EventHandler" at /opt/otrs-3.3.4/Kernel/System/Ticket.pm line 5140.
Deep recursion on subroutine "Kernel::System::Ticket::Event::NotificationEvent::Run" at /opt/otrs-3.3.4/Kernel/System/EventHandler.pm line 252.
Deep recursion on subroutine "Kernel::System::EventHandler::EventHandler" at /opt/otrs-3.3.4/Kernel/System/Ticket/Article.pm line 347.
Deep recursion on subroutine "Kernel::System::Ticket::Event::NotificationEvent::Run" at /opt/otrs-3.3.4/Kernel/System/EventHandler.pm line 252.
Deep recursion on subroutine "Kernel::System::Ticket::Event::NotificationEvent::_SendNotificationToRecipients" at /opt/otrs-3.3.4/Kernel/System/Ticket/Event/NotificationEvent.pm line 245.
Deep recursion on subroutine "Kernel::System::Ticket::Event::NotificationEvent::_SendNotification" at /opt/otrs-3.3.4/Kernel/System/Ticket/Event/NotificationEvent.pm line 522.
Deep recursion on subroutine "Kernel::System::Ticket::Article::ArticleSend" at /opt/otrs-3.3.4/Kernel/System/Ticket/Event/NotificationEvent.pm line 862.
Deep recursion on subroutine "Kernel::System::Ticket::Article::ArticleCreate" at /opt/otrs-3.3.4/Kernel/System/Ticket/Article.pm line 2064.
OTRS::ITSM 3.3.4/MySQL 5.5.35/Ubuntu 12.04 LTS
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: E-Mail retrival error with enabled event notification

Post by crythias »

OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
felixjoussein
Znuny newbie
Posts: 6
Joined: 21 Feb 2014, 13:07
Znuny Version: 3.3.4
Real Name: Felix
Company: Integrated Network Design

Re: E-Mail retrival error with enabled event notification

Post by felixjoussein »

Hi, thanks for the link.
What modifications do I have to do?
Just an info (might be important): The warning persists if the event-notifications are disabled and then the email retrival works perfectly.

regards,
Felix
OTRS::ITSM 3.3.4/MySQL 5.5.35/Ubuntu 12.04 LTS
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: E-Mail retrival error with enabled event notification

Post by crythias »

maybe related to the notification event itself. Describe what it is/does.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
felixjoussein
Znuny newbie
Posts: 6
Joined: 21 Feb 2014, 13:07
Znuny Version: 3.3.4
Real Name: Felix
Company: Integrated Network Design

Re: E-Mail retrival error with enabled event notification

Post by felixjoussein »

Alright - found the reason:
I had overseen to set the Articlefilter for the ArtickeCreate event.
Once, I set it, mail retrieval worked as expected as well as the notification itself.

I am going to set this to SOLVED now.

regards,
Felix
OTRS::ITSM 3.3.4/MySQL 5.5.35/Ubuntu 12.04 LTS
Locked