I didn't mean to imply that the enhancements I'm planning for 1.2 (window speed) address this issue...just to be clear.
@Jonathan: Yes we need to make numthreads map to max-threads and default it to 0 (unlimited) or a very high number. The only time reasonable to change this is when running web2py (rocket) on Jython. See: http://packages.python.org/rocket/usage.html#architecture-considerations @Phyo: Thanks. I'm not fully recovered, but enough to get back in the game. -tim On Nov 24, 9:56 am, Jonathan Lundell <jlund...@pobox.com> wrote: > On Nov 24, 2010, at 5:59 AM, Phyo Arkar wrote: > > > I haven't tried DEFAULT_MAX_THREADS it yet but to report that it is not > > just windows problem it happens in Linux too. > > WHen i test my Homepage which dont do anything dynamic much , just login > > box , with static js and css. That caused long load delays too. > > By all means give max-threads a try. If the problem is thread starvation, > it's not likely to be Windows-specific. The default limit is 10, which isn't > a lot for pages with a lot of resources. > > > > > > > > > > > Tim , sorry to know that u got injury. Had you recovered well now? > > > On Wed, Nov 24, 2010 at 12:01 PM, Jonathan Lundell <jlund...@pobox.com> > > wrote: > > On Nov 23, 2010, at 8:48 PM, Anthony wrote: > > > > On Nov 23, 9:26 pm, Jonathan Lundell <jlund...@pobox.com> wrote: > > >>> On Nov 23, 8:10 pm, Timbo <tfarr...@owassobible.org> wrote: > > >>>> Set numthreads=0 in your options.py. See if you still see this > > >>>> behavior. > > > >>> options.py is just for running web2py as a Windows service, no? I'm > > >>> not running web2py as a Windows service when I observe the problem. > > > >> If you're running from the command line, use --options 0. > > > > Do you mean use the -n command line option to set numthreads to 0, > > > e.g.: > > > > python web2py.py -a password -i 127.0.0.1 -p 8000 -n 0 > > > > I tried this, but in that case, I can't get 127.0.0.1:8000 to load at > > > all (it just hangs indefinitely). > > > Right, now that I look at it, there's no way to override max_threads. Maybe > > there should be....