#1 Invalid integer rlimit value Error

open
nobody
None
5
2000-07-19
2000-07-19
Rémi Perrot
No

When I try it (v 1.12.9) on linux I have this error.
If I comment the line : error1("%u: invalid integer rlimit value\n", i); in queued.c,
It work.

Discussion

  • I have the same problem with 1.30.1. All "queue" commands hang unless I comment out the above line from queued.c. After that everything seems to work correctly.

     
  • This is a problem in 1.30.1 with Linux 2.4.0 also.
    The problem arises from RLIM_NLIMITS set to 10, but only the rtab array have only 7 elements.

    Forcing rtab to contain RLIM_NLIMITS entries (rtab[RLIM_NLIMITS] = ... ) solves it.