libzfs can only handle 255 file descriptors
libzfs uses fopen(), at least in libzfs_init(). If there are more than 255 filedescriptors open, fopen() will fail unless you give 'F' as the last mode character. The fix would be to give 'rF' instead of 'r' as mode to fopen().
Updated by Electric Monk almost 5 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit bde3d612a7c090234c60e6e4578821237a5db135 Author: Simon Klinkert <firstname.lastname@example.org> Date: 2015-03-30T15:45:57.000Z 5704 libzfs can only handle 255 file descriptors Reviewed by: Josef 'Jeff' Sipek <email@example.com> Reviewed by: John Kennedy <firstname.lastname@example.org> Approved by: Richard Lowe <email@example.com>