[英]How do I do multiple processes for Django, on my WSGI apache?
My friend says that Django only has 1 thread or something?我的朋友说 Django 只有 1 个线程什么的?
And I have to edit my 000-default in order to add more processes?我必须编辑我的 000-default 才能添加更多进程? He suggests 4 or 5.
他建议 4 或 5。
What exactly is this, and what do I have to do?这究竟是什么,我该怎么做?
Thanks, I'm a noob.谢谢,我是菜鸟。
使用WSGIDaemonProcess
指令将应用程序置于守护进程模式并指定守护进程和线程的数量。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.