hi Bennett: i attache my ps output file, just see the RSS column, that is the real memory usage for every instance
On Wed, Mar 30, 2011 at 9:51 PM, James Bennett <ubernost...@gmail.com>wrote: > On Wed, Mar 30, 2011 at 8:41 AM, 付毅 <skysb...@gmail.com> wrote: > > i don't think 100 instance means to 100 CPUs. I just want to use > http_load > > to test pressure to my web server. if i make the 100 cocurrent request > per > > second with 100 cocurrent connection. I will make 100 python process > > instance when I deploy my web project in prefork environment. Any others > > agree with me? > > Well, I'm not sure I agree with how you're interpreting your stats; a > process can report that it's using 60MB, but that doesn't mean that > two such processes would consume a total of 120MB of memory. > > I'd also be curious to know what sort of stuff you're doing that's > using (allegedly) so much memory per-process. > > > -- > "Bureaucrat Conrad, you are technically correct -- the best kind of > correct." > > -- > 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. > > -- 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.
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 78171 11.4 0.8 128408 63480 ?? S 9:58下午 0:03.86 python /home/x/www/capitalog/manage.py runfcgi h root 78113 2.9 0.8 139344 70208 ?? S 9:35下午 0:20.62 python /home/x/www/capitalog/manage.py runfcgi h root 78094 0.6 0.8 139344 70464 ?? S 9:30下午 0:22.42 python /home/x/www/capitalog/manage.py runfcgi h root 78152 0.5 0.8 128408 63484 ?? S 9:50下午 0:07.20 python /home/x/www/capitalog/manage.py runfcgi h root 78112 0.4 0.8 139344 70200 ?? S 9:35下午 0:15.93 python /home/x/www/capitalog/manage.py runfcgi h root 78193 0.4 0.7 126360 60916 ?? S 10:03下午 0:00.17 python /home/x/www/capitalog/manage.py runfcgi h root 78170 0.3 0.8 137296 68816 ?? S 9:58下午 0:03.78 python /home/x/www/capitalog/manage.py runfcgi h root 78124 0.2 0.8 139344 70256 ?? S 9:43下午 0:15.04 python /home/x/www/capitalog/manage.py runfcgi h root 78154 0.2 0.8 137296 68748 ?? S 9:54下午 0:05.87 python /home/x/www/capitalog/manage.py runfcgi h root 78148 0.1 0.8 139344 70188 ?? S 9:48下午 0:10.54 python /home/x/www/capitalog/manage.py runfcgi h root 78192 0.1 0.7 126360 61760 ?? S 10:01下午 0:00.95 python /home/x/www/capitalog/manage.py runfcgi h root 78088 0.0 0.8 139344 70508 ?? S 9:28下午 0:25.50 python /home/x/www/capitalog/manage.py runfcgi h root 78089 0.0 0.8 139344 70184 ?? S 9:29下午 0:22.32 python /home/x/www/capitalog/manage.py runfcgi h root 78090 0.0 0.8 139344 70236 ?? S 9:29下午 0:19.92 python /home/x/www/capitalog/manage.py runfcgi h root 78091 0.0 0.8 139344 70528 ?? S 9:30下午 0:21.93 python /home/x/www/capitalog/manage.py runfcgi h root 78096 0.0 0.8 139344 70476 ?? S 9:30下午 0:18.26 python /home/x/www/capitalog/manage.py runfcgi h root 78097 0.0 0.8 139344 70260 ?? S 9:30下午 0:24.18 python /home/x/www/capitalog/manage.py runfcgi h root 78114 0.0 0.8 139344 70148 ?? S 9:35下午 0:15.27 python /home/x/www/capitalog/manage.py runfcgi h root 78115 0.0 0.8 139344 70212 ?? S 9:35下午 0:19.70 python /home/x/www/capitalog/manage.py runfcgi h root 78116 0.0 0.8 139344 70220 ?? S 9:36下午 0:13.64 python /home/x/www/capitalog/manage.py runfcgi h root 78118 0.0 0.8 139344 70216 ?? S 9:37下午 0:14.99 python /home/x/www/capitalog/manage.py runfcgi h root 78119 0.0 0.8 139344 70248 ?? S 9:39下午 0:15.21 python /home/x/www/capitalog/manage.py runfcgi h root 78123 0.0 0.8 139344 70180 ?? S 9:40下午 0:11.17 python /home/x/www/capitalog/manage.py runfcgi h root 78125 0.0 0.8 139344 70208 ?? S 9:43下午 0:09.74 python /home/x/www/capitalog/manage.py runfcgi h root 78142 0.0 0.8 139344 70176 ?? S 9:45下午 0:15.32 python /home/x/www/capitalog/manage.py runfcgi h root 78143 0.0 0.8 139344 70192 ?? S 9:46下午 0:11.42 python /home/x/www/capitalog/manage.py runfcgi h root 78153 0.0 0.8 139344 70148 ?? S 9:52下午 0:10.31 python /home/x/www/capitalog/manage.py runfcgi h root 78169 0.0 0.8 139344 70088 ?? S 9:58下午 0:05.28 python /home/x/www/capitalog/manage.py runfcgi h root 78190 0.0 0.9 145488 75364 ?? S 10:00下午 0:03.05 python /home/x/www/capitalog/manage.py runfcgi h root 78191 0.0 0.8 139344 69320 ?? S 10:00下午 0:02.84 python /home/x/www/capitalog/manage.py runfcgi h root 95282 0.0 0.6 122264 47596 ?? S 13 311 10:27.41 python /home/x/www/capitalog/manage.py runfcgi h root 78208 0.0 0.0 9092 1524 1 S+ 10:03下午 0:00.00 grep capitalog