Forums

Need to reduce the number of workers for my application

I've built my application in a way where it can't work with multiple workers.
Can the number of workers for my application to just 1?
Is it also possible to edit the wsgi configuration file by myself to achieve this?

Ok. I have set your web app to only use one worker. The setting will take effect the next time you reload it.

Can you also set the close-on-exec flag please?

We can't do it. There is common configuration for all the users.

I have to launch a process within a request and therefore I need that flag for it to work properly.

Maybe offload it to separate task like here https://blog.pythonanywhere.com/198/