We are using an Ice PHP client to connect to our business logic in C++ . This PHP code is resident in an Apache server and the Ice Server is a C++ Ice service . On the client while accessing PHP pages, sometimes we get an error -
"Fatal error: Uncaught Ice_UnknownLocalException Network.cpp:933: Ice::SyscallException: syscall exception: Too many open files" .
We are using Ice-3.2.1 on Red Hat Linux - Linux version 2.6.18-53.el5 (brewbuilder@hs20-bc1-7.build.redhat.com) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) (from /proc/version :-) ) .
Our suspicion was that the client was not able to open a socket and that is when we got that error . On checking each of the httpd processes on the system we found that not even one of them was surpassing the 1024 limit (revealed through 'ulimit -a').
Any help or suggestions in thi direction would be valued.
Regards
Faiz

Reply With Quote