%20es%20lento%20con%20Apache%3F.png)
Estoy ejecutando un sitio web en Apache2 y noté que la primera parte siempre tarda en llegar.
Intenté diagnosticar el problema strace
y descubrí que accept4()
cada solicitud es lenta.
Debajo del rastro. ¿Cuál podría ser la causa de eso?
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