On Wed, Jul 4, 2012 at 2:27 AM, Vasile Ermicioi <elff...@gmail.com> wrote:
> 1)
> go to https://my.webfaction.com/applications and create an application,
> uwsgi for e.g.
> App category: custom
> App type: custom  app (listening on a port)
> and once done you will see the port near app name (it is a number)
>
> 2) connect via ssh and execute those commands, but put instead yourportthere
> the number of port of your app
>
> 3)
> [utils]
> ps -u fermer -o rss,command
>
> this is also a command, and shouldn't be written in uwsgireload.txt
>
> fermer is my username on webfaction, you should put yours instead
> if you execute it, it will show you how much memory is used by your
> processes
>
>
>
> this command shows you how much memory is using your processes

Thanks, but it still doesn't seem to be working. Here is the output of
my ~/tmp/uwsgi.log:

*** Starting uWSGI 1.2.3 (64bit) on [Thu Jul  5 09:53:11 2012] ***
compiled with version: 4.4.6 20110731 (Red Hat 4.4.6-3) on 03 July 2012 09:59:58
detected number of CPU cores: 8
current working directory: /home/myusernamehere
detected binary path: /home/myusernamehere/bin/uwsgi
limiting address space of processes...
your process address space limit is 67108864 bytes (64 MB)
your memory page size is 4096 bytes
 *** WARNING: you have enabled harakiri without post buffering. Slow
upload could be rejected on post-unbuffered webservers ***
detected max file descriptor number: 4096
async fd table size: 4096
allocated 24960 bytes (24 KB) for 24 cores per worker.
lock engine: pthread robust mutexes
initializing 24 uGreen threads with stack size of 262144 (256 KB)
mprotect(): Invalid argument [plugins/ugreen/ugreen.c line 109]


On Wed, Jul 4, 2012 at 6:22 AM, Luther Goh Lu Feng <elf...@yahoo.com> wrote:
> At some point, will it be beneficial to have fabric scripts to setup web2py
> on webhosts?
>
> http://fabfile.org
>

Sure, a fabric script would be helpful :)

Reply via email to