On Tue, Mar 13, 2012 at 12:57 PM, Virginia <virginia.bel...@gmail.com> wrote:
> Good morning everyone,
>
> I have a web site that was develop in django on a windows 2003 server
> and a mssql database. Latetly it seems that the web site is going
> slower and slower. We add datas but not that much to slow it down so
> much. I run it on my dev environnement with cProfile and looking at
> the stats (p.sort_stats('time').print_stats(10) I saw that the first
> line is
>
> ncalls   tottime    percall    cumtime    percall
> filename:lineno(function)
> 1          85.085     85.085 85.085      85.085    {nt.spawnve}
>
> I would like to know what is this file and why is it taking so long.
>
> Regards,
> VB
>

"nt.spawnve" I've never heard of, but "os.spawnve" is how you spawn a
subprocess whilst specifying an environment:

http://docs.python.org/library/os.html#os.spawnve

Also, there is only 1 call to this function, taking 85 seconds (or is
it ms?). As an out there guess, this is spawning a process and
specifying P_WAIT as the mode, and 85 seconds is how long the OS has
waited for the subprocess to exit.

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to