On 11 Sep 2007, at 21:18, [EMAIL PROTECTED] wrote: > How do I check how much memory web.py is using? How would determine > the maximum number of users I can support?
I think that's an unresolved issue in the Python world. See also <http://svn.python.org/projects/python/branches/bcannon-sandboxing/>. How are you deploying it? If you're using something that works by spawning external interpreter processes (FastCGI, mod_wsgi, etc.), you could get an estimate by letting it open up a typical number of processes and then using `ps` to check their memory usage. To check the maximum number of users it can support, I suppose you could stress-test it with something like `ab` (Apache Benchmark -- it actually works with non-Apache HTTP 1.1 servers too, if I remember correctly). Increase the request quantity and concurrency gradually and see how it fares. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
