Warum ist accept4() mit Apache langsam?

Warum ist accept4() mit Apache langsam?

Ich betreibe eine Website auf Apache2 und mir ist aufgefallen, dass der erste Teil immer langsam kommt.

Ich habe versucht, das Problem zu diagnostizieren straceund habe festgestellt, dass es accept4()bei jeder Anfrage langsam ist.
Unten die Spur. Was könnte die Ursache dafür sein?

0.000120 accept4(4, {sa_family=AF_INET6, sin6_port=htons(36300), inet_pton(AF_INET6, "::ffff:127.0.0.1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28], SOCK_CLOEXEC) = 13
2.320681 getsockname(13, {sa_family=AF_INET6, sin6_port=htons(8090), inet_pton(AF_INET6, "::ffff:127.0.0.1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 0
0.000148 fcntl(13, F_GETFL)        = 0x2 (flags O_RDWR)
0.000063 fcntl(13, F_SETFL, O_RDWR|O_NONBLOCK) = 0

verwandte Informationen