I have created a client/server application on a SS7 platform (used
for wireless communications and services). We have a board(or a
switch) which is the server, and a machine, which is the client.
The board(or the switch) binds a total of 120 ports on the board IP
that I connect to.
The machine uses function connect and gets the assigned port on the
machine using the function getsockname(). and sends it back to the
board (the server) to reply on this port.
The machine does open and close sockets very very frequently. that
it may open and close about 100 ports in second.
The application is running normally for about 18 hours and then
suddenly we get failed to create socket (EMFILE error: EMFILE
Process file table overflow)
We have two boards and the same machine is connecting to both.
Anyone could help in solving this problem, please reply on
mohamedalayyat(at)hotpop(dot)com .
Thank you very much for your help.