What kind of security compromise could opening too many files really lead to?
Unless the kernel is really so brittle that there'd be a risk of an integer overflow (sad but hilarious if that's it), the only thing I can really think would happen is general denial of service, which isn't so much security as annoyance.
