Hello cyrus users,

I'm running 2.0.11 in a Red Hat Linux 6.2 (kernel 2.2.16)

I'm getting this message in syslog:

master: unable to unlimit the number of file descriptors avialable

(sic)

Running master thru strace I find:

setrlimit(RLIMIT_NOFILE, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) =
-1 EPERM ...

So the call wih problems is the 

    limit_fds(RLIM_INFINITY);

one in master.c (before master becomes the cyrus user).

man setrlimit says

"
EPERM  A non-superuser   tries  to  use  setrlimit()  to
       increase the soft or hard limit above  the  current
       hard  limit,  or  a  superuser  tries  to  increase
       RLIMIT_NOFILE above the current kernel maximum.
"

So if I'm not wrong the second case applies here.

Is this an critical condition ? Someone using Linux is 
experiencing the same problem ?

TIA and excuse me for my English.

--
Ramiro Morales


____________________________________________________________________
Get free email and a permanent address at http://www.amexmail.com/?A=1

Reply via email to