Hello.
How can I found value of django socket backlog, and change that value?
Its return error: "connect() to unix:/home/webmaster/django_base/site/
server.sock failed (11: Resource temporarily unavailable)"
under heavy load, the workaround is to increase backlog.
--
You received this message
Keith-Magee wrote:
> On Thu, Apr 29, 2010 at 12:20 PM, idle sign wrote:
> > I'm using the latest trunk fromhttp://github.com/django/django.
> > A complete test project you can grab
> > athttp://idlesign.narod.ru/django/django-tests.tar.gz
> > There is a little boot
wrote:
> On Thu, Apr 29, 2010 at 12:20 PM, idle sign wrote:
> > I'm using the latest trunk fromhttp://github.com/django/django.
> > A complete test project you can grab
> > athttp://idlesign.narod.ru/django/django-tests.tar.gz
> > There is a little bootstrap.sh t
Magee wrote:
> On Thu, Apr 29, 2010 at 12:20 PM, idle sign wrote:
> > I'm using the latest trunk fromhttp://github.com/django/django.
> > A complete test project you can grab
> > athttp://idlesign.narod.ru/django/django-tests.tar.gz
> > There is a little bootstrap
, Apr 29, 2010 at 11:04 AM, idle sign wrote:
> > I thought so, have tried so, but got "This code isn't under
> > transaction management", and opened this thread :)
>
> I get that error if I *omit* the using= argument to commit (which is
> what I'd expect to see
dleware.MessageMiddleware')
Traceback:
File "/usr/lib/python2.6/dist-packages/django/core/handlers/base.py"
in get_response
100. response = callback(request,
*callback_args, **callback_kwargs)
File "/home/idle/projects/gitdev/django-tests/testapp/views.py&
I think I spotted something weird. May be someone could explain that?
1. In Django 1.2 define two DBs (let it be sqlite), one of which name
'test'.
2. Define DB router for 'testapp' so that it always uses 'test' DB.
3. Use 'commit_manually' decorator for 'test' view.
4. In 'test' view define 'curs
7 matches
Mail list logo