Changes between Initial Version and Version 1 of Ticket #35612, comment 5
- Timestamp:
- Oct 3, 2012, 7:04:27 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35612, comment 5
initial v1 1 There is only one call to `setrlimit` in bsdmake, which is at the beginning of [http://www.opensource.apple.com/source/bsdmake/bsdmake-24/main.c main] (line 751). According to the man page for setrlimit(2), valid values for the `rlim_cur` should be in the range from `0` to `rlim_max`. I could only think of a problem here if the second branch in the Apple related branch is taken which sets `rlim_cur = OPEN_MAX`. With a configuration such that OPEN_MAX > rlim_maxthis would be an invalid value.1 There is only one call to `setrlimit` in bsdmake, which is at the beginning of [http://www.opensource.apple.com/source/bsdmake/bsdmake-24/main.c main] (line 751). According to the man page for setrlimit(2), valid values for the `rlim_cur` should be in the range from `0` to `rlim_max`. I could only think of a problem here if the second branch in the Apple related branch is taken which sets `rlim_cur = OPEN_MAX`. With a configuration such that `OPEN_MAX > rlim_max` this would be an invalid value. 2 2 3 3 Do you have any special configuration for the maximum number of open files on your system?