Branch: Tag:

2000-05-20

2000-05-20 02:22:20 by Per Hedbor <ph@opera.com>

Do not set the number of FDs with setrlimit when starting pike - it can lower the max number of open fds.

Rev: src/main.c:1.90

5:   \*/   /**/   #include "global.h" - RCSID("$Id: main.c,v 1.89 2000/04/15 05:05:28 hubbe Exp $"); + RCSID("$Id: main.c,v 1.90 2000/05/20 02:22:20 per Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"
453:   #endif /* STACK_DEBUG */   #endif /* HAVE_GETRLIMIT && RLIMIT_STACK */    + #if 0   #if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE)    {    struct rlimit lim;
469: Inside #if defined(HAVE_SETRLIMIT) && defined(RLIMIT_NOFILE)
   }    }   #endif + #endif       GETTIMEOFDAY(&current_time);