On Fri, 18 Oct 2013 23:47:00 -0700 (PDT)
Annet <[email protected]> wrote:
> How do I check web2py's memory consumption? I searched the book
> for 'memory usage' but did not find any useful information.
I use scrpt like this on my hosting:
#!/bin/sh
ps -u youruserid -o pid,rss,command | awk '{print $0}{sum+=$2} END {print
"Total", sum}'
where you should replace 'youruserid' with your login name.
> Webfaction currently provides 512 Mb RAM, I thought that would be
> enough to not experience any problems.
Well, those kind of shared hostings might be tricky in regard how the
total memory usage is calculated.
In the past I e.g. had problem with running my own instance of Cherokee
webserver due to number of processes I'm allowed to use which was
crashing its admin.
Btw, if you're in EU, I can recomend you to try djangoeurope.com which
is more flexible than webfaction and good prices.
Sincerely,
Gour
--
What is night for all beings is the time of awakening
for the self-controlled; and the time of awakening for
all beings is night for the introspective sage.
http://www.atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.