I have a C application running on Linux and it processes thousands of messages…but not whe I run the application after a couple minutes it brings up the following error:
sh: error while loading shared libraries: libc.so.6: cannot open shared object file: Error 24
The application is doing about 30 messages per seconds, could it be some file open handle issue?
STDOUT receives: “Process 19374 received signal 11 “
Any ideas?
Thanks for the help 😉
Lynton
Errno 24 means: “Too many open files”.
After some thoughts I think the application opens a file, which is not allowed by the system anymore. The application can not handle this situation correctly, and crashes with a segmentation fault. Are the return values from the “open” system call checked correctly everywhere?