<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question PutEmail processor dying frequently in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/336620#M232320</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my process I'm triggering some emails at certain points. My problem is that the PutEmail processor just keep dying frequently (even two or three times per day)!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nifi Version 1.14.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="templarian_0-1645193981714.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33605i68D8B1ABF816CDB1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="templarian_0-1645193981714.png" alt="templarian_0-1645193981714.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="templarian_1-1645194041125.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33606iBF7E08C60D87DEC7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="templarian_1-1645194041125.png" alt="templarian_1-1645194041125.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When processor dyes I have to terminate and restart it. This is the dump of the last crash:&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;EM&gt;&lt;FONT size="2"&gt;"Timer-Driven Process Thread-1" Id=68 RUNNABLE (in native code)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.socketRead0(Native Method)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.read(SocketInputStream.java:168)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.read(SocketInputStream.java:140)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:102)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.io.BufferedInputStream.read(BufferedInputStream.java:271)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- waiting on java.io.BufferedInputStream@40399b64&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:100)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2456)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2172)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:722)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- waiting on com.sun.mail.smtp.SMTPTransport@4fa5e86a&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Service.connect(Service.java:364)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- waiting on com.sun.mail.smtp.SMTPTransport@4fa5e86a&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Service.connect(Service.java:222)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Service.connect(Service.java:171)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Transport.send0(Transport.java:230)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Transport.send(Transport.java:100)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.processors.standard.PutEmail.send(PutEmail.java:524)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.processors.standard.PutEmail.onTrigger(PutEmail.java:392)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at app//org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1202)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:214)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run (TimerDrivenSchedulingAgent.java:103)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at &lt;A href="mailto:java.base@11.0.2/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run" target="_blank" rel="noopener"&gt;java.base@11.0.2/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run&lt;/A&gt; (ScheduledThreadPoolExecutor.java:305)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at &lt;A href="mailto:java.base@11.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(" target="_blank" rel="noopener"&gt;java.base@11.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(&lt;/A&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;EM&gt;&lt;FONT size="2"&gt;ThreadPoolExecutor.java:1128)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.lang.Thread.run(Thread.java:834)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;Number of Locked Synchronizers: 1&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- java.util.concurrent.ThreadPoolExecutor$Worker@39b265c9&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;EM&gt;&lt;FONT size="2"&gt;"Timer-Driven Process Thread-10 &amp;lt;Terminated Task&amp;gt;" Id=92 RUNNABLE (in native code)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.socketRead0(Native Method)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.read(SocketInputStream.java:168)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.read(SocketInputStream.java:140)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:102)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.io.BufferedInputStream.read(BufferedInputStream.java:271)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- waiting on java.io.BufferedInputStream@7fe5124a&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:100)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2456)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2172)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:722)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- waiting on com.sun.mail.smtp.SMTPTransport@17e56d13&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Service.connect(Service.java:364)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- waiting on com.sun.mail.smtp.SMTPTransport@17e56d13&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Service.connect(Service.java:222)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Service.connect(Service.java:171)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Transport.send0(Transport.java:230)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Transport.send(Transport.java:100)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.processors.standard.PutEmail.send(PutEmail.java:524)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.processors.standard.PutEmail.onTrigger(PutEmail.java:392)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at app//org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1202)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:214)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run (TimerDrivenSchedulingAgent.java:103)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at &lt;A href="mailto:java.base@11.0.2/java.lang.Thread.run(Thread.java:834)" target="_blank" rel="noopener"&gt;java.base@11.0.2/java.lang.Thread.run(Thread.java:834)&lt;/A&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;Number of Locked Synchronizers: 1&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- java.util.concurrent.ThreadPoolExecutor$Worker@176d79dc&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can find the reason (and the corrective action to take) why is this happening as the remain processors works fine. I'll appreciate your help pointing me in the right direction.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Feb 2022 16:46:02 GMT</pubDate>
    <dc:creator>templarian</dc:creator>
    <dc:date>2022-02-18T16:46:02Z</dc:date>
    <item>
      <title>PutEmail processor dying frequently</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/336620#M232320</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my process I'm triggering some emails at certain points. My problem is that the PutEmail processor just keep dying frequently (even two or three times per day)!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nifi Version 1.14.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="templarian_0-1645193981714.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33605i68D8B1ABF816CDB1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="templarian_0-1645193981714.png" alt="templarian_0-1645193981714.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="templarian_1-1645194041125.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33606iBF7E08C60D87DEC7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="templarian_1-1645194041125.png" alt="templarian_1-1645194041125.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When processor dyes I have to terminate and restart it. This is the dump of the last crash:&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;EM&gt;&lt;FONT size="2"&gt;"Timer-Driven Process Thread-1" Id=68 RUNNABLE (in native code)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.socketRead0(Native Method)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.read(SocketInputStream.java:168)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.read(SocketInputStream.java:140)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:102)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.io.BufferedInputStream.read(BufferedInputStream.java:271)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- waiting on java.io.BufferedInputStream@40399b64&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:100)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2456)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2172)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:722)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- waiting on com.sun.mail.smtp.SMTPTransport@4fa5e86a&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Service.connect(Service.java:364)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- waiting on com.sun.mail.smtp.SMTPTransport@4fa5e86a&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Service.connect(Service.java:222)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Service.connect(Service.java:171)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Transport.send0(Transport.java:230)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Transport.send(Transport.java:100)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.processors.standard.PutEmail.send(PutEmail.java:524)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.processors.standard.PutEmail.onTrigger(PutEmail.java:392)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at app//org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1202)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:214)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run (TimerDrivenSchedulingAgent.java:103)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at &lt;A href="mailto:java.base@11.0.2/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run" target="_blank" rel="noopener"&gt;java.base@11.0.2/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run&lt;/A&gt; (ScheduledThreadPoolExecutor.java:305)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at &lt;A href="mailto:java.base@11.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(" target="_blank" rel="noopener"&gt;java.base@11.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(&lt;/A&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;EM&gt;&lt;FONT size="2"&gt;ThreadPoolExecutor.java:1128)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.lang.Thread.run(Thread.java:834)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;Number of Locked Synchronizers: 1&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- java.util.concurrent.ThreadPoolExecutor$Worker@39b265c9&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;EM&gt;&lt;FONT size="2"&gt;"Timer-Driven Process Thread-10 &amp;lt;Terminated Task&amp;gt;" Id=92 RUNNABLE (in native code)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.socketRead0(Native Method)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.read(SocketInputStream.java:168)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.net.SocketInputStream.read(SocketInputStream.java:140)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:102)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.io.BufferedInputStream.fill(BufferedInputStream.java:252)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.io.BufferedInputStream.read(BufferedInputStream.java:271)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- waiting on java.io.BufferedInputStream@7fe5124a&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:100)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:2456)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:2172)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:722)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- waiting on com.sun.mail.smtp.SMTPTransport@17e56d13&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Service.connect(Service.java:364)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- waiting on com.sun.mail.smtp.SMTPTransport@17e56d13&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Service.connect(Service.java:222)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Service.connect(Service.java:171)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Transport.send0(Transport.java:230)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at jakarta.mail.Transport.send(Transport.java:100)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.processors.standard.PutEmail.send(PutEmail.java:524)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.processors.standard.PutEmail.onTrigger(PutEmail.java:392)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at app//org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1202)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:214)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run (TimerDrivenSchedulingAgent.java:103)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at java.base@11.0.2/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;at &lt;A href="mailto:java.base@11.0.2/java.lang.Thread.run(Thread.java:834)" target="_blank" rel="noopener"&gt;java.base@11.0.2/java.lang.Thread.run(Thread.java:834)&lt;/A&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;Number of Locked Synchronizers: 1&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;- java.util.concurrent.ThreadPoolExecutor$Worker@176d79dc&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can find the reason (and the corrective action to take) why is this happening as the remain processors works fine. I'll appreciate your help pointing me in the right direction.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 16:46:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/336620#M232320</guid>
      <dc:creator>templarian</dc:creator>
      <dc:date>2022-02-18T16:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: PutEmail processor dying frequently</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/336642#M232328</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86328"&gt;@templarian&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any messages in nifi-app.log related to the processor around the time of the crash?&lt;/P&gt;&lt;P&gt;It might help enabling DEBUG for NiFi and the processor and trying to reproduce the problem. Please share the debug logs if you manage to get them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;</description>
      <pubDate>Sat, 19 Feb 2022 07:11:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/336642#M232328</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-02-19T07:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: PutEmail processor dying frequently</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/336940#M232432</link>
      <description>&lt;P&gt;hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can't see anything relevant on nifi-app or in the PutEmail Debug.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Following logs are from an event that happened earlier today were 3 flow files were enqueued. I terminate/start the PutEmail processor and just 2 flow files were processed before the processor dyed again. I repeated the terminate/start action and the processor have been working without problem since then.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;PutEmail Debug&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Sent email as a result of receiving StandardFlowFileRecord[uuid=41e2361c-a94f-4b4c-b8d3-bdb558c92ae4,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1645643212828-491, container=default, section=491], offset=105253, length=104579],offset=0, name=33_76209474-6_41326.pdf, size=104579]&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Sent email as a result of receiving StandardFlowFileRecord[uuid=e05651dd-a507-4873-a291-fc840ce60b89,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1645643170184-490, container=default, section=490], offset=511202, length=118027],offset=0,name=34_76209474-6_45376.pdf, size=118027] &lt;/EM&gt;&lt;STRONG&gt;&lt;U&gt;&amp;lt;the processor just dyed, no goodbye, no error, no nothing!!&amp;gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;[Terminated Process] - DEBUG - Reloading component 8d061908-32f1-1b27-7653-ff7e9404c34a to type org.apache.nifi.processors.standard.PutEmail from bundle org.apache.nifi:nifi-standard-nar:1.14.0&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Sent email as a result of receiving StandardFlowFileRecord[uuid=a3ec8b22-850a-4788-b191-cb1faef454f9,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1645643289194-492, container=default, section=492], offset=868, length=103410],offset=0,name=33_83574800-6_41327.pdf, size=103410]&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Sent email as a result of receiving StandardFlowFileRecord[uuid=e43076fc-5baa-4d3b-8f50-e198524dff93,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1645643289194-492, container=default, section=492], offset=104278, length=116147],offset=0,name=34_83574800-6_45377.pdf, size=116147]&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;[Terminated Process] - DEBUG - Reloading component 8d061908-32f1-1b27-7653-ff7e9404c34a to type org.apache.nifi.processors.standard.PutEmail from bundle org.apache.nifi:nifi-standard-nar:1.14.0&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Sent email as a result of receiving StandardFlowFileRecord[uuid=4478a2ce-e9f6-4bd5-b63b-6549531e697a,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1645641281073-449, container=default, section=449], offset=127565, length=102849],offset=0,name=33_79921700-7_41302.pdf, size=102849]&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;EM&gt;Sent email as a result of receiving StandardFlowFileRecord[uuid=880053b8-336b-4ceb-&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT size="2"&gt;&lt;EM&gt;a7eb-371118014b1b,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1645643289319-493, container=default, section=493], offset=620752, length=99647],offset=0,name= 2022-02-23T16_28_31_T34F8251_76450608-1.pdf, size=99647]&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;nifi-app&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Does not exist any different message in the log while the event happened&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;FONT size="2"&gt;&lt;EM&gt;INFO [Cleanup Archive for default] o.a.n.c.repository.FileSystemRepository Successfully deleted 0 files (0 bytes) from archive&lt;BR /&gt;INFO [pool-10-thread-1] o.a.n.c.r.WriteAheadFlowFileRepository Initiating checkpoint of FlowFile Repository&lt;BR /&gt;INFO [pool-10-thread-1] o.a.n.c.r.WriteAheadFlowFileRepository Successfully checkpointed FlowFile Repository with 124 records in 0 milliseconds&lt;BR /&gt;INFO [pool-10-thread-1] o.a.n.c.r.WriteAheadFlowFileRepository Initiating checkpoint of FlowFile Repository&lt;BR /&gt;INFO [pool-10-thread-1] o.a.n.c.r.WriteAheadFlowFileRepository Successfully checkpointed FlowFile Repository with 124 records in 0 milliseconds&lt;BR /&gt;INFO [Write-Ahead Local State Provider Maintenance] org.wali.MinimalLockingWriteAheadLog org.wali.MinimalLockingWriteAheadLog@5a5cd0af checkpointed with 334 Records and 0 Swap Files in 55 milliseconds (Stop-the-world time = 24 milliseconds, Clear Edit Logs time = 24 millis), max Transaction ID 38437&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="4"&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 22:54:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/336940#M232432</guid>
      <dc:creator>templarian</dc:creator>
      <dc:date>2022-02-23T22:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: PutEmail processor dying frequently</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/336942#M232434</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86328"&gt;@templarian&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you be able to bump your NiFi log level to DEBUG and restart the service?&lt;/P&gt;&lt;P&gt;Your nifi-app.log only seems to have INFO level messages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 23:15:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/336942#M232434</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-02-23T23:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: PutEmail processor dying frequently</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/337403#M232570</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After month close, I have an approved manteinance window for tomorrow night.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to enable debug in in test instance, changing the root tag in the logback.xml&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;&lt;EM&gt;&lt;FONT size="2"&gt;&amp;lt;root level="DEBUG"&amp;gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;&amp;lt;appender-ref ref="APP_FILE" /&amp;gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;FONT size="2"&gt;&amp;lt;/root&amp;gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I got several hundreds of Mb in the log files in a few minutes. As I don't when the issue will appear; does exist some way to increase the log level in the nifi-app, but only for the PutEmail processor or its associate classes? I can see that related clasess to PutEmail are (until I can see):&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;com.sun.mail.smtp &lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;jakarta.activation&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;com.sun.mail.smtp&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;jakarta.mail&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 16:16:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/337403#M232570</guid>
      <dc:creator>templarian</dc:creator>
      <dc:date>2022-03-01T16:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: PutEmail processor dying frequently</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/337433#M232573</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86328"&gt;@templarian&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of changing the root log level, you can modify it for a single class or package using the following entry (one for each class/package):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;logger name="com.sun.mail.smtp" level="DEBUG" additivity="false"&amp;gt;
  &amp;lt;appender-ref ref="APP_FILE"/&amp;gt;
