At 03:32 PM 10/1/01 -0700, you wrote: >Thank you for your help so far. I have noticed that this slowdown occurs >with the webware admin pages as well. To recreate my problem do the >following: > >Have someone on one computer request the admin page. Have them hold down >the refresh key. Do not have them stop refreshing. > >The second person on a different machine should request the same page. >Their request will not be completed until the first person stops refreshing. > >This behavior cannot be reproduced on basic static pages and Microsoft ASP >(not that I am a big fan). I would really like to figure out what setting, >configuration I have set incorrectly. > >I originally that that it might be because I am not writing the psp pages in >a class style. My site creates basic HTML pages with psp tags within the >HTML document. However, running this test against the example pages makes >me believe that it is not my programming style, but rather a configuration >issue.
If you are using IIS, then I assume you are using WebKit.cgi as the adapter. This requires starting up a new process and the whole Python interpreter for each request. This is notoriously slow on Windows. I suspect that you're triggering so many Python processes that the entire machine bogs down and can't respond. Check the task manager and see how many Python processes are running while you're doing this. If there are a lot of processes and the number keeps getting larger as you continue to refresh, then that's a pretty good sign that your machine simply can't handle the load. Also, you could just try running any old Python CGI script and see if it has the same problems. There are a couple of other options to try to speed things up: - Switch to Apache. Then you can use mod_webkit which is nice and fast. This is what I'm using. - There's a version of the cgi adapter written in C. It should be a lot faster than WebKit.cgi. - There's an ISAPI filter written in C. This should be even faster than the C cgi adapter. -- - Geoff Talvola [EMAIL PROTECTED] _______________________________________________ Webware-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-devel
