#30372: Django (moderately) High CPU usage at Idle
-------------------------------------+-------------------------------------
     Reporter:  Benjamin Schollnick  |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Core (Other)         |                  Version:  2.2
     Severity:  Normal               |               Resolution:  needsinfo
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Andy Terra):

 Replying to [comment:15 Tom Forbes]:
 > Hey Andy,
 >
 > I have a hunch about where some of this excess load comes from. If
 you're willing it would be very helpful if you could try installing my
 branch:
 >
 > {{{
 > pip install https://github.com/orf/django/archive/30372-speedups.zip
 > }}}
 >
 > Alternatively you could set the `USE_I18N` setting to `False` in your
 project.
 >
 > I think it's the code that recurses through the `locale` directories to
 watch for changes to `.mo` files. Django ships with a large number of
 built in translation files that never change, and iterating through the
 several hundred directories might be the cause of some of the slowdown
 you're seeing.

 Tom,

 Just wanted to say I saw your comment yesterday and will look into it. I'm
 having trouble replicating the high CPU load now, even though it was
 consistent for *months*... will let you know once I find anything more
 definitive.


 Best,
 Andy

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30372#comment:16>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.dd1ebd5b09ca15bec1c0c26d02123646%40djangoproject.com.

Reply via email to