#227 TurboGears Thread Pool increase
Closed: Fixed None Opened 16 years ago by mmcgrath.

We should increase the thread pool for all of our TG apps. especially the applications that make xmlrpc calls.

server.thread_pool

probably to 50 or 100.


From reading this blog entry, it might be good to increase server.socket_queue_size as well.

http://amix.dk/blog/viewEntry/119

bodhi is now running with:
{{{
server.thread_pool = 50

server.socket_queue_size = 30

}}}

Replying to [comment:3 lmacken]:

bodhi is now running with:
{{{
server.thread_pool = 50

server.socket_queue_size = 30
}}}
PackageDB is now running with these settings as well.

Smolt has had this added as well. Is there anything left that we're forgetting or can we resolve this ticket?

mirrormanager and transifex are also in production. They're not making xmlrpc calls, though.

Note: I added server.socket_queue_size to smolt yesterday along with removing logging of sql queries. It went a lot longer without memory exploding or getting timeouts but I don't know if it's because of the changes or that most of the clients have finished reporting in by now.

Added to mirrormanager (which actually does use xmlrpc calls) and trnasifex.

Thanks, Toshio.. that looks like all of them. Closing! Please reopen if we've missed any.

Login to comment on this ticket.

Metadata