<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://devopsnotebook.com/index.php?action=history&amp;feed=atom&amp;title=Set_ulimit_without_reboot</id>
	<title>Set ulimit without reboot - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://devopsnotebook.com/index.php?action=history&amp;feed=atom&amp;title=Set_ulimit_without_reboot"/>
	<link rel="alternate" type="text/html" href="https://devopsnotebook.com/index.php?title=Set_ulimit_without_reboot&amp;action=history"/>
	<updated>2026-04-23T17:48:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>https://devopsnotebook.com/index.php?title=Set_ulimit_without_reboot&amp;diff=102&amp;oldid=prev</id>
		<title>MilosZ: Created page with &quot; Modify ''limits.conf'' file located (on most distros) at ''/etc/security/limits.conf''. &lt;br&gt; Append following lines: &lt;pre&gt; * soft     nproc          768000 * hard     nproc...&quot;</title>
		<link rel="alternate" type="text/html" href="https://devopsnotebook.com/index.php?title=Set_ulimit_without_reboot&amp;diff=102&amp;oldid=prev"/>
		<updated>2020-02-20T09:28:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; Modify &amp;#039;&amp;#039;limits.conf&amp;#039;&amp;#039; file located (on most distros) at &amp;#039;&amp;#039;/etc/security/limits.conf&amp;#039;&amp;#039;. &amp;lt;br&amp;gt; Append following lines: &amp;lt;pre&amp;gt; * soft     nproc          768000 * hard     nproc...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
Modify ''limits.conf'' file located (on most distros) at ''/etc/security/limits.conf''. &amp;lt;br&amp;gt;&lt;br /&gt;
Append following lines:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
* soft     nproc          768000&lt;br /&gt;
* hard     nproc          768000&lt;br /&gt;
* soft     nofile         768000&lt;br /&gt;
* hard     nofile         768000&lt;br /&gt;
root soft     nproc          768000&lt;br /&gt;
root hard     nproc          768000&lt;br /&gt;
root soft     nofile         768000&lt;br /&gt;
root hard     nofile         768000&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will modify limits for all users to 768000 ( you can modify this number to your needs ) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To apply changes without reboot, modify ''/etc/pam.d/common-session'', by adding this line: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
session required pam_limits.so&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: You need to relogin in order to see updated limits.&lt;/div&gt;</summary>
		<author><name>MilosZ</name></author>
		
	</entry>
</feed>