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 over 4 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
commit bde3d612a7c090234c60e6e4578821237a5db135 Author: Simon Klinkert <email@example.com> Date: 2015-03-30T15:45:57.000Z 5704 libzfs can only handle 255 file descriptors Reviewed by: Josef 'Jeff' Sipek <firstname.lastname@example.org> Reviewed by: John Kennedy <email@example.com> Approved by: Richard Lowe <firstname.lastname@example.org>