MONO 4.6.2 High CPU Usage on Server

前端 未结 2 881
南旧
南旧 2021-01-13 04:26

I have updated my:

  • Ubuntu server to 16.04.1 LTS and
  • MONO to v4.6.2

...from offici

2条回答
  •  甜味超标
    2021-01-13 04:35

    After trying all options, it seems MONO just doesn't work well with Apache2 with mod_mono. The only solution I found is to switch Apache2 from prefork to worker mode, where the MONO server needs to be started manually and Apache2 simply forwards the requests to it -- and thus Apache2 doesn't directly touch MONO at all. There is very little documentation on how to do this, but since NGINX works in that mode, you can find instructions on how to set it up for NGINX and translate the app config file for Apache2.

    These are good places to start

    http://www.mono-project.com/docs/web/fastcgi/nginx/

    http://epmjunkie.com/mono-fastcgi-startup-script/

提交回复
热议问题