[ https://issues.apache.org/jira/browse/NIFI-11230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emilio Setiadarma reassigned NIFI-11230: ---------------------------------------- Assignee: Emilio Setiadarma > Log Warnings on Startup for OS Best Practices > --------------------------------------------- > > Key: NIFI-11230 > URL: https://issues.apache.org/jira/browse/NIFI-11230 > Project: Apache NiFi > Issue Type: New Feature > Reporter: David Handermann > Assignee: Emilio Setiadarma > Priority: Minor > > The Administrator's Guide outlines several [best > practices|https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#configuration-best-practices] > for optimal configuration of the Linux operating system to run NiFi. > Not following these best practices can lead to confusing errors at runtime, > such when NiFi does not have enough file handles or enough TCP sockets. > Adding evaluation of these properties on startup and logging warnings for > less-than-optimal settings would help avoid some runtime troubleshooting > challenges. > The initial implementation should cover the Linux platform, be should be > designed using interfaces to gather the platform information, which would > support extending similar checks to macOS. > The implementation should check and warn for the following settings: > # Maximum File Handles > # Maximum Forked Processes > # Maximum local TCP socket ports > # Maximum TCP socket time wait interval > # Swappiness enabled -- This message was sent by Atlassian Jira (v8.20.10#820010)