durusmail: quixote-users: Apache2 and quixote : timeouts
Apache2 and quixote : timeouts
2004-03-20
2004-03-22
Apache2 and quixote : timeouts
vincent delft
2004-03-20
I' ve got apache 2.0.48 and quixote 0.7a3 with scgi
1.2a1 and Python 2.3.3.

Quixote works fine, but when I stress it with "ab" , I
receive timeouts.

This is repeatable on a page that transforms an xml to
html. I do :
"
def my_bookmarks [html] (req):
    common.header()
    common.menu()
    "

My bookmarks

" r=StringIO.StringIO() xbelmark.analyze(r,str('/home/vi/bookmark.xml')) "
" htmltext(r.getvalue()) r.close() "
" common.footer(str('%c')) " On the other page (pure ptl pages) I've not the problem. Here after the result of ab -c1 -n100 : Server Software: Apache/2.0.48 Server Hostname: localhost Server Port: 80 Document Path: /qx_myhp/my_bookmarks Document Length: 11114 bytes Concurrency Level: 1 Time taken for tests: 132.690736 seconds Complete requests: 100 Failed requests: 1597 (Connect: 0, Length: 1, Exceptions: 1596) Write errors: 0 Total transferred: 14210230 bytes HTML transferred: 13793047 bytes Requests per second: 0.75 [#/sec] (mean) Time per request: 1326.907 [ms] (mean) Time per request: 1326.907 [ms] (mean, across all concurrent requests) Transfer rate: 104.58 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.0 0 0 Processing: 52 356 2994.3 55 30000 Waiting: -65 0 6.6 0 0 Total: 52 356 2994.3 55 30000 Percentage of the requests served within a certain time (ms) 50% 55 66% 57 75% 59 80% 61 90% 66 95% 77 98% 82 99% 30000 100% 30000 (longest request) Does this is linked with the GIL in python ? How to solve this ? Thanks __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html
reply