#3101 RLIMIT_OFILE option is old
Closed: Fixed 2 years ago by tkopecek. Opened 2 years ago by jcupova.

RLIMIT_OFILE option in hub conf is old now. This option is old name for current RLIMIT_NOFILE.


Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.27

2 years ago

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.28 (was: 1.27)

2 years ago

I would add a new option, but leave older one as alias.

Metadata Update from @tkopecek:
- Issue tagged with: bug

2 years ago

the new option should be there already:

        ['RLIMIT_NOFILE', 'string', None],
        ['RLIMIT_NPROC', 'string', None],
        ['RLIMIT_OFILE', 'string', None],

Note that the resource lib in python treats it as an alias, so we are technically ok to simply allow both.

the new option should be there already

Correct. We've supported both RLIMIT_NOFILE and RLIMIT_OFILE since the feature was first added in 2011.

Unless we expect resource to drop its alias, I don't think we actually need to do anything at all. Perhaps add some comments and a docs note?

Metadata Update from @jcupova:
- Issue tagged with: testing-ready

2 years ago

Metadata Update from @jobrauer:
- Issue tagged with: testing-done

2 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #3116 Merged 2 years ago