Ubuntu 18.04 Server Modifications

From Jay's Cafe' Wiki
Revision as of 01:53, 21 June 2020 by Jayctheriot (talk | contribs) (Created page with "<pre> /etc/security/limits.conf * soft nofile 1048576 * hard nofile 1048576 root soft nofile 1048576 root hard nofile 1048576 * soft memlock unlim...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/etc/security/limits.conf

*	    soft	nofile	1048576	   
*	    hard	nofile	1048576	   
root	soft	nofile	1048576	   
root	hard	nofile	1048576	   
*	    soft	memlock	unlimited	
*	    hard	memlock	unlimited	

/etc/sysctl.conf
fs.inotify.max_queued_events	    1048576	    16384
fs.inotify.max_user_instances	    1048576	    128	 
fs.inotify.max_user_watches	        1048576	    8192
vm.max_map_count	                262144	    65530
kernel.dmesg_restrict	            1	        0	 
net.ipv4.neigh.default.gc_thresh3	8192	    1024
net.ipv6.neigh.default.gc_thresh3	8192	    1024
net.core.bpf_jit_limit	            3000000000	26424
kernel.keys.maxkeys	                2000	    200	 
kernel.keys.maxbytes	            2000000	    20000
fs.aio-max-nr	                    524288	    65536