I am trying to run my Django project on an IIS server using wfastcgi. I keep getting this error. I have tried adjusting the CPU limit settings for the Application pool but this error is still occurring. How can I completely disable the CPU Limit feature?
My config file:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<handlers>
<add name="Python FastCGI"
path="*"
verb="*"
modules="FastCgiModule"
scriptProcessor="C:\users\a0232200\python36\python.exe|c:\users\a0232200\python36\lib\site-packages\wfastcgi.py"
resourceType="Unspecified"
requireAccess="Script" />
</handlers>
</system.webServer>
<appSettings>
<!-- Required settings -->
<add key="WSGI_HANDLER" value="project.wsgi.application" />
<add key="PYTHONPATH" value="C:\inetpub\wwwroot\project" />
</appSettings>
</configuration>
I have given read and execute access to the application pool tied to my Python36 directory. I have read that wfastcgi and cpu limits are mutually exclusive but the error is suggesting that I need to disable the limiting feature.