django backlog

2011-11-05 Thread idle
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

Re: Transaction commit with cursor.execute

2010-04-29 Thread idle sign
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

Re: Transaction commit with cursor.execute

2010-04-29 Thread idle sign
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

Re: Transaction commit with cursor.execute

2010-04-28 Thread idle sign
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

Re: Transaction commit with cursor.execute

2010-04-28 Thread idle sign
, 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

Re: Transaction commit with cursor.execute

2010-04-28 Thread idle sign
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&

Transaction commit with cursor.execute

2010-04-28 Thread idle sign
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