Hi Alessandro, Thank you. This is helpful. With TG1 cherrypy used to reserve 5g of virtual memory for numthreads = 70 whereas in, TG2 it takes 1g only.
With Regards, Dinesh. On Friday, 17 March 2017 02:07:22 UTC-7, Alessandro Molina wrote: > > > > On Fri, Mar 17, 2017 at 9:15 AM, D R Dinesh Kumar <[email protected] > <javascript:>> wrote: > >> Hi Alessandro, >> >> Thank you for the information provided. >> >> Yes, we are serving the app through "gearbox serve" and development.ini >> is used (which is by default). >> hosting the app on cherrypy with "use = egg:gearbox#cherrypy". By >> default, cherrypy provides 10 threads. >> Can you please help me out with how to pass "thread_pool" and >> "socket_queue_size" to cherrypy through .ini file? >> >> Should adding the following lines help? >> server.thread_pool = <num> >> server.socket_queue_size = <num> >> > > I think the relevant options are "numthreads" and "request_queue_size" > > See > > > https://github.com/TurboGears/gearbox/blob/master/gearbox/commands/serve.py#L958 > > https://github.com/TurboGears/gearbox/blob/master/gearbox/commands/serve.py#L971 > > > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/d/optout.

