4 ms·
Null pointer exceptions are typically avoidable though, running out of file descriptors (at an OS level) is really difficult to predict or deal with. Same as ru
by eyegor 7y ago
Null pointer exceptions are typically avoidable though, running out of file descriptors (at an OS level) is really difficult to predict or deal with. Same as running out of socket handles or pipes. I've hit quite a bit of both doing HPC admin/setup.
- tyingq 7y ago"running out of file descriptors (at an OS level) is really difficult to predict or deal with" Hard to predict I agree with. My experience, though, is that some ops person usually either overprovisions, or throttles, and that particular instance of "out of descriptors/sockets" goes quiet for a long time. Basically, people other than the dev team (who have conflicting priorities), can mitigate it. Poorly written Java (like null pointer exceptions) otoh, is hard to mitigate from the outside. So it endures.