https://bugs.winehq.org/show_bug.cgi?id=42793
--- Comment #4 from muh emadi taj mohammad1emadi1taj@gmail.com --- (In reply to Bruno Jesus from comment #2)
It may still not be a Wine limitation, it could be a kernel resource limitation per process. I just did a test of opening 1024 TCP connections and it works fine in Wine. Then I downloaded the program KPortScan3 and did a 800 threads scan, I don't think the program is really doing 800 tests at the same time because the results counter increases very slowly. But I can see that it hangs when pressing stop. But it has with any number of threads here.
Maybe you could use nmap instead.
yeah you can set thread to 1024 and i scans but doesn't stop as i said crashes when stoping that's because of the limit for seeing the limit open terminal adn type : wine /root/Desktop//../kportscan.exe(app location) and give it a large range (having at leat 10000 ips) now look at the terminal you see wine sayes in terminal : "wine client error:41c: pipe: Too many open files" if you set the thread more than 580 nad when you see this te app freezes when stoping it doesn't matter tat it freezes at stooping or going to nest line range ( if the problem was only this app i would use another app i've tested a few apps and it appens) what matters is that you can't have more than 580 tcp connection at the same time with one proccess in wine
i open two kportscanners at two diffrenet folder and gave than 400 treads each and i saw that it worked perfectly so the problem can't be "linux core limits the max tcp thread to 580" guy do you have any linux based app so you can test these apps and see if the problem exits if exist than the problem is from linux core not wine
thanks for helping