From: Mike Frysinger Date: Mon, 27 Aug 2018 03:17:35 +0000 (-0400) Subject: bashrc: increase ulimit after chrome change X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=d013554ea0617a769199d112489c1077aa033460;p=home.git bashrc: increase ulimit after chrome change --- diff --git a/.bashrc b/.bashrc index 7ae9b50..7476f9b 100644 --- a/.bashrc +++ b/.bashrc @@ -35,4 +35,5 @@ shopt -s no_empty_cmd_completion export GTK2_RC_FILES="$HOME/.gtkrc-2.0:$HOME/.kde/share/config/gtkrc-2.0:/etc/gtk-2.0/gtkrc" ulimit -c $(( 512 * 1024 )) # units of KiB -ulimit -u $(( 500 * $(getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1) )) +# Chrome creates a shit ton of procs/threads now. +ulimit -u $(( 1000 * $(getconf _NPROCESSORS_CONF 2>/dev/null || echo 1) ))