Useful or not, from you.
roving Too many open files

Hi. The server shows “too many open files” when I was trying 4 clients. Is there anything wrong with my setting?

That's a useful answer
Without any help

Most likely your ulimits are too low, what is the output of ulimit -a ?