From: Tom Hughes Date: Sun, 19 Dec 2010 00:15:24 +0000 (+0000) Subject: Only shut down the current process when the memory limit is reached X-Git-Tag: live~6294^2^2~31 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/a491174efa130fb45494f444c3f66851c035215c?hp=a491174efa130fb45494f444c3f66851c035215c Only shut down the current process when the memory limit is reached Contrary to what the ruby documentation says, sending a signal to PID 0 actually signals the whole process group, not just the current process. So use Process.pid to make sure we only signal the current process. ---