Thank you so much for your help, my pool_size was set to 100, I set it to 1 
and seems to be working ok.

On Sunday, June 4, 2017 at 9:19:03 AM UTC-7, Massimo Di Pierro wrote:
>
> What is your connection string?
>
> web2py does connection pooling. It does not close connections, it stores 
> them and recycle them for speed but you can set DAL(...., pool_size=...). 
> Set pool_size to 1 for now and see if you still have the problem. 
>
> On Sunday, 4 June 2017 11:04:52 UTC-5, Mick wrote:
>>
>> Hi all,
>> I'm new at web2py and I have this issue, whenever I refresh the page the 
>> number of connections to postgres increases and in time crashes.  How do I 
>> handle this?  I can't find any good information on closing the connection 
>> after the query is done...
>> Thank you in advance :)
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to