socket.socket: too many sockets, 之前的请求还没来得及结束, 把socket数耗完了
谢谢。
日志如下:
[I]-[ril.proatc]
[I]-[ril.proatc]SSL&6,CONNECT OK
[I]-[ril.sendat]AT+SSLCREATE=4,www.example.com:443,1
[W]-[UPLOAD]62 macs1219/4658 Bytes
[I]-[ril.proatc]
[I]-[ril.proatc]SSL&5,SEND OK
[I]-[ril.sendat]AT+SSLCONNECT=4
[I]-[ril.proatc]
[I]-[ril.proatc]SSL&4,CREATE OK
[I]-[ril.sendat]AT+SSLDESTROY=5
[I]-[ril.proatc]
[I]-[ril.proatc]OK
[E]-[http.response]falsesend head fail
[E]-[UPLOAD]Can not upload data: send head fail
[W]-[UPLOAD]794 KB RAM
[I]-[ril.sendat]AT+SSLCREATE=3,www.example.com:443,1
[I]-[ril.proatc]
[I]-[ril.proatc]+SSL RECEIVE,5,208:
[I]-[ril.proatc]HTTP/1.1 200 OK
[I]-[ril.proatc]Server: nginx/1.12.1
[I]-[ril.proatc]Date: Tue, 08 Jan 2019 05:02:10 GMT
[I]-[ril.proatc]Content-Type: text/html; charset=UTF-8
[I]-[ril.proatc]Transfer-Encoding: chunked
[I]-[ril.proatc]Connection: keep-alive
[I]-[ril.proatc]X-Powered-By: PHP/5.6.33
[I]-[ril.proatc]
[I]-[ril.proatc]2
[I]-[ril.proatc]ok
[I]-[ril.proatc]0
[I]-[ril.proatc]
[W]-[socket: receive on nil socket]5
[I]-[ril.proatc]
[I]-[ril.proatc]SSL&5,DESTROY OK
[I]-[ril.sendat]AT+SSLCONNECT=3
[I]-[ril.proatc]
[I]-[ril.proatc]SSL&3,CREATE OK
[I]-[ril.proatc]
[I]-[ril.proatc]SSL&4,CONNECT OK
[I]-[ril.sendat]AT+SSLSEND=4,648
[I]-[ril.proatc]
[I]-[ril.proatc]OK
[I]-[ril.sendat]AT+SSLDESTROY=4
[I]-[ril.proatc]>
[E]-[error promot cmd:]AT+SSLDESTROY=4
[W]-[UPLOAD]47 macs910/3538 Bytes
[I]-[ril.proatc]
[I]-[ril.proatc]SSL&3,CONNECT OK
[E]-[http.response]falsesend head fail
[E]-[SETTINGS]Can not synchronize settings: send head fail
[W]-[SETTINGS]791 KB RAM
[I]-[ril.sendat]AT+SSLCREATE=2,www.example.com:443,1
[W]-[UPLOAD]47 macs963/3589 Bytes
[W]-[UPLOAD]64 macs1261/4795 Bytes
[W]-[UPLOAD]38 macs876/2854 Bytes
[W]-[UPLOAD]53 macs956/3908 Bytes
[I]-[ril.proatc]
[I]-[ril.proatc]SSL&6,CLOSED
[W]-[SETTINGS]version: 3504 Bytes
[W]-[UPLOAD]76 macs1382/5693 Bytes
[W]-[socket.socket: too many sockets]
[E]-[http.response]falsecreate socket error
[E]-[UPLOAD]Can not upload data: create socket error
[W]-[UPLOAD]782 KB RAM
[I]-[ril.proatc]
[I]-[ril.proatc]SSL&4,CLOSED
[I]-[ril.proatc]
[I]-[ril.proatc]SSL&3,CLOSED
[W]-[UPLOAD]67 macs1275/4955 Bytes
[W]-[socket.socket: too many sockets]
[E]-[http.response]falsecreate socket error
[E]-[UPLOAD]Can not upload data: create socket error
[W]-[UPLOAD]792 KB RAM
[W]-[UPLOAD]44 macs915/3231 Bytes
[W]-[socket.socket: too many sockets]
[E]-[http.response]falsecreate socket error
[E]-[UPLOAD]Can not upload data: create socket error
[W]-[UPLOAD]785 KB RAM
[W]-[UPLOAD]56 macs1040/4097 Bytes
[W]-[socket.socket: too many sockets]
[E]-[http.response]falsecreate socket error
[E]-[UPLOAD]Can not upload data: create socket error
[W]-[UPLOAD]790 KB RAM
[W]-[UPLOAD]49 macs980/3631 Bytes
[W]-[socket.socket: too many sockets]
[E]-[http.response]falsecreate socket error
[E]-[UPLOAD]Can not upload data: create socket error
[W]-[UPLOAD]779 KB RAM
[W]-[UPLOAD]47 macs1009/3534 Bytes
[W]-[socket.socket: too many sockets]
[E]-[http.response]falsecreate socket error
[E]-[UPLOAD]Can not upload data: create socket error
[W]-[UPLOAD]770 KB RAM
[W]-[SETTINGS]version: 3504 Bytes
[W]-[socket.socket: too many sockets]
[E]-[http.response]falsecreate socket error
[E]-[SETTINGS]Can not synchronize settings: create socket error
[W]-[SETTINGS]779 KB RAM
[W]-[UPLOAD]66 macs1311/4890 Bytes
[W]-[socket.socket: too many sockets]
[E]-[http.response]falsecreate socket error
[E]-[UPLOAD]Can not upload data: create socket error
[W]-[UPLOAD]784 KB RAM
[W]-[UPLOAD]59 macs1126/4402 Bytes
[W]-[socket.socket: too many sockets]
[E]-[http.response]falsecreate socket error
[E]-[UPLOAD]Can not upload data: create socket error
[W]-[UPLOAD]789 KB RAM
lualibc_fopen_ext /ldata/settings.json r 0 1 2
socket.socket: too many sockets, 之前的请求还没来得及结束, 把socket数耗完了
如果觉得我的回答对您有用,请随意打赏。你的支持将鼓励我继续创作!