On Jul 30, 12:29 am, [email protected] wrote:
> Hi pals,
>
> Today I start my day 1 with webfaction. Here come some experience and 
> thoughts to share.
>
> a. web2py installation will be smooth if you use these install script [1] & 
> [2], and follow its docstring instructions. (One bug in [2] is found and 
> fixed today.)
>
> b. If you use the "latest stable source" install script [1], you will be 
> trapped because your web2py admin is unable to upload any app, just giving 
> out a unhelpful message "unable to install application your_app". (To 
> Massimo: It is unhelpful because gluon/admin.py 's most helper functions 
> absorb all exception but give no meaningful feedback -- not a good practice I 
> think.)
>
> Real cause and solution: Use ssh to login and then:
>         mkdir ~/webapps/your_chosen_name/web2py/deposit
>
> Besides, you are unable to import any module until you:
>         touch ~/webapps/your_chosen_name/web2py/applications/__init__.py
>
> (To Massimo: These are easy to be fixed in web2py_src.zip, aren't they?)
>
> c. If you are using the "hg trunk install", pay attention 
> tohttp://groups.google.com/group/web2py/msg/1937fae4b080e4ef
>
> Now the thoughts and questions.
>
> Which wsgi mode is webfaction using to serve web2py according to this setup 
> script [1] and [2]?  Is it "embedded mode" or "daemon mode"? (See more about 
> the two modes athttp://groups.google.com/group/web2py/msg/2ebe817c9bd2b0bb)
>
> How many web2py process are actually running? I saw 3 apache are running. I 
> guess they are one parent for listening and two children for real job?
>
> If there are more than one web2py process, what caveat need to be aware? 
> AFAIK:
>
> 1. cache.ram() still works, but is not that effective because content are not 
> shared by 2 (or more) web2py processes, so need to use cache.disk or 
> cache.memcache instead. More discussion is available 
> here.http://groups.google.com/group/web2py/browse_frm/thread/9993d61782c9b11d
>
> 2. The cron. According to [3], I'd better setup external cron. Fine, but are 
> the 2 wsgi web2py processes already running in soft cron mode by default? And 
> if yes, how to disable them to avoid conflict?
>
> 3. Anything else I missed?
>
> I hope to form some guidelines for new comers who, just like me, are not wsgi 
> expert.
>
> Thanks in advance!
>
> [1]http://wiki.webfaction.com/wiki/Web2py-LatestSource
> [2]http://wiki.webfaction.com/wiki/Web2pyHgTrunkInstall
> [3]http://web2py.com/book/default/section/4/17?search=cron
>
> Sincerely,
>              Iceberg, 2010-Jul-29, 22:04(PM), Thu


One more big problem, my app on webfaction keeps asking me to re-login
within every few minutes.  Why is that?  @_@

Anybody who is using webfaction can share some info?

Thanks

Reply via email to