problem description
epoll_wait occasionally takes a long time
the environmental background of the problems and what methods you have tried
strace trace
related codes
/ / Please paste the code text below (do not replace the code with pictures)
21605 0.000043 semop(38830083, {{0, -1, SEM_UNDO}}, 1) = 0
21605 0.611909 epoll_wait(30, {{EPOLLIN, {u32=25218632, u64=25218632~~~, 4, 10000) = 1
21605 0.103429 accept4(3, {sa_family=AF_INET, sin_port=htons(56826), sin_addr=inet_addr("ip address")}, [16], SOCK_CLOEXEC) = 33
21605 0.000059 semop(38830083, {{0, 1, SEM_UNDO}}, 1) = 0
what result do you expect? What is the error message actually seen?
has got the answer, thanks to Han Da.
https://wiki.swoole.com/wiki/...