These are chat archives for getredash/redash

26th
Nov 2015
Rahul Ghose
@rghose
Nov 26 2015 03:30
So I get an error connecting to port 9001
inet_http_server => what exactly is this
?
Rahul Ghose
@rghose
Nov 26 2015 03:43
Okay, so I guess I ran out of memory

OperationalError: could not fork new process for connection: Cannot allocate memory
could not fork new process for connection: Cannot allocate memory

ulimit issues maybe?

Arik Fraimovich
@arikfr
Nov 26 2015 04:46
@rghose I just configure celery and gunicorn to "recycle" workers after some number of tasks/requests, so they not grow much in memory usage.
Rahul Ghose
@rghose
Nov 26 2015 07:33
hmm and how did you configure celery?
Arik Fraimovich
@arikfr
Nov 26 2015 07:35
I added --maxtasksperchild=10 to the celery worker command.
Rahul Ghose
@rghose
Nov 26 2015 07:46
I see, thanks