theoretically a db = DAL(...., pool_size=5) will create AT MOST 5 
connections to that db. you have 20, so any app's instance will create AT 
MOST 20 connections to the db. if you postgres accepts AT MOST 50 
connections, you'll reach the top at 2 apps and a half. As for the ram 
consumed by postgres, it's a setting too. Of course if you have 4 gb of 
ram, 1.5 assigned to postgres seems normal (if not too conservative). Most 
db engines (postgresql included) benefit in any operation if more ram is 
available.

-- 
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