Fred Gilham <[EMAIL PROTECTED]> writes: > OK, I've tried a couple web servers --- portableaserve and CL-HTTPD. > > Both are multiprocessing web servers. Both seem to hang when getting > requests from more than one client at a time. I think there's > something wrong with the CMUCL multiprocessing. I notice this same
Is this behaviour reproducible with Portable Aserve? With /usr/sbin/ab -n 100 -c 5 'http://localhost:8001/intro' I got the following: This is ApacheBench, Version 1.3d <$Revision: 1.58 $> apache-1.3 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2001 The Apache Group, http://www.apache.org/ Benchmarking localhost (be patient).....done Server Software: AllegroServe/1.2.21.C Server Hostname: localhost Server Port: 8001 Document Path: /login Document Length: 1142 bytes Concurrency Level: 5 Time taken for tests: 1.581 seconds Complete requests: 100 Failed requests: 0 Broken pipe errors: 0 Total transferred: 129600 bytes HTML transferred: 114200 bytes Requests per second: 63.25 [#/sec] (mean) Time per request: 79.05 [ms] (mean) Time per request: 15.81 [ms] (mean, across all concurrent requests) Transfer rate: 81.97 [Kbytes/sec] received Connnection Times (ms) min mean[+/-sd] median max Connect: 0 7 28.1 0 168 Processing: 22 72 63.8 32 231 Waiting: 3 69 63.5 32 230 Total: 22 78 65.9 36 234 Percentage of the requests served within a certain time (ms) 50% 36 66% 74 75% 161 80% 169 90% 195 95% 195 98% 230 99% 231 100% 234 (last request) The server is the latest Portable Aserve I found on sf.net (except that I (rather hastily) merged it with 1.2.21 of Aserve, so I have publish-prefix and publish-multi. But I haven't touched the acl compatibility stuff, so I'd expect the same results with the original.), running with 5 listeners. I did get messages like this 1-aserve-worker: 10/04/02 - 17:45:00 - while processing command "GET /login HTTP/1.0" got error Error in function UNIX::SIGPIPE-HANDLER: SIGPIPE at #x420DAE24. (one for each listener), but apparently this didn't stop CMUCL from serving the page. (And, btw, ACL with Aserve also gives a few ; Received sigpipe. messages.) Andras
