Multiple proxies are running on different machines and all will connect to single command server, only one command server is running.
For each proxy request, command server should connect to multiple data servers and fetch the details and send to proxy.
This setup is running fine for single proxy. When I run multiple proxy's from different machines, I am getting bad file descriptor error while sending data to proxy in CommandServer . But actually value is present for descriptor(socket).
for each proxy one socket is created and one thread is created in CommandServer to handle send and receive data
The logger message of commad server is like this
5:56 :: Error :Error in sending data to client from CTranSocket::Send():Bad file
descriptor , socket value 6
Problem is in working with linux. The above setup is running fine in windows