Created
January 12, 2024 14:32
-
-
Save alessio/0a77562405cad0908fadf31294b29110 to your computer and use it in GitHub Desktop.
sysctl.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# shared memory limits (chrome needs a ton) | |
kern.shminfo.shmall=6291456 | |
kern.shminfo.shmmax=2147483647 | |
kern.shminfo.shmmni=2048 | |
# semaphores | |
kern.shminfo.shmseg=2048 | |
kern.seminfo.semmns=4096 | |
kern.seminfo.semmni=1024 | |
# limits | |
kern.maxproc=32768 | |
kern.maxfiles=65535 | |
kern.bufcachepercent=90 | |
kern.maxvnodes=262144 | |
kern.somaxconn=2048 | |
machdep.allowaperture=1 | |
kern.audio.record=1 | |
kern.video.record=1 | |
net.inet.udp.recvspace=262144 | |
net.inet.udp.sendspace=262144 | |
net.inet.icmp.errppslimit=1000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment