Hi Asif, The OS is CentOS 6 Linux - HW is a dual core processor. Running Django with uwsgi. uwsgi is configured with 4 processes and 2 threads (no logic behind the numbers but trying to find the optimal combination). I just ran top and was checking the CPU usage. Mostly two instances of uwsgi is running and one is spiking beyond 100% cpu usage.
Thanks, Pinakee On Wednesday, February 24, 2016 at 5:48:17 PM UTC+5:30, Asif Saifuddin wrote: > > What is your server configuration and system usage statistics? > > On Wednesday, February 24, 2016 at 10:59:28 AM UTC+6, Web Architect wrote: >> >> Hi, >> >> We have an ecommerce platform based on Django. We are using uwsgi to run >> the app. The issue the CPU usage is hitting the roof (sometimes going >> beyond 100%) for some scenarios. I would like to debug the platform on >> Production to see where the CPU consumption is happening. We have used >> Cache all over the place (including templates) as well - hence, the DB >> queries would be quite limited. >> >> I would refrain from using Django-debug toolbar as it slows down the >> platform further, increases the CPU usage and also need to turn the DEBUG >> on. Is there any other tool or way to debug the platform? Would appreciate >> any recommendations/suggestions. >> >> Also, does the Django ORM increase the CPU usage? Does it block the CPU? >> Would appreciate if anyone could throw some light on this. >> >> Thanks. >> > -- 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 [email protected]. To post to this group, send email to [email protected]. 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/ca866790-5ece-44f1-b8cb-37865689a818%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

