Development Server Loading Time Issue: posix.waitpid
122 views
Skip to first unread message
chris mc
unread,
Apr 15, 2016, 6:53:46 AM4/15/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hi guys,
I'm fairly new to Django. I'm running Django 1.3 (stuck with it unfortunately) and on my own machine I'm using the development server: python manage.py runserver
When I make a change to a pyhton file the development server restarts but it's extremely slow to load again. Is this how it should behave? For example, using cProfile I can see that posix.waitpid is taking 149 seconds which I would guess is causing the problem? As you can imagine when writing new code or debugging this is incredibly frustrating and almost unusable.
Is there anyway that I can fix this or could someone point me in the direction of what might be wrong? As mentioned above posix.waitpid takes a long time but I'm not sure what this means or what it does.