Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

延長戦 #15

Open
pinkumohikan opened this issue Oct 10, 2022 · 4 comments
Open

延長戦 #15

pinkumohikan opened this issue Oct 10, 2022 · 4 comments

Comments

@pinkumohikan
Copy link
Member

pinkumohikan commented Oct 10, 2022

#9 に引き続き

@pinkumohikan
Copy link
Member Author

2022/10/10 09:30:45 [alert] 32307#32307: *8793 socket() failed (24: Too many open files) while connecting to upstream, client: 172.31.16.95, server: , request: "POST /login HTTP/1.1", upstream: "http://127.0.0.1:8080/login", host: "172.31.13.141"
2022/10/10 09:30:45 [alert] 32307#32307: *8795 socket() failed (24: Too many open files) while connecting to upstream, client: 172.31.16.95, server: , request: "POST /login HTTP/1.1", upstream: "http://127.0.0.1:8080/login", host: "172.31.13.141"
2022/10/10 09:30:45 [alert] 32307#32307: *8802 socket() failed (24: Too many open files) while connecting to upstream, client: 172.31.16.95, server: , request: "POST /login HTTP/1.1", upstream: "http://127.0.0.1:8080/login", host: "172.31.13.141"
2022/10/10 09:30:45 [alert] 32307#32307: *8803 socket() failed (24: Too many open files) while connecting to upstream, client: 172.31.16.95, server: , request: "POST /login HTTP/1.1", upstream: "http://127.0.0.1:8080/login", host: "172.31.13.141"
2022/10/10 09:30:45 [alert] 32307#32307: *8804 socket() failed (24: Too many open files) while connecting to upstream, client: 172.31.16.95, server: , request: "POST /login HTTP/1.1", upstream: "http://127.0.0.1:8080/login", host: "172.31.13.141"
2022/10/10 09:30:45 [alert] 32307#32307: *8805 socket() failed (24: Too many open files) while connecting to upstream, client: 172.31.16.95, server: , request: "POST /login HTTP/1.1", upstream: "http://127.0.0.1:8080/login", host: "172.31.13.141"
2022/10/10 09:30:45 [alert] 32307#32307: *8807 socket() failed (24: Too many open files) while connecting to upstream, client: 172.31.16.95, server: , request: "POST /login HTTP/1.1", upstream: "http://127.0.0.1:8080/login", host: "172.31.13.141"
2022/10/10 09:30:45 [alert] 32307#32307: *8808 socket() failed (24: Too many open files) while connecting to upstream, client: 172.31.16.95, server: , request: "POST /login HTTP/1.1", upstream: "http://127.0.0.1:8080/login", host: "172.31.13.141"
2022/10/10 09:30:45 [crit] 32307#32307: accept4() failed (24: Too many open files)
2022/10/10 09:30:45 [alert] 32307#32307: *8835 socket() failed (24: Too many open files) while connecting to upstream, client: 172.31.16.95, server: , request: "POST /login HTTP/1.1", upstream: "http://127.0.0.1:8080/login", host: "172.31.13.141"```

@pinkumohikan
Copy link
Member Author

too many open files対策として /etc/nginx/nginx.confworker_rlimit_nofile 4096; を追記

09:38:59.852697 [PASSED]: true
09:38:59.852702 [SCORE] 20949 (addition: 20994, deduction: 45)

@pinkumohikan
Copy link
Member Author

app:
image

db:
image

@pinkumohikan
Copy link
Member Author

kataribe

Count     Total     Mean   Stddev     Min   P50.0   P90.0   P95.0   P99.0     Max   2xx  3xx  4xx  5xx  TotalBytes   MinBytes  MeanBytes   MaxBytes  Request
 1751  1207.661   0.6897   0.6092   0.012   0.550   1.523   1.933   2.542   3.172  1695    0   56    0    10376207          0       5925      14732  POST /user/<num>/present/receive HTTP/1.1
 1516   251.031   0.1656   0.1925   0.001   0.091   0.403   0.592   0.865   1.196  1163    0  352    1     1712592          0       1129       3362  POST /login HTTP/1.1
 1389   235.074   0.1692   0.1357   0.002   0.133   0.370   0.433   0.511   0.786  1382    0    6    1     2698633          0       1942       2106  POST /user/<num>/gacha/draw/<num>/10 HTTP/1.1
  328   175.918   0.5363   0.4419   0.025   0.417   1.216   1.373   1.522   1.698   318    0   10    0     2182437          0       6653       6931  POST /user HTTP/1.1
 1759   115.521   0.0657   0.0874   0.001   0.028   0.196   0.257   0.390   0.546  1752    0    7    0     9647918          0       5484      13164  GET /user/<num>/present/index/<num> HTTP/1.1
 1396    93.551   0.0670   0.0531   0.000   0.055   0.140   0.172   0.229   0.320  1388    0    8    0    12034996          0       8621       8677  GET /user/<num>/gacha/index HTTP/1.1
 1148    67.858   0.0591   0.0459   0.005   0.047   0.127   0.151   0.209   0.241  1147    0    1    0      246935          0        215        217  POST /user/<num>/reward HTTP/1.1
    1    65.581  65.5810   0.0000  65.581  65.581  65.581  65.581  65.581  65.581     1    0    0    0          18         18         18         18  POST /initialize HTTP/1.1
 1481    63.093   0.0426   0.0424   0.000   0.029   0.103   0.134   0.180   0.252  1461    0   20    0      565752          0        382        393  GET /user/<num>/home HTTP/1.1
  300    27.016   0.0901   0.0747   0.002   0.072   0.202   0.226   0.347   0.396   299    0    1    0       97968         46        326        331  POST /user/<num>/card/addexp/<num> HTTP/1.1
  300    19.103   0.0637   0.0597   0.001   0.041   0.157   0.188   0.243   0.282   299    0    1    0       61049         55        203        204  POST /user/<num>/card HTTP/1.1
  301    17.366   0.0577   0.0555   0.006   0.040   0.127   0.169   0.255   0.357   301    0    0    0      450723       1018       1497       5524  GET /user/<num>/item HTTP/1.1
    4     0.292   0.0730   0.0416   0.003   0.097   0.110   0.110   0.110   0.110     2    0    2    0         411         47        102        157  POST /admin/login HTTP/1.1
    1     0.260   0.2600   0.0000   0.260   0.260   0.260   0.260   0.260   0.260     1    0    0    0       40946      40946      40946      40946  GET /admin/user/<num> HTTP/1.1
    1     0.020   0.0200   0.0000   0.020   0.020   0.020   0.020   0.020   0.020     1    0    0    0          58         58         58         58  PUT /admin/master HTTP/1.1
    1     0.017   0.0170   0.0000   0.017   0.017   0.017   0.017   0.017   0.017     1    0    0    0           0          0          0          0  DELETE /admin/logout HTTP/1.1
    1     0.012   0.0120   0.0000   0.012   0.012   0.012   0.012   0.012   0.012     1    0    0    0      118556     118556     118556     118556  GET /admin/master HTTP/1.1
    1     0.008   0.0080   0.0000   0.008   0.008   0.008   0.008   0.008   0.008     1    0    0    0         178        178        178        178  POST /admin/user/<num>/ban HTTP/1.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant