Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
GitHub or Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 19412 [details]
apache log file
Greetings, we're running a .NET 4.6 based async long-polling implementation under Ubuntu 16.04 LTS and are sporadically getting hanged mod_mono_server4.exe processes. Attached is an apache log that has been running for a couple of days.
We've fiddled with KeepAlive and MonoMaxActiveRequests, MonoMaxWaitingRequests and have gotten it working for a few days, but then it hangs again with three mod_mono_server4.exe processes staying active with 2-3 cores being used at 80% to 100%.
Did you have a chance to try with latest stable mono (5.0 on ubuntu repositories)?
Our solution was to work around it, we ended up using Apache's mod_proxy and a custom .exe that uses HttpListener. We do still get "End of file found: read_data failed" and "Command stream corrupted, last command was -1" but mono_server4 doesn't hang anymore.
As far as I can tell logrotate is also partly to blame.
Thank you for your feedback! I am marking this bug as resolved, but if you see fit, please fill up a bug for the other two exceptions you are witnessing. This might in fact be due to logrotate which move the file without synchronising with Mono.