

server log shows below exception: Caused by: : unable to create new native thread. Ret = pthread_create(&threads, 0, test_thread_fun, &test_thread_args) įprintf( stdout, "Fail %d %d", ret, errno ) and also sometimes: 10:33:45,200 ERROR STDERR (AWT-Windows) java. PCSX2 options: Defaults, no settings modifications affect the issue.

Things generally works fine except occasionally pthread_create fails with errno EAGAIN "resource temporarily unavailable", I tried inducing usleep, and retry creating but with no real effect. Plugins used: GSdx, SPU2-X, Lilypad, Linuz ISO/Gigaherz CDVD,rest null plugins. Plugin settings: Tested GSdx DX9/11 hardware and software renderers. The issue is fixed with a DX9/11 software renderer of GSdx. The failure is sporadic and on some boxes no failures and on some occurs very frequently.Īny Idea what could be going wrong here ? #Pcsx2 thread creation failure software# Update on max-threads cat /proc/sys/kernel/threads-max Dont forget to update your DirectX ( Web installer, Runtime package) specifically if your PCSX2 does not want to work demanding to update DirectX or complaining about some missing dlls. You will also need to update your system with Microsoft Visual C++ Redistributable Packages for Visual Studio 2019. System hard and soft limits are pretty high so I'll leave them as they are at this point.write a script to monitor the system behavior and see any other process/system daemon is interfering when this case is run, which is in turn can cause resource crunch.increase my memory and swap ( and nullify any side effects ).set stack size to a minimum value, I don't think thread_function uses any large arrays.I think the inputs here kept me thinking, i'll probably do the below and post any results that are worth sharing. #Pcsx2 thread creation failure software#.
