Jeetendra G Vasisht created NIFI-12413:
------------------------------------------

             Summary: Improvise on NIFI performance when NIFI templates are 
uploaded more frequently
                 Key: NIFI-12413
                 URL: https://issues.apache.org/jira/browse/NIFI-12413
             Project: Apache NiFi
          Issue Type: Improvement
          Components: NiFi Stateless
    Affects Versions: 1.23.2
            Reporter: Jeetendra G Vasisht


Our integration tests has been failing in our lab due to nifi pods being 
unstable and restarted multiple times.

nifi.logs at the time of restart:

 
{code:java}
Tailing Nifi logs40Updating property(nifi.cluster.is.node) in 
/opt/nifi/conf/nifi.properties41{"type":"log", "facility":"25", 
"host":"ao-kkvmk-worker-0-knfhg", "level":"WARN", "event-type":"N_USER_OPER", 
"systemid":"nifi","neid":"47102df685654467a593430ddef04a85", 
"system":"nifi-doc-nifi-0", "time":"2023-11-01T23:19:49.814Z" 
,"timezone":"UTC", "log":"[main] org.apache.nifi.bootstrap.RunNiFi Apache NiFi 
appears to have died. Restarting..."}42{"type":"log", "facility":"25", 
"host":"ao-kkvmk-worker-0-knfhg", "level":"ERROR", "event-type":"N_USER_OPER", 
"systemid":"nifi","neid":"47102df685654467a593430ddef04a85", 
"system":"nifi-doc-nifi-0", "time":"2023-11-01T23:19:58.225Z" 
,"timezone":"UTC", "log":"[NiFi logging handler] org.apache.nifi.StdErr Failed 
to start web server: Invalid nifi.web.https configuration in 
nifi.properties"}43{"type":"log", "facility":"25", 
"host":"ao-kkvmk-worker-0-knfhg", "level":"ERROR", "event-type":"N_USER_OPER", 
"systemid":"nifi","neid":"47102df685654467a593430ddef04a85", 
"system":"nifi-doc--nifi-0", "time":"2023-11-01T23:19:58.225Z" 
,"timezone":"UTC", "log":"[NiFi logging handler] org.apache.nifi.StdErr 
Shutting down..."}{code}

*Limits:       cpu:     2       memory:  5Gi* 
With this configuration, nifi pods restart every 24 hours once even when 
provided with the best optimal resource configuration.. So this needs to get 
investigated from nifi application itself to check for any issue
{code:java}
Last State:     Terminated
      Reason:       OOMKilled
      Exit Code:    0
      Started:      Wed, 22 Nov 2023 13:54:28 +0530
      Finished:     Thu, 23 Nov 2023 13:39:24 +0530
    Ready:          True
    Restart Count:  1
    Limits:
      cpu:     2
      memory:  5Gi {code}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to