???????????LoadRunner?
???????????? ???????[ 2014/1/3 10:29:11 ] ??????????????? LoadRunner
????7??????????????????????????tools---create controller scenario??????????????10????????5??????????tomcat???????
???????????????£????????Щ?????????????Щ????????????????
??????????????1??????????1?????????б???????????????????????tomcat???????????????μ?????
?????????????????????tomcat?????????????к????????????????????
????????: Socket accept failed java.net.SocketException: ??????????? at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:408) at java.net.ServerSocket.implAccept(ServerSocket.java:462) at java.net.ServerSocket.accept(ServerSocket.java:430) at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:61) at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(JIoEndpoint.java:352) at java.lang.Thread.run(Thread.java:662) 2013-5-16 11:38:46 org.apache.tomcat.util.net.JIoEndpoint$Acceptor run 2013-05-16 11:38:44??974 INFO [DefaultRequestDirector.java:586] - I/O exception (java.net.SocketException) caught when connecting to the target host: ??????????? 2013-05-16 11:38:44??974 ERROR [CreditPay.java:167] - ??????????? com.yibao.payapi.client.RequestApiException: ???????δ????????[statuscode:404?? text:<html><head><title>Apache Tomcat/6.0.29 -
????????????????????SOCKET???????????????Ч???????????????????LINUX????????????????1024???????????汾?????????????????????????????????????????????????á?
???????????????????????????????????? ulimit -n
?????????????????????????????????????????????????????????????????root?????2????????ulimit -n????????????????root??????????ulimit???????????????????????????
???????????????????????1024????? ????????????2??????? ??????????У? ???????????????????65535??????????????飩?? ???е???????root?????????
????1??/etc/pam.d/login ??? session required /lib/security/pam_limits.so
????2. ??????????????????????????? ??????????/proc/sys/fs/file-max??????????????????????????á? echo 65535 > /proc/sys/fs/file-max
????3????/etc/security/limits.conf?????????????????????2???????
????* soft nofile 4096 * hard nofile 4096
?????????????????????
????#<domain> <type> <item> <value>??????????С? * - nofile 2048 ????????????????????????????2048?? ???"nofile"????????????????????? ??<type>???μ?hard??soft?? ?????????????????Ч?????????????????????趨?? ??????"-"????趨<type>?? ??hard??soft?趨???????趨??
????????????soft???????????趨?????? soft???????????????Ч????????? hard????????????????????????????????? soft?????????????hard???????? ???root????????????hard???????
??????????????2?????????????????????????????????????????????????30??????????3?????????б????HTTP-500
????????????????????tomcat????????????????д?????http-500???????nginx????????????
????????????????nginx???????
????vi /etc/nginx/nginx.conf
????events {
????worker_connections 1024;
????}
?????????
????events {
????worker_connections 65535;
????}
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11