Niphold - I didn't do any configuration of uwsgi other than what comes with the script from the book.
Richard - What will the profiler tell me? I've never used it before? How do I read the output? -Jim On Wed, Aug 20, 2014 at 2:38 PM, Niphlod <[email protected]> wrote: > seems to me that the problem could be uwsgi not being active at the time > the first request comes in.... how did you configured it ? > > > On Wednesday, August 20, 2014 9:26:35 PM UTC+2, 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]> >> 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]> 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]. >>>> >>>> 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 a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/web2py/3tmtJeQW9GI/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > 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.

