-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HyperFastCgi ThreadPool'ed NativeListener does not work with the new Mono 4.2.1 release #44
Comments
I was able to isolate the issue to the ThreadPool. This config is not working with Mono 4.2.1:
And this is working:
Maybe because of this:
Unfortunately I see nothing in the logs which could give more hints. That's the log when ThreadPool is set:
The disconnect happens after timeout. |
I need to look at it. I did not test HFC on mono 4.2 yet, because mono 4.2 looks quite unstable for me, it crashes to core dump on some basic operations (working with monodevelop, running and debugging ASP.NET applicaitons via XSP). Maybe this is just my configuration, but I haven't seen such crashes on mono 4.0 or mono 3.12) |
Could you check if you change setting |
Unfortunately, |
Mono 4.2.1 is indeed unstable (with HFC). When using We've for now rolled back to Mono 4.0. |
Could you check the latest commit from master branch? Did it resolve the issue for you? |
Looks good so far, thanks! I've updated our dev config to use Mono 4.2.1 again together with the latest commit (a1d73e8). Let's see if this is production ready ;) Are there any explicit load/stress tests (except brute force stress testing) that you would recommend for testing HCI? |
Because the threadpool was changed in the mono I would try to test creating large number of threads and look it is stable. This can be emulated by executing long-running responses. (For example make 500 simultaneous calls of ASP.NET page, which is rendered about minute and look on the thread creation/returning to the thread pool). |
I'm running HyperFastCGI in an isolated Docker container based on Debian Jessie, and just switched Mono from version 4.0 to 4.2.1.102.
With 4.2.1 the ASP.NET application does not come up / does not get initialized. Requests end in a timeout.
Nothing else except updating to Mono 4.2.1.102 has been changed.
HyperFastCGI is built from the latest commit in trunk (9f8a4df).
I don't have any more informations right now, but will continue researching on this.
/Edit: It's the NativeListener which is not working. When switching to the ManagedFastCgiListener the ASP.NET app gets called and responds.
The text was updated successfully, but these errors were encountered: