From: Mike Frysinger Date: Thu, 6 Jan 2011 21:28:31 +0000 (-0500) Subject: limit core files, and process memory X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b788f9f5f16a0b7003d2560349e457392ea4a6ad;p=home.git limit core files, and process memory --- diff --git a/.bashrc b/.bashrc index 8878081..1861967 100644 --- a/.bashrc +++ b/.bashrc @@ -31,4 +31,5 @@ eval `dircolors 2>/dev/null` # Make sure our customised gtkrc file is loaded. export GTK2_RC_FILES="$HOME/.gtkrc-2.0:$HOME/.kde/share/config/gtkrc-2.0:/etc/gtk-2.0/gtkrc" -ulimit -c unlimited +ulimit -c $(( 512 * 1024 )) # units of KiB +ulimit -u 300