IRC log for #storm on 20120202

00:00.19*** join/#storm _mup_ (~mup@li37-90.members.linode.com)
02:06.01*** join/#storm fcorrea (~fcorrea@bd21701f.virtua.com.br)
03:09.02*** join/#storm fcorrea (~fcorrea@bd21701f.virtua.com.br)
04:30.31*** join/#storm fcorrea (~fcorrea@bd21701f.virtua.com.br)
04:31.24*** join/#storm fcorrea (~fcorrea@bd21701f.virtua.com.br)
04:57.52*** join/#storm fcorrea (~fcorrea@bd21701f.virtua.com.br)
04:59.59*** join/#storm jtravis (~jtravis@c-71-202-121-12.hsd1.ca.comcast.net)
05:00.05*** part/#storm jtravis (~jtravis@c-71-202-121-12.hsd1.ca.comcast.net)
06:23.21*** join/#storm stub (~stub@canonical/launchpad/stub)
08:09.12*** join/#storm esteve (~quassel@cli-5b7ee290.bcn.adamo.es)
08:30.04*** join/#storm milosn (~milosn@5ac48559.bb.sky.com)
09:09.33*** join/#storm bigjools (~quassel@82-71-93-254.dsl.in-addr.zen.co.uk)
09:09.34*** join/#storm bigjools (~quassel@canonical/launchpad/bigjools)
09:50.15*** join/#storm stub (~stub@canonical/launchpad/stub)
11:34.30*** join/#storm yosafbridge (~yosafbrid@li125-242.members.linode.com)
11:46.01*** join/#storm niemeyer (~niemeyer@201-34-87-217.pltce701.dsl.brasiltelecom.net.br)
11:46.01*** mode/#storm [+o niemeyer] by ChanServ
12:34.16*** join/#storm milosn (~milosn@5ac48559.bb.sky.com)
12:59.46*** join/#storm niemeyer (~niemeyer@201-34-87-217.pltce701.dsl.brasiltelecom.net.br)
12:59.47*** mode/#storm [+o niemeyer] by ChanServ
14:52.05*** join/#storm mgedmin (~mg@Maemo/community/contributor/mgedmin)
14:52.16mgedminhi, folks!
14:53.00mgedminour app is starting to hit postgresql connection limits
14:53.35mgedminwe have multiple sites served from one process; each has its own Store that connects to a different PG database
14:53.48mgedmin# of connections seems to be # of sites * # of threads
14:54.01thervecorrect
14:54.15thervebecause you need a different store every time
14:54.20mgedminwhat's the best approach here?  try to bump up the pg connection limit so it's more than 200?
14:54.32mgedminor try to convince storm to be more aggressive about closing unused connections?
14:54.40mgedminafaiu storm has no connection pooling?
14:55.12therveno it doesn't
14:55.43thervemgedmin, I guess your issue is that a good part of those connections is unused?
14:56.13mgedminI'm not sure, actually...
14:56.21mgedminit's a lottery which thread will process each request, I guess
14:57.35therveyou can close the connection at every request I suppose
14:57.50mgedminwill Store re-open it automatically next time?
14:57.52therveotherwise, the "official" workaround is to use something like pgbouncer
14:57.55therveit will
14:57.59mgedminok
14:58.04thervethere is a slight overhead though
14:58.31mgedminfor pgbouncer, or for opening connections?
14:59.18thervefor opening connections
14:59.26mgedminnods
14:59.34mgedminreads about http://wiki.postgresql.org/wiki/PgBouncer
14:59.50mgedminlooks like it won't help if I use the default session pooling method
14:59.56mgedminbut might help if I use transaction pooling?
15:00.56therveright
15:01.27mgedminso far upping the shmem limits and increasing the posgresql connection limit seems to be the simplest solution
15:13.59*** join/#storm niemeyer (~niemeyer@201-34-87-217.pltce701.dsl.brasiltelecom.net.br)
15:13.59*** mode/#storm [+o niemeyer] by ChanServ
16:54.56*** join/#storm niemeyer_ (~niemeyer@201-34-87-217.pltce701.dsl.brasiltelecom.net.br)
16:54.56*** mode/#storm [+o niemeyer_] by ChanServ
17:01.43*** join/#storm niemeyer_ (~niemeyer@201-34-87-217.pltce701.dsl.brasiltelecom.net.br)
17:01.44*** mode/#storm [+o niemeyer_] by ChanServ
17:05.54*** join/#storm milosn (~milosn@5ac48559.bb.sky.com)
17:10.55*** join/#storm milosn (~milosn@5ac48559.bb.sky.com)
17:14.07*** join/#storm niemeyer (~niemeyer@201-34-87-217.pltce701.dsl.brasiltelecom.net.br)
17:14.07*** mode/#storm [+o niemeyer] by ChanServ
17:21.50*** join/#storm niemeyer_ (~niemeyer@201-34-87-217.pltce701.dsl.brasiltelecom.net.br)
17:21.50*** mode/#storm [+o niemeyer_] by ChanServ
17:27.05*** join/#storm lifeless (~robertc@122.58.129.196)
22:23.36*** join/#storm m4v (~znc@unaffiliated/m4v)
23:38.02*** join/#storm milosn (~milosn@5ac48559.bb.sky.com)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.