ulimit is a builtin bash command. make sure your startup script is
using bash, or find the equivalent in the shell you're using.
OR... put this code in the MUD's bootup sequence,
#include <sys/resource.h>
...
struct rlimit core_limit;
...
core_limit.rlim_cur = RLIM_INFINITY;
core_limit.rlim_max = RLIM_INFINITY;
setrlimit(RLIMIT_CORE, &core_limit);
--Palrich.
On Sun, 5 Sep 2004 08:44:15 -0400, Valnir <[EMAIL PROTECTED]> wrote:
> We recently moved our game to a new hosting service (wolfpaw.net) and no
> longer get "CORE" files on crash. I know you can run "ulimit -c unlimited"
> before executing the mud, but is there a way to script this in easily? I get
> some weird messages back when I have tried. I know a lot of you are very
> familiar with this stuff, so I thought I ask you before I pulled my hair
> out.
>
> Thanks in advance!
> -Valnir
>
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
>