&amp;lt;/logger&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also note that if your configuration file has configuration scan enabled with the following, NiFi will scan the logback.xml file at the specified interval and if there are changes to it it will reload the configuration without the need for a restart:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;# beggining of file
&amp;lt;configuration scan="true" scanPeriod="30 seconds"&amp;gt;
...
&amp;lt;/configuration&amp;gt;
# end of file&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 03:00:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/337433#M232573</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-03-02T03:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: PutEmail processor dying frequently</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/337613#M232653</link>
      <description>&lt;P&gt;Hi &amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://1drv.ms/u/s!AnXPKrps2kKIjPgB2N0grLCsP3_0hw?e=P9dfyz" target="_blank"&gt;Here&lt;/A&gt; you can find the nifi-app.log in Debug mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the flowfile that was enqueue (just one flowfile when I checked)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="PutEmail Queue.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33758iFBEF018F89763D9C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PutEmail Queue.png" alt="PutEmail Queue.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the logs appears that the processor received the flowfile at 16:31:37,479 but almost instantly the process dyed -without clear reason- , and the mail only was send until 17:42:20,913 after I terminated/restarted the processor. The dump did not show anything different from my first post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As I can see, in the mean time the other Processor's task (Concurrent tasks = 2) continue working without problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also I noticed that while I was attempting to terminate the Processor the queue was appearing with one flow file enqueued, but when I tried to list the queue I got the message "The queue has no FlowFiles". I don't know if this is the normal behavior.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="PutEmail Empty Queue.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/33759i711133BEA2533C69/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PutEmail Empty Queue.png" alt="PutEmail Empty Queue.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 13:55:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/337613#M232653</guid>
      <dc:creator>templarian</dc:creator>
      <dc:date>2022-03-03T13:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: PutEmail processor dying frequently</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/337657#M232660</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/86328"&gt;@templarian&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From your log I can see that thread 13 got stuck right after this line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2022-03-02 16:31:37,479 DEBUG [Timer-Driven Process Thread 13 ] jakarta.mail getProvider() returning jakarta.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking at other threads, the line that should've come right after that would be one like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;com.sun.mail.smtp connected to host "smtp.office365.com", port: 587&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to me that the thread got stuck during the attempt to connect to the SMTP server. I was able to reproduce this locally and confirmed that after the socked connection is established, if the server response is lost for some reason (or if the server doesn't respond at all) the processor thread gets stuck forever.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently this is kind of by design, since the default value of the &lt;FONT face="courier new,courier"&gt;mail.smtp.timeout&lt;/FONT&gt; property is infinite, as you can see &lt;A href="https://javaee.github.io/javamail/docs/api/com/sun/mail/smtp/package-summary.html" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had a look at the PutEmail processor source code and unfortunately I don't think there is a way currently to set this in the processor configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd suggest that you open a NiFi Jira in&amp;nbsp;&lt;A href="https://issues.apache.org/" target="_blank" rel="noopener"&gt;https://issues.apache.org/&lt;/A&gt;&amp;nbsp;asking for the configurable timeout to be added. If you have support with Cloudera, please open a ticket and we should be able to help with that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;André&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;--&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Was your question answered? Make sure to mark the answer as the accepted solution.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;If you find a reply useful, say thanks by clicking on the thumbs up button.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 00:20:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/337657#M232660</guid>
      <dc:creator>araujo</dc:creator>
      <dc:date>2022-03-04T00:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: PutEmail processor dying frequently</title>
      <link>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/337666#M232662</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/11191"&gt;@araujo&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is major head ache for me your findings as this is a crucial step in the process. But, at least I know what is happening. I will try to use another smtp server to check if the problem decreases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;Unfortunately we don't have Cloudera support. I just opened the issue &lt;A href="https://issues.apache.org/jira/browse/NIFI-9758" target="_self"&gt;NIFI-9758&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;Thanks a lot for your help.&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;Regards,&lt;/P&gt;&lt;P data-unlink="true"&gt;Javier&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 02:07:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/PutEmail-processor-dying-frequently/m-p/337666#M232662</guid>
      <dc:creator>templarian</dc:creator>
      <dc:date>2022-03-04T02:07:07Z</dc:date>
    </item>
  </channel>
</rss>

