There aren't 18 processes, there are 18 threads within each process.
This is because there are default 15 threads and then the main thread
waiting for shutdown and two background threads for deadlock timeout
and inactivity timeout checking.
What Linux system are you use and what version? Way back in time,
Linux systems showed each thread as a separate processes when you use
some tools for listing processes. I thought this had changed and they
only showed one process now no matter how many threads they ran.
Can you say exactly what command you are using to monitor processes
and the exact command line arguments as well?
Graham
Each user has one process of size 20MB and the 18 threads should all
be running within that one process in the one Python interpreter and
Django instance.
Try using the 'ps' command instead of 'htop'.
Graham
> --
> You received this message because you are subscribed to the Google Groups "modwsgi" group.
> To post to this group, send email to mod...@googlegroups.com.
> To unsubscribe from this group, send email to modwsgi+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
>
>
Use:
ps auxwww | less
and it will show headers like:
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
The important figure is RSS (which might also be called RES).
This is actual resident memory in use by process.
Find the entries in 'ps' output for your process and look at that
value. It should be in KB.
Also suggest you do Google search for 'RSS VSZ' and see what you find
which explains what they mean. For example:
http://wiki.marandcustomsolutions.com/space/Linux/Understanding+memory+usage
Graham