[pypy-issue] [issue1236] Pypy eventlet crash

bloodmage tracker at bugs.pypy.org
Mon Jan 7 17:49:58 CET 2013


bloodmage <zhouyisu at gmail.com> added the comment:

I tried to use this version:
http://buildbot.pypy.org/nightly/remove-globals-in-jit/pypy-c-jit-59482-
d8bdb7ec0050-linux64.tar.bz2

This is the output of "ab" command I used:

zys at gpuserver:~$ ab -n 1000 -c 10 http://localhost:8090/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:
Server Hostname:        localhost
Server Port:            8090

Document Path:          /
Document Length:        27 bytes

Concurrency Level:      10
Time taken for tests:   1.177 seconds
Complete requests:      1000
Failed requests:        177
   (Connect: 0, Receive: 0, Length: 177, Exceptions: 0)
Write errors:           0
Total transferred:      162004 bytes
HTML transferred:       27004 bytes
Requests per second:    849.82 [#/sec] (mean)
Time per request:       11.767 [ms] (mean)
Time per request:       1.177 [ms] (mean, across all concurrent requests)
Transfer rate:          134.45 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:     6   12   4.0     11      35
Waiting:        6   12   4.0     11      35
Total:          6   12   4.0     11      35

Percentage of the requests served within a certain time (ms)
  50%     11
  66%     11
  75%     12
  80%     13
  90%     15
  95%     20
  98%     27
  99%     34
 100%     35 (longest request)
zys at gpuserver:~$ ab -n 1000 -c 10 http://localhost:8090/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:
Server Hostname:        localhost
Server Port:            8090

Document Path:          /
Document Length:        27 bytes

Concurrency Level:      10
Time taken for tests:   0.896 seconds
Complete requests:      1000
Failed requests:        185
   (Connect: 0, Receive: 0, Length: 185, Exceptions: 0)
Write errors:           0
Total transferred:      161998 bytes
HTML transferred:       26998 bytes
Requests per second:    1116.56 [#/sec] (mean)
Time per request:       8.956 [ms] (mean)
Time per request:       0.896 [ms] (mean, across all concurrent requests)
Transfer rate:          176.64 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       1
Processing:     4    9   5.2      7      40
Waiting:        4    9   5.1      7      40
Total:          5    9   5.2      7      40

Percentage of the requests served within a certain time (ms)
  50%      7
  66%      8
  75%      9
  80%      9
  90%     14
  95%     17
  98%     32
  99%     39
 100%     40 (longest request)
zys at gpuserver:~$ ab -n 1000 -c 10 http://localhost:8090/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:
Server Hostname:        localhost
Server Port:            8090

Document Path:          /
Document Length:        27 bytes

Concurrency Level:      10
Time taken for tests:   0.725 seconds
Complete requests:      1000
Failed requests:        173
   (Connect: 0, Receive: 0, Length: 173, Exceptions: 0)
Write errors:           0
Total transferred:      161989 bytes
HTML transferred:       26989 bytes
Requests per second:    1378.47 [#/sec] (mean)
Time per request:       7.254 [ms] (mean)
Time per request:       0.725 [ms] (mean, across all concurrent requests)
Transfer rate:          218.06 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:     3    7   4.1      6      39
Waiting:        3    7   4.1      6      39
Total:          3    7   4.1      6      39

Percentage of the requests served within a certain time (ms)
  50%      6
  66%      6
  75%      7
  80%      7
  90%     11
  95%     14
  98%     17
  99%     39
 100%     39 (longest request)
zys at gpuserver:~$ ab -n 1000 -c 10 http://localhost:8090/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:
Server Hostname:        localhost
Server Port:            8090

Document Path:          /
Document Length:        27 bytes

Concurrency Level:      10
Time taken for tests:   0.751 seconds
Complete requests:      1000
Failed requests:        146
   (Connect: 0, Receive: 0, Length: 146, Exceptions: 0)
Write errors:           0
Total transferred:      161995 bytes
HTML transferred:       26995 bytes
Requests per second:    1332.12 [#/sec] (mean)
Time per request:       7.507 [ms] (mean)
Time per request:       0.751 [ms] (mean, across all concurrent requests)
Transfer rate:          210.74 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:     2    7   5.4      5      36
Waiting:        2    7   5.4      5      36
Total:          3    7   5.4      5      36

Percentage of the requests served within a certain time (ms)
  50%      5
  66%      6
  75%      6
  80%      8
  90%     15
  95%     18
  98%     29
  99%     35
 100%     36 (longest request)
zys at gpuserver:~$ ab -n 10000 -c 10 http://localhost:8090/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
apr_socket_recv: Connection reset by peer (104)
Total of 1 requests completed
zys at gpuserver:~$

And this is how the pypyflaskmongo.py crashes:

zys at gpuserver:~/pypytest/pypy-c-jit-59482-d8bdb7ec0050-linux64/bin$ ./pypy 
pypyflaskmongo.py
Segmentation fault (core dumped)
zys at gpuserver:~/pypytest/pypy-c-jit-59482-d8bdb7ec0050-linux64/bin$

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1236>
________________________________________


More information about the pypy-issue mailing list