45 messages in com.googlegroups.pylons-discussRe: Reducing pylons app memory usage?
FromSent OnAttachments
Marcin Kasperski16 Oct 2007 07:21 
Max Ischenko16 Oct 2007 10:46 
Marcin Kasperski17 Oct 2007 02:59 
Dalius Dobravolskas17 Oct 2007 03:04 
Christoph Haas17 Oct 2007 07:12 
Max Ischenko17 Oct 2007 11:02 
Ben Bangert17 Oct 2007 13:19 
Christoph Haas17 Oct 2007 14:23 
Ben Bangert17 Oct 2007 16:32 
Graham Dumpleton17 Oct 2007 16:56 
Ian Bicking17 Oct 2007 16:58 
Marcin Kasperski18 Oct 2007 03:18 
Ben Bangert18 Oct 2007 11:34 
Philip Jenvey18 Oct 2007 12:22 
Ben Bangert18 Oct 2007 12:32 
Ian Bicking18 Oct 2007 12:37 
Marcin Kasperski19 Oct 2007 02:35 
Marcin Kasperski19 Oct 2007 02:42 
Graham Dumpleton21 Oct 2007 16:12 
Jon Rosebaugh21 Oct 2007 16:48 
Graham Dumpleton21 Oct 2007 18:20 
Marcin Kasperski22 Oct 2007 05:11 
Bob Ippolito22 Oct 2007 05:28 
Bob Ippolito22 Oct 2007 05:33 
Graham Dumpleton22 Oct 2007 16:23 
Graham Dumpleton22 Oct 2007 16:25 
Cliff Wells22 Oct 2007 17:52 
Graham Dumpleton22 Oct 2007 17:59 
Cliff Wells22 Oct 2007 18:53 
Graham Dumpleton22 Oct 2007 22:58 
Marcin Kasperski31 Oct 2007 08:39 
Ben Bangert31 Oct 2007 08:56 
Marcin Kasperski31 Oct 2007 09:38 
Marcin Kasperski31 Oct 2007 09:40 
Ben Bangert31 Oct 2007 12:08 
Graham Dumpleton31 Oct 2007 15:52 
Graham Dumpleton31 Oct 2007 16:44 
Ben Bangert31 Oct 2007 17:04 
Ben Bangert31 Oct 2007 17:08 
Marcin Kasperski05 Nov 2007 03:53 
Marcin Kasperski05 Nov 2007 04:08 
Marcin Kasperski05 Nov 2007 04:33 
Alberto Valverde05 Nov 2007 04:57 
Marcin Kasperski05 Nov 2007 06:03 
Ian Bicking05 Nov 2007 06:58 
Subject:Re: Reducing pylons app memory usage?
From:Ian Bicking (ianb@public.gmane.org)
Date:11/05/2007 06:58:47 AM
List:com.googlegroups.pylons-discuss

Marcin Kasperski wrote:

Actually, Ian clarified that the threadpool can be turned off. Add the following to the [server] section: use_threadpool = false

On my linux system, that cut the Virtual from 100Mb to 18Mb.

But this is then single-process mode, I guess?

No, it spawns a new thread for each request, and the thread dies at the end of the request. It's a little slower, and in some cases you can get an excessive number of threads (if you are responding very slowly in your app), but otherwise it's about the same as with the thread pool.