Ubuntu 18.04 Server Modifications

From Jay's Cafe' Wiki

Modifications made to corresponding files on virt01 and virt02 to provide for additional file handles.

/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