Jens,

If you encounter an issue where a processor seems ’stuck’ the best course of 
action is generally to grab a thread dump (bin/nifi.sh dump thread-dump1.txt) 
and attach that. It will show exactly what the processor is doing at that time 
and help to understand why where it’s getting stuck.

Thanks
-Mark


On Oct 13, 2020, at 6:46 AM, Jens M. Kofoed 
<jmkofoed....@gmail.com<mailto:jmkofoed....@gmail.com>> wrote:

Hi community
I have some issues with the InvokeHTTP process. Sometimes the process does not 
receive a response from the web server and the process hangs in a waiting state 
without timing out.
I use nifi version 1.12.1, and the settings for the InvokeHTTP process is as 
follow:
Penalty duration 30 secs
Yield duration 1 sec
Scheduling strategy: Timer driven
concurrent Taskts: 1
Run schedule: 1 sec
Run duration: 0ms
HTTP metode: GET
Connection timeout: 5 secs
Read timeout: 30 secs
Idle timeout: 2 mins.
Max Idle connections 1

Looking in the nifi-app.log file for debug messages I can see many requests 
followed by a response from the web server. When the UI no longer showed any 
files going through I tried to stop the process and looked in the log file.
In the logfile I can see the request to the web server, but no response. I am 
expecting a read timeout but nothing happens.
When trying to stop the process in the UI, the process goes from 1 task to 2 
tasks and after 10 min. the process has still not stopped. So I have to 
Terminate it.

Can anyone please help?
I have tried to create a bug report, but it is difficult when there are no 
error messages.
https://issues.apache.org/jira/browse/NIFI-7899

Kind regards
Jens M. Kofoed

Reply via email to