<div dir="ltr">Hi!<br><div><br></div><div>I have an environment where I run MapServer as a FastCGI application in IIS.</div><div>When a single mapserv instance (process) gets more than two concurrent POST requests, the mapserv executable crashes.</div><div>IIS returns a default HTTP 500 error.</div><div>The exact error is: 233 - ERROR_PIPE_NOT_CONNECTED (No process is on the other end of the pipe.)</div><div><br></div><div>Adding debugging to the map files didn't show me any valuable details.</div><div>Seems to be crashing while still trying to write into the debug logs.</div><div>There were half complete lines in there.</div><div><br></div><div>No logs in the Event Viewer.</div><div>No valuable logs in IIS.</div><div>I tried process monitoring, but I couldn't find anything useful there.</div><div><br></div><div>To reproduce it, in the FastCGI settings just limit the max number of instances to 1 and flood it with a couple dozen concurrent requests.</div><div>You can use any tool. K6, Bombardier, PS script and .NET code each work for that.</div><div>I attached a K6 script which I was using for it.</div><div><br></div><div>Required settings:</div><div><ul><li>You need to send POST requests</li><li>The content type needs to be application/x-www-form-urlencoded (that's the only POST content type that works with MapServer as far as I know)</li><li>You don't even need a mapfile to reproduce the issue. You'll get the same result if you provide one.</li></ul><div>If you set the max requests per instance down to 2, it won't crash.</div><div>Also, I couldn't crash it with GET requests.</div><div><br></div><div>Anyone have any idea about why this is happening?</div></div><div>Should I open a github issue for it?</div><div><br></div><div>Thanks</div><div>Benedek Petrovicz</div></div>