From 1418d4da2813890748061fccbf04fb8a16ef835c Mon Sep 17 00:00:00 2001 From: John-Paul Bader Date: Sat, 17 May 2014 14:05:39 +0200 Subject: [PATCH] Update commands.md --- commands.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/commands.md b/commands.md index a7b8a2f..fc802d0 100644 --- a/commands.md +++ b/commands.md @@ -128,3 +128,15 @@ ipsec restart # terminates all ipsec connections, send ipsec stroke up [conn] # initiate connection [conn] ipsec stroke down [conn] # terminate connection [conn] ``` + +# Common sysctl's to set + +``` +hw.usb.no_shutdown_wait=1 # don't wait for USB devices when shutting down (if your system hangs when + rebooting) + +kern.maxfiles=204800 # Increase file descriptor limits +kern.maxfilesperproc=200000 + + +```