Question

11
Replies
1738
Views
RJ000043 Member since 2015 11 posts
Commonwealth Bank of Australia
Posted: 4 years ago
Last activity: 4 years 4 months ago
Closed
Solved

Email Listener Issue

Hi,

Email listener in my application is getting moved to Sleeping mode for around 498905/ 468905 seconds when it encounters a situation of not being able to acquire lock on Inbox it is listening to. Listener is running on multiple nodes and sometimes it is in sleeping mode for hours on all nodes simultaneously. Can anyone please suggest a solution for this? Pega version in 7.1.7 and the latency period is set as 100 seconds.

Below is the debug info captured in Pega logs:

2016-05-19 17:35:49,076 [fault (self-tuning)'] [          ] [                    ] [                    ] (  services.email.EmailListener) DEBUG EMAIL.AppEmailListener.AppMailServer InboundEmail@xx.com.au - Service Package: EmailDefault

2016-05-19 17:35:49,076 [fault (self-tuning)'] [          ] [                    ] [                    ] (  services.email.EmailListener) DEBUG EMAIL.AppEmailListener.AppMailServer InboundEmail@xx.com.au - Service Class: Email-Email1-Sample-Work-External-InboundEmail

2016-05-19 17:35:49,076 [fault (self-tuning)'] [          ] [                    ] [                    ] (  services.email.EmailListener) DEBUG EMAIL.AppEmailListener.AppMailServer InboundEmail@xx.com.au - Folder: INBOX

2016-05-19 17:35:49,076 [fault (self-tuning)'] [          ] [                    ] [                    ] (  services.email.EmailListener) DEBUG EMAIL.AppEmailListener.AppMailServer InboundEmail@xx.com.au - Latency: 100

2016-05-19 17:35:49,076 [fault (self-tuning)'] [          ] [                    ] [                    ] (  services.email.EmailListener) DEBUG EMAIL.AppEmailListener.AppMailServer InboundEmail@xx.com.au - Max. # of messages: 999

2016-05-19 17:35:49,076 [fault (self-tuning)'] [          ] [                    ] [                    ] (  services.email.EmailListener) DEBUG EMAIL.AppEmailListener.AppMailServer InboundEmail@xx.com.au - Max. processing time (seconds): 0

2016-05-19 17:35:49,076 [fault (self-tuning)'] [          ] [                    ] [                    ] (  services.email.EmailListener) DEBUG EMAIL.AppEmailListener.AppMailServer InboundEmail@xx.com.au - Host: imap.xx.xx.com, mPort: xxx, mProtocol: imap

2016-05-19 17:35:49,101 [fault (self-tuning)'] [  STANDARD] [                    ] [                    ] (  services.email.EmailListener) DEBUG EMAIL.AppEmailListener.AppMailServer InboundEmail@xx.com.au - Establishing new requestor.A3BCF6BBFAF9D3858FA173FD37DA9CEA6

2016-05-19 17:35:49,110 [fault (self-tuning)'] [  STANDARD] [                    ] [                    ] (  services.email.EmailListener) DEBUG EMAIL.AppEmailListener.AppMailServer InboundEmail@xx.com.au - attempt to lock AppMailServer.INBOX : false

2016-05-19 17:35:49,132 [fault (self-tuning)'] [  STANDARD] [                    ] [                    ] (  services.email.EmailListener) DEBUG EMAIL.AppEmailListener.AppMailServer InboundEmail@xx.com.au - We do not have lock on inbox

2016-05-19 17:35:49,132 [fault (self-tuning)'] [  STANDARD] [                    ] [                    ] (  services.email.EmailListener) DEBUG EMAIL.AppEmailListener.AppMailServer InboundEmail@xx.com.au - Will sleep for 468905 seconds

2016-05-19 17:35:49,132 [fault (self-tuning)'] [  STANDARD] [                    ] [                    ] (  services.email.EmailListener) DEBUG EMAIL.AppEmailListener.AppMailServer InboundEmail@xx.com.au - Cleanup lock requestor.

2016-05-19 17:35:49,132 [fault (self-tuning)'] [  STANDARD] [                    ] [                    ] (  services.email.EmailListener) DEBUG EMAIL.AppEmailListener.AppMailServer InboundEmail@xx.com.au - delete requestor A3BCF6BBFAF9D3858FA173FD37DA9CEA6

2016-05-19 17:35:49,134 [fault (self-tuning)'] [  STANDARD] [                    ] [                    ] (  services.email.EmailListener) DEBUG EMAIL.AppEmailListener.AppMailServer InboundEmail@xx.com.au - Cleanup work requestor.

2016-05-19 17:35:49,134 [fault (self-tuning)'] [  STANDARD] [                    ] [                    ] (  services.email.EmailListener) DEBUG EMAIL.AppEmailListener.AppMailServer InboundEmail@xx.com.au - Requestor id is null, no cleanup required.

Message was edited by: Lochan to add Category

Message was edited by: Lochan to add Category

Data Integration
Moderation Team has archived post
Share this page LinkedIn