Any idea what the difference between the two teams is below?
Command: manage.py runfcgi method = threaded host = 127.0.0.1 port = 3033
labs@li68:/var/www/django_projects/myproject$ ps aux|grep manage.py labs 14558 0.0 2.2 65948 8212 ? Sl Oct19 0:09 python /var/www/django_projects/myproject/manage.py runfcgi method=threaded host=127.0.0.1 port=3033
Command: python manage.py runfcgi host = 127.0.0.1 port = 7021 protocol = fcgi pidfile = / tmp / myproject.fcgi.pid
labs@li68:/var/www/django_projects/myproject$ ps aux|grep manage.py labs 21082 0.0 2.8 15440 10472 ? S 22:27 0:00 python manage.py runfcgi host=127.0.0.1 port=3034 protocol=fcgi pidfile=/tmp/myproject.fcgi.pid labs 21083 0.0 2.7 15440 10084 ? S 22:27 0:00 python manage.py runfcgi host=127.0.0.1 port=3034 protocol=fcgi pidfile=/tmp/myproject.fcgi.pid labs 21084 0.0 2.7 15440 10084 ? S 22:27 0:00 python manage.py runfcgi host=127.0.0.1 port=3034 protocol=fcgi pidfile=/tmp/myproject.fcgi.pid labs 21085 0.0 2.7 15440 10084 ? S 22:27 0:00 python manage.py runfcgi host=127.0.0.1 port=3034 protocol=fcgi pidfile=/tmp/myproject.fcgi.pid labs 21086 0.0 2.7 15440 10084 ? S 22:27 0:00 python manage.py runfcgi host=127.0.0.1 port=3034 protocol=fcgi pidfile=/tmp/myproject.fcgi.pid labs 21087 0.0 2.7 15440 10084 ? S 22:27 0:00 python manage.py runfcgi host=127.0.0.1 port=3034 protocol=fcgi pidfile=/tmp/myproject.fcgi.pid
The second command looks like it spawns 6 processes, with each allocated memory.
, , , runfcgi method=prefork. FCGI ; , method=threaded FCGI.
runfcgi
method=prefork
method=threaded
. prefork , , . , forking , . , , , , , , ( , , , ).
6 ? , ?
Django , , . maxspare maxchildren.
maxspare
maxchildren
Source: https://habr.com/ru/post/1778394/More articles:transition animation background color - windows-phone-7Java Heap Space Exception, with lots of data, any solution? - java"onmouseover" unexpectedly works in Javascript - javascriptAVAudioRecorder замерзает при паузе слишком много раз перед остановкой - avaudiorecorderhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1778393/how-can-i-grant-my-aspnet-mvc-application-read-access-to-a-registry-key&usg=ALkJrhhaYvA5om0kP4e7r1BYebYSjfAt_ghttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1778395/pass-touch-events-to-one-of-multiple-options&usg=ALkJrhiR_LNZHlABCgXtgSGQuNsHw7lhcQThe problem with the fibonacci function. C ++ - c ++Download the .NET assembly with minimal trust - securityCan I use rails to integrate linkedin connect with my site? - authenticationjQuery "events" is a null error or is not an object "when using empty () or html () - javascriptAll Articles