[FUG-BR] Tentando migrar o manicomio-share pra FreeBSD - 3ª tentativa
Marcelo Gondim
gondim em bsdinfo.com.br
Terça Maio 12 08:54:27 BRT 2015
Bom dia à todos,
HAHAHa pois é estou aqui novamente tentando fazer essa proeza, que na
época das 2 primeiras tentativas ainda era o FreeBSD 9.x o stable. Hoje
ele roda em cima de Debian e estou novamente com um ambiente aqui para
tentar fazer essa bagaça rodar no FreeBSD. :)
O problema pelo visto são as milhares de requisições por segundo que é
feito pelo tracker. Site começa à entrar e então despenca. O load quando
inicio o apache vai à uns 400 e depois vai caindo e a única coisa que
vejo bastante nos logs é isso:
May 11 22:00:17 www kernel: sonewconn: pcb 0xfffff80060635188: Listen
queue overflow: 767 already in queue awaiting acceptance (14881 occurrences)
May 11 22:01:17 www kernel: sonewconn: pcb 0xfffff80060635188: Listen
queue overflow: 767 already in queue awaiting acceptance (51121 occurrences)
May 11 22:02:17 www kernel: sonewconn: pcb 0xfffff80060635188: Listen
queue overflow: 767 already in queue awaiting acceptance (58249 occurrences)
May 11 22:03:17 www kernel: sonewconn: pcb 0xfffff80060635188: Listen
queue overflow: 767 already in queue awaiting acceptance (60405 occurrences)
May 11 22:04:19 www kernel: sonewconn: pcb 0xfffff80377f61c40: Listen
queue overflow: 767 already in queue awaiting acceptance (36380 occurrences)
May 11 22:05:19 www kernel: sonewconn: pcb 0xfffff80377f61c40: Listen
queue overflow: 767 already in queue awaiting acceptance (19147 occurrences)
May 11 22:06:19 www kernel: sonewconn: pcb 0xfffff80377f61c40: Listen
queue overflow: 767 already in queue awaiting acceptance (58622 occurrences)
May 11 22:07:19 www kernel: sonewconn: pcb 0xfffff80377f61c40: Listen
queue overflow: 767 already in queue awaiting acceptance (52858 occurrences)
May 11 22:08:19 www kernel: sonewconn: pcb 0xfffff80377f61c40: Listen
queue overflow: 767 already in queue awaiting acceptance (54807 occurrences)
May 11 22:09:19 www kernel: sonewconn: pcb 0xfffff80377f61c40: Listen
queue overflow: 767 already in queue awaiting acceptance (61702 occurrences)
May 11 22:10:18 www kernel: sonewconn: pcb 0xfffff80377f61c40: Listen
queue overflow: 767 already in queue awaiting acceptance (57843 occurrences)
May 11 22:11:19 www kernel: sonewconn: pcb 0xfffff80377f61c40: Listen
queue overflow: 767 already in queue awaiting acceptance (64611 occurrences)
May 11 22:12:34 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (60650 occurrences)
May 11 22:13:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (25439 occurrences)
May 11 22:14:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (44406 occurrences)
May 11 22:15:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (66628 occurrences)
May 11 22:16:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (77971 occurrences)
May 11 22:17:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (85202 occurrences)
May 11 22:18:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (84189 occurrences)
May 11 22:19:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (90504 occurrences)
May 11 22:20:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (100342
occurrences)
May 11 22:21:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (101364
occurrences)
May 11 22:22:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (100651
occurrences)
May 11 22:23:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (86571 occurrences)
May 11 22:24:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (88348 occurrences)
May 11 22:25:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (96432 occurrences)
May 11 22:26:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (96487 occurrences)
May 11 22:27:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (99970 occurrences)
May 11 22:28:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (105325
occurrences)
May 11 22:29:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (92724 occurrences)
May 11 22:30:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (92427 occurrences)
May 11 22:31:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (90381 occurrences)
May 11 22:32:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (65626 occurrences)
May 11 22:33:38 www kernel: sonewconn: pcb 0xfffff80089033498: Listen
queue overflow: 767 already in queue awaiting acceptance (48375 occurrences)
Tentei aumentar o kern.ipc.somaxconn mas não adiantou. Alguém tem uma
ideia sobre isso acima? Estou catando aqui Google alguma esperança.
Porque dia 20 mudaremos de Datacenter e se até lá não conseguir fazer
isso funcionar, vou ter que apelar novamente para o Debian rsrsrsrsr
Hoje está instalado o mariadb 10.0 + apache 2.2 + memcached. O Freeba é
esse aqui:
FreeBSD www.manicomio-share.com 10.1-STABLE FreeBSD 10.1-STABLE #0
r281836: Wed Apr 29 12:21:07 BRT 2015
root em www.manicomio-share.com:/usr/obj/usr/src/sys/MS amd64
[]s
Mais detalhes sobre a lista de discussão freebsd