简体   繁体   English

如何在我的 WSGI apache 上为 Django 执行多个进程?

[英]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.

相关问题 如何在同一台Web服务器上使用多个Django WSGI进程+ celery进行日志记录 - How to do logging with multiple django WSGI processes + celery on the same webserver 在Django中,如何允许print语句与Apache WSGI一起使用? - In Django, how do I allow print statements to work with Apache WSGI? django是否已经附带了wsgi应用程序文件,还是需要创建一个? 如何使用django设置apache和mod_wsgi? - Does django already come with a wsgi application file, or do I need to create one? How to setup apache and mod_wsgi with django? 如何设置Python路径以使用WSGI和Apache运行Django? - How do set Python path to run Django with WSGI and Apache? 如何调试重新启动mod_wsgi进程的apache? - How do I debug apache restarting a mod_wsgi process? 如何在Apache和mod_wsgi中使用Flask路由? - How do I use Flask routes with Apache and mod_wsgi? 我需要怎么做才能使apache + mod_wsgi的django工作? 我不断收到设置模块的导入错误 - What do I need to do to make django work using apache+mod_wsgi? I keep getting an import error for the settings module 我是否必须从jango项目文件夹中隔离wsgi.py? - Do I have to isolate my wsgi.py from my django project folder? 我目前正在Django中提供我的静态文件。 我如何使用Apache2来做到这一点? - I am currently serving my static files in Django. How do I use Apache2 to do this? 使用 WSGI 运行 Flask-Ask 和 Apache2 时如何验证 Alexa 请求 - How do I verify an Alexa request when running Flask-Ask and Apache2 with WSGI
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM