Hi - I am not sure what you are saying exactly. That the load only goes to some processes? Python threads are strange, the OS may not show stats correctly and I'd generally advise multiple processes instead.
Andrew On Wed, May 17, 2017 at 1:53 AM, <biwanc...@gmail.com> wrote: > I am trying to deploy Django project with Channels. After some trial and > error I settled on 4 workers with 16 threads each. However as attached > screen shows, the processes that are spawned by supervisor have CPU usage > at ~15% while threads are around ~1-2%. Number of connections at the moment > is less than 100. I tried load testing this setup, and as more messages are > coming in the CPU usage is increasing both on processes that were spawned > by supervisor and threads of these processes - so there is still > disproportion (~50% and ~10%). Is it normal behavior? Any tips to configure > it some other way to better balance the load? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/django-users/b566a9bc-5313-4573-9351-d6dd81915251%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/b566a9bc-5313-4573-9351-d6dd81915251%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFwN1uoRQydaH8aC5bx%3DQReZT0JQVVBB5pHt1HMxbiZERxSHrA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.