Comments on: How to Increase Number of Open Files Limit in Linux https://www.tecmint.com/increase-set-open-file-limits-in-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 23:34:32 +0000 hourly 1 By: phuqm https://www.tecmint.com/increase-set-open-file-limits-in-linux/comment-page-1/#comment-1873411 Mon, 05 Sep 2022 17:19:45 +0000 http://www.tecmint.com/?p=20262#comment-1873411 In reply to Roshan.

If that doesn’t work you might try blowing away the limits.conf file and try again.

(could have some random char there wrong that is breaking it)

]]>
By: phuqm https://www.tecmint.com/increase-set-open-file-limits-in-linux/comment-page-1/#comment-1873402 Mon, 05 Sep 2022 17:06:50 +0000 http://www.tecmint.com/?p=20262#comment-1873402 In reply to Roshan.

logout and login again before restarting the process?

perhaps add:
session required pam_limits.so
to the file /etc/pam.d/common-session

just guesses

]]>
By: Ravi Saive https://www.tecmint.com/increase-set-open-file-limits-in-linux/comment-page-1/#comment-1830011 Mon, 20 Jun 2022 06:32:46 +0000 http://www.tecmint.com/?p=20262#comment-1830011 In reply to Ram.

@Ram,

You can list all open files using the lsof command. Basically, it shows the information to look out the files that are opened by which process.

]]>
By: Ravi Saive https://www.tecmint.com/increase-set-open-file-limits-in-linux/comment-page-1/#comment-1830010 Mon, 20 Jun 2022 06:32:39 +0000 http://www.tecmint.com/?p=20262#comment-1830010 In reply to Ram.

@Ram,

You can list all open files using the lsof command. Basically, it shows the information to look out the files that are opened by which process.

]]>
By: Ram https://www.tecmint.com/increase-set-open-file-limits-in-linux/comment-page-1/#comment-1827640 Fri, 17 Jun 2022 08:08:50 +0000 http://www.tecmint.com/?p=20262#comment-1827640 I have encountered an error in RHEL 7.8 as “Too many open files“, causing an application issue. We are working side-by on the application code where there was a bug.

What is that I am getting hard to check if three is a limit on the server-side configuration that a particular file can be concurrently opened for x-time, or if there is an overall max number of files that can be opened by an application/process.

Where to get these configuration values? Please let me know if anyone has this information.

]]>