Hello, I am facing a strange issue after being able to use gsoap for around two years for two applications with out any issues. Sometimes, soap_accept fails throwing bad file number.
Error 28 fault: SOAP-ENV:Client [no subcode] "Bad file number" Detail: accept failed in soap_accept() The ulimit is 15K, which is too far for the appl to reach. fd count in /proc/*/fd is consistent. The issue goes away only with restart. I tried releasing all keep alive sessions, cleaning up tmp soap buffer, deallocate de-serialized content and instances and start over again accepting requests on the same master skt but to no avail. what could be the reason? Is this a result of broken pipe or a malformed req msg from the client? Could someone pinpoint the area where I need to debug further? thanks, bobby
