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
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.

Any help is much appreciated.

Reply all
Reply to author
Forward
0 new messages