I did this and after waiting 45 minutes and re-testing, it did not exhibit the slow behavior. Since this is a test without running nginx/uwsgi I'm assuming my problem is in one of those layers.
Also, I access the production site with http instead of https, the slowness isn't there either. -Jim On Wednesday, August 20, 2014 2:26:35 PM UTC-5, Richard wrote: > > You can check that with profiler : python web2py.py -a 'asdf' -i 127.0.0.1 > -p 8000 appname -F fileNameForProfilerDumpInfo' > > Your app will be very slow with profiler. > > Richard > > > On Wed, Aug 20, 2014 at 3:24 PM, Richard Vézina <[email protected] > <javascript:>> wrote: > >> Could your app take time to create global vars and after they are cached >> up? >> >> Richard >> >> >> On Wed, Aug 20, 2014 at 1:32 PM, Jim S <[email protected] <javascript:>> >> wrote: >> >>> Hi >>> >>> I've installed web2py on my ubuntu machine using the script at the >>> bottom of this section in the book: >>> >>> http://web2py.com/books/default/chapter/29/13/deployment-recipes#Nginx >>> >>> It is all working well except for one annoyance. >>> >>> If I leave the let the page site for a while (haven't really determined >>> the time period needed to display the behavior), when I come back later my >>> first access to the application is really slow, like 10 seconds to display >>> the page. But, after that, it clicks along with sub-second response time. >>> >>> Anyone have any idea what is going on or where to begin trouble-shooting? >>> >>> -Jim >>> >>> -- >>> 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 [email protected] <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

