Thank you Stifan, that's worked!
For reference for anyone else out there running web2py on Heroku here is my
working production Procfile:
web: gunicorn wsgihandler --max-requests 1000 --timeout 10
--max-requests-jitter
100
On Friday, August 3, 2018 at 5:11:33 AM UTC-5, 黄祥 wrote:
>
> pls
pls try (tested on mac not on heroku and you can also change the parameter
with your own setting)
pip install gunicorn
cd path_to_web2py/
cp handlers/wsgihandler.py ./
gunicorn wsgihandler --max-requests 1000 --timeout 600
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.c
What is the syntax to do that? I assume I need to let it know about
web2py/wsgihandler.
My current syntax (running on Heroku) is:
python anyserver.py -s gunicorn -i 0.0.0.0 -p $PORT
On Thursday, August 2, 2018 at 5:20:15 PM UTC-5, 黄祥 wrote:
>
> had you try to run the gunicorn itself (without
In case it's of any benefit.
Just installed LinuxMint 18 on my laptop, installed gunicorn from the
software manager
python anyserver.py -s gunicorn
starting gunicorn on 127.0.0.1:8000...
[2018-08-03 02:09:42 +] [31660] [INFO] Starting gunicorn 19.4.5
[2018-08-03 02:09:42 +] [31660] [
had you try to run the gunicorn itself (without using anyserver.py) and set
the gunicorn config with the parameter you want (max-requests, timeout,
etc) ?
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source
Is there a syntax to pass gunicorn options like --timeout or --max-requests
into the anyserver.py command line?
python anyserver.py -s gunicorn -i 0.0.0.0 -p $PORT --max-requests 1000
adding the --max-requests to the command line doesn't get passed through.
Thanks.
On Thursday, April 19
in that case, I'll try to find some information on this but on low priority
:( and keep this testing on hold for some time.
Thanks Massimo.
Sincerely, Rahul D
On Wednesday, April 18, 2012 7:14:06 PM UTC+5:30, Massimo Di Pierro wrote:
>
> I experience the same issue but I have a different dia
I experience the same issue but I have a different diagnoses. It is not
ignoring -s (although it says it does). In fact it is calling the gunicorn
method. The problem is that it fails when when creating an instance of the
gunicorn server and I do not know way. In stead of going into the server
Thanks! David. So I'll continue testing on CentOs then.. Lets see what
Massimo has to say for the issue /error reported earlier.
Thanks, Rahul D
On Wednesday, April 18, 2012 2:29:08 PM UTC+5:30, David Marko wrote:
>
> * fcntl* is related to UNIX. As I know gunicorn is not intended to work
> on
* fcntl* is related to UNIX. As I know gunicorn is not intended to work on
Windows because of internal design.
David
Dne středa, 18. dubna 2012 10:34:53 UTC+2 Rahul napsal(a):
>
> Also tried this on Win7 with web2py from trunk, it gives me below issue -
> Simply trying to start web2py using an
Also tried this on Win7 with web2py from trunk, it gives me below issue -
Simply trying to start web2py using anyserver and gunicorn on default port
(no command line options called). So we have 2 issues one reported earlier
on centos and other on win7(this issue). Let me know if i am missing so
I tried with the latest code in trunk - There seems to be some issue. It
ignores -s or --server= parameters. it always starts rocket server. Please
see the logs below.
*-bash-3.2$ python anyserver.py -s gunicorn*
starting gunicorn on 127.0.0.1:8000...
Usage: anyserver.py [options]
anyserver.py
Can you try the anyserver in trunk? Looks like they changed some API.
On Tuesday, 17 April 2012 05:43:51 UTC-5, Rahul wrote:
>
> Hi Massimo,
> I did the typo in the "anyserver.py" file but now I am getting
> this issue.
>
> -bash-3.2$ *python anyserver.py -s gunicorn*
> starting gunicor
Hi Massimo,
I did the typo in the "anyserver.py" file but now I am getting
this issue.
-bash-3.2$ *python anyserver.py -s gunicorn*
starting gunicorn on 127.0.0.1:8000...
Traceback (most recent call last):
File "anyserver.py", line 299, in
main()
File "anyserver.py", line 295,
14 matches
Mail list logo