[web2py] Re: Web2py server crashes when sending multiple emails

2016-07-16 Thread Massimo Di Pierro
If you are using Apache, than you are not using the web2py server (rocket). Apache is prone to crashes and we do not recommend it any more. Today Nginx is a better option. On Thursday, 14 July 2016 09:17:25 UTC-5, Daksh Anand wrote: > > I have a function through which i send mail to around 10-12

[web2py] session error

2016-07-16 Thread Dmitri Ermolaev
I use if not request.env.web2py_runtime_gae: migrate = 0 fake_migrate = myconf.take('db.fake_migrate') and True or False migrate = (myconf.take('db.migrate') or migrate) and True or False ## if NOT running on Google App Engine use SQLite or other DB ## folder="../databases"

[web2py] Two Step Verification - OTP

2016-07-16 Thread 黄祥
Is it possible to use two step verification - OTP in web2py i've tried on book two step verification with droidOTP even manual with pytop but the result is not expected (no error traceback occured but the result is not expected) e.g. pyotp *models/db.py* from gluon.tools import Auth, Service, Plu

[web2py] Web2py scheduler linked postgres processes consuming too much memory

2016-07-16 Thread Abhishek Ram
Hi, I am using the web2py scheduler to run some background jobs. I am starting the scheduler using systemd and once started it also spawns two postgres processes as that is my DB. Now the problem is that the postgres processes continue to consume more and more memory even when no process is run