/* -*- C -*-
- * $Id: ocamlbotwrapper.c,v 1.7 2008/01/23 15:44:46 rjones Exp $
+ * $Id: ocamlbotwrapper.c,v 1.8 2008/02/13 17:35:32 rjones Exp $
* SUID wrapper around ocaml program.
*/
setrlimit (RLIMIT_NOFILE, &lim);
#endif
#ifdef RLIMIT_NPROC
- /* If you want to run several instances of xavierbot, you may need
- * to increase this limit.
- */
- lim.rlim_cur = lim.rlim_max = 4;
+ lim.rlim_cur = lim.rlim_max = 2;
setrlimit (RLIMIT_NPROC, &lim);
#endif
#ifdef RLIMIT_SIGPENDING