Thursday, June 30, 2011

Re: OperationalError: no connection to the server using Django and gunicorn

Hi Adrian,

Have you solved this weird issue?

if yes, please tell me how.

Best regards,
Andrey Makhnach

On May 27, 12:53 pm, Adrián Ribao <ari...@gmail.com> wrote:
> I'm doing it manually because I'm just testing:
>
> ./manage.py run_gunicorn -c gunicorn.conf.py
>
> where gunicorn.conf.py
>
> # -*- coding: utf-8 -*-
> import multiprocessing
>
> bind = "127.0.0.1:8000"
> workers = multiprocessing.cpu_count() * 2 + 1
> worker_class = 'gevent'
>
> On 27 mayo, 02:23, Shawn Milochik <sh...@milochik.com> wrote:
>
>
>
>
>
>
>
> > What's the command you're using to run it?
>
> > Are you in screen? Are you using supervisor or anything like that?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment