Comments on: How to Set Limits on User Running Processes in Linux https://www.tecmint.com/set-limits-on-user-processes-using-ulimit-in-linux/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 08:55:52 +0000 hourly 1 By: ramu https://www.tecmint.com/set-limits-on-user-processes-using-ulimit-in-linux/comment-page-1/#comment-1052917 Fri, 26 Oct 2018 12:45:56 +0000 http://www.tecmint.com/?p=19824#comment-1052917 Hi, why it should be 16384 only? even i have same issue. I tried with 4096 it is not resolving the issue.

]]>
By: Deepa https://www.tecmint.com/set-limits-on-user-processes-using-ulimit-in-linux/comment-page-1/#comment-951216 Mon, 18 Dec 2017 07:19:36 +0000 http://www.tecmint.com/?p=19824#comment-951216 In reply to Ravi Saive.

Thank you, We are Using RHEL 6. Checked the /etc/limits. d/90-nproc.conf this file has same values as you mentioned. However when I run ulimit – u as root or any other user get value 150.

In file /etc/security/limits.conf file I commented line * hard nproc 150 which was there before. I logged out restarted httpd still same value is coming. How reset default nproc value for root and other users. Please help

]]>
By: Ravi Saive https://www.tecmint.com/set-limits-on-user-processes-using-ulimit-in-linux/comment-page-1/#comment-951179 Mon, 18 Dec 2017 05:17:14 +0000 http://www.tecmint.com/?p=19824#comment-951179 In reply to Deepa.

@Deepa,

The system wide configuration file /etc/security/limits.d/90-nproc.conf (RHEL6) and /etc/security/limits.d/20-nproc.conf (RHEL7) specifies the default nproc limits as:

*            soft    nproc     1024
root       soft    nproc     unlimited
]]>
By: Deepa https://www.tecmint.com/set-limits-on-user-processes-using-ulimit-in-linux/comment-page-1/#comment-950879 Sun, 17 Dec 2017 14:09:13 +0000 http://www.tecmint.com/?p=19824#comment-950879 I am able to change the nproc for additional users using /etc/security/limits.conf but some how root users nproc value set is 150. When logged as root and execute ulimit -n I get the value 150.

How can I change root users nproc value?

]]>
By: Jalal Hajigholamali https://www.tecmint.com/set-limits-on-user-processes-using-ulimit-in-linux/comment-page-1/#comment-780374 Sun, 15 May 2016 03:07:34 +0000 http://www.tecmint.com/?p=19824#comment-780374 Hi,

Thanks a lot.

]]>