Re: [web2py] Re: Website running extremely slow

2012-07-07 Thread Bruce Wade
Remove any requires you have in you models will reduce function calla On Jul 7, 2012 3:53 PM, "howesc" wrote: > do you have anything in models that run queries? i made that mistake once > and it slowed things down a lot! > > On Friday, July 6, 2012 11:51:38 AM UTC-7, wdtatenh wrote: >> >> My web

[web2py] Re: Website running extremely slow

2012-07-07 Thread howesc
do you have anything in models that run queries? i made that mistake once and it slowed things down a lot! On Friday, July 6, 2012 11:51:38 AM UTC-7, wdtatenh wrote: > > My website is deployed on webfaction. I've compiled the application before > uploading. > > Doesn't seem to matter what page

[web2py] Re: Website running extremely slow

2012-07-06 Thread pbreit
I actually think memory could definitely be the culprit. On a VPS I switched from 256mb to 512mb and noticed a dramatic improvement. I'm not really sure how to check my system's memory usage, though. I'd be surprised if it were migrations or tables. Have you tried just running welcome or exampl

Re: [web2py] Re: Website running extremely slow

2012-07-06 Thread Bruce Wade
How many tables do you have defined in db.py? On Fri, Jul 6, 2012 at 2:32 PM, Matt wrote: > Are migrations enabled? In your db.py try changing your DAL to explicitly > turn it off. I.e. > > DAL('', migrate_enabled = False, fake_migrate_all = > False) > > Might do the trick, > Matt > > > On Satur

[web2py] Re: Website running extremely slow

2012-07-06 Thread Matt
Are migrations enabled? In your db.py try changing your DAL to explicitly turn it off. I.e. DAL('', migrate_enabled = False, fake_migrate_all = False) Might do the trick, Matt On Saturday, July 7, 2012 6:51:38 AM UTC+12, wdtatenh wrote: > > My website is deployed on webfaction. I've compiled t

[web2py] Re: Website running extremely slow

2012-07-06 Thread LightDot
Just by the sounds of it, I doubt lack of memory would cause such behaviour. Can't say what would though, without knowing what your application does and how is it programmed to do that. There is basically no information to troubleshoot with. Regards On Friday, July 6, 2012 8:51:38 PM UTC+2, wd