Never mind.  The limit was hit at the browser side due to Mozilla
"about:config".

network.http.max-connections-per-server;15



On Dec 8, 5:41 pm, ozwyzard <[email protected]> wrote:
> I have a TG2 webapp using sqlalchemy mostly default settings, except
> for the threadpool workers.  One of the controllers streams a
> response.  The app is not able to serve more than 15 connections
> concurrently.  If I have 15 stream downloads in progress, the 16th
> connection just hangs (does not even get to the non-streaming home
> page).  The stream does not hold up a DB connection (I doubt it is due
> to sqlalchemy).
>
> The same behavior occurs without the threadpool config.  The same
> behavior occurs if I bump up the pool workers to 20 and request queue
> size to 20.
>
> Can someone point me to the appropriate documentation for connection
> handling/pooling?
>
> Thank you.
>
> [server:main]
> ...
> threadpool_workers=10
> use_threadpool=true
> request_queue_size=10
>
> [app:main]
> ...
> full_stack = true
> ...
> sqlalchemy.echo = false
> sqlalchemy.echo_pool = false
> sqlalchemy.pool_recycle = 3600

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to