]> git.wh0rd.org Git - home.git/commitdiff
limit core files, and process memory
authorMike Frysinger <vapier@gentoo.org>
Thu, 6 Jan 2011 21:28:31 +0000 (16:28 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 19:36:37 +0000 (15:36 -0400)
.bashrc

diff --git a/.bashrc b/.bashrc
index 8878081560d878aa34989d9bed124157cca9aa13..18619674b333740723a0745df330a3601ab9c34d 100644 (file)
--- 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