Sunday, March 1, 2020

So many getpid calls make Daphne CPU 100%

Environment:
  • OS: Ubuntu 18.04.1 LTS x86_64 GNU/Linux
  • Django: 2.1.1
  • Daphne: 2.3.0
  • Channels: 2.2.0
  • channels-redis: 2.4.0

Daphne most time consume 100% CPU, with strace to check what happened, it show getpid and epoll_ctl were called so many times. I try my best to find what is the issue, until now, I do not get a clue. 

Please give me a hand. Thanks very much.

daphne_cpu.png


--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/91bc6c4c-82c5-4c50-bcdc-f6b8680e08b6%40googlegroups.com.

No comments:

Post a Comment