Le 19/12/2017 à 21:49, Warren Young a écrit :


If it’s a sign of a bug, then it means something very bad has
happened, like the network stack has lost track of its client
somehow.  To see that, you’d need to do a network capture on that
fossil instance’s network sockets.  Use netstat -nap or lsof -i to
find out which TCP ports those are.

There is now more than 24 subprocesses of Fossil running, and it’s getting really slow.

netstat -na | grep :8080

tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN
tcp 0 0 10.2.148.67:8080 125.46.156.43:59187 ESTABLISHED tcp 0 0 10.2.148.67:8080 175.42.2.225:51516 ESTABLISHED tcp 0 0 10.2.148.67:8080 41.243.10.196:17284 ESTABLISHED tcp 0 0 10.2.148.67:8080 182.138.162.53:64088 ESTABLISHED tcp 0 0 10.2.148.67:8080 125.119.221.109:33681 ESTABLISHED tcp 0 0 10.2.148.67:8080 221.13.12.222:34854 ESTABLISHED tcp 0 0 10.2.148.67:8080 93.121.232.186:57361 ESTABLISHED tcp 0 0 10.2.148.67:8080 92.145.13.163:38445 ESTABLISHED tcp 0 0 10.2.148.67:8080 92.145.13.163:38444 ESTABLISHED tcp 0 0 10.2.148.67:8080 109.129.203.110:63628 ESTABLISHED tcp 0 0 10.2.148.67:8080 45.79.223.204:41726 ESTABLISHED tcp 0 0 10.2.148.67:8080 221.13.12.26:38741 ESTABLISHED tcp 0 0 10.2.148.67:8080 112.80.138.198:54839 ESTABLISHED tcp 0 0 10.2.148.67:8080 106.114.63.0:17736 ESTABLISHED tcp 0 0 10.2.148.67:8080 93.121.232.186:58675 ESTABLISHED tcp 0 0 10.2.148.67:8080 182.138.158.40:36008 ESTABLISHED tcp 0 0 10.2.148.67:8080 112.64.209.135:44966 ESTABLISHED tcp 0 0 10.2.148.67:8080 114.221.126.160:64177 ESTABLISHED tcp 0 0 10.2.148.67:8080 37.170.252.107:19513 ESTABLISHED tcp 0 0 10.2.148.67:8080 124.235.138.25:64841 ESTABLISHED tcp 0 0 10.2.148.67:8080 221.13.12.209:50846 ESTABLISHED tcp 0 0 10.2.148.67:8080 139.227.182.157:55348 ESTABLISHED tcp 0 0 10.2.148.67:8080 37.170.252.107:19514 ESTABLISHED tcp 0 0 10.2.148.67:8080 66.249.64.74:61840 TIME_WAIT tcp 0 0 10.2.148.67:8080 109.129.203.110:63629 ESTABLISHED

After clicking on “timeline” on the web ui.

netstat -nap | grep :8080

(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 10468/fossil2 tcp 0 0 10.2.148.67:8080 125.46.156.43:59187 ESTABLISHED 10468/fossil2 tcp 0 0 10.2.148.67:8080 175.42.2.225:51516 ESTABLISHED 10474/fossil2 tcp 0 0 10.2.148.67:8080 41.243.10.196:17284 ESTABLISHED 20253/fossil2 tcp 0 0 10.2.148.67:8080 182.138.162.53:64088 ESTABLISHED 12334/fossil2 tcp 0 0 10.2.148.67:8080 125.119.221.109:33681 ESTABLISHED 12340/fossil2 tcp 0 0 10.2.148.67:8080 221.13.12.222:34854 ESTABLISHED 10477/fossil2 tcp 0 0 10.2.148.67:8080 93.121.232.186:57361 ESTABLISHED 25582/fossil2 tcp 0 0 10.2.148.67:8080 92.145.13.163:38445 ESTABLISHED 28559/fossil2 tcp 0 0 10.2.148.67:8080 46.246.61.162:5743 TIME_WAIT - tcp 0 0 10.2.148.67:8080 92.145.13.163:38444 ESTABLISHED 28558/fossil2 tcp 0 0 10.2.148.67:8080 109.129.203.110:63628 ESTABLISHED 15143/fossil2 tcp 0 0 10.2.148.67:8080 45.79.223.204:41726 ESTABLISHED 31100/fossil2 tcp 389 0 10.2.148.67:8080 46.246.61.162:5751 CLOSE_WAIT - tcp 0 0 10.2.148.67:8080 221.13.12.26:38741 ESTABLISHED 12341/fossil2 tcp 0 0 10.2.148.67:8080 112.80.138.198:54839 ESTABLISHED 10469/fossil2 tcp 388 0 10.2.148.67:8080 46.246.61.162:5754 ESTABLISHED - tcp 0 0 10.2.148.67:8080 106.114.63.0:17736 ESTABLISHED 12335/fossil2 tcp 0 0 10.2.148.67:8080 93.121.232.186:58675 ESTABLISHED 25581/fossil2 tcp 0 0 10.2.148.67:8080 182.138.158.40:36008 ESTABLISHED 10470/fossil2 tcp 0 0 10.2.148.67:8080 112.64.209.135:44966 ESTABLISHED 10471/fossil2 tcp 0 0 10.2.148.67:8080 114.221.126.160:64177 ESTABLISHED 12337/fossil2 tcp 0 0 10.2.148.67:8080 37.170.252.107:19513 ESTABLISHED 30076/fossil2 tcp 0 0 10.2.148.67:8080 124.235.138.25:64841 ESTABLISHED 10475/fossil2 tcp 0 0 10.2.148.67:8080 221.13.12.209:50846 ESTABLISHED 12333/fossil2 tcp 0 0 10.2.148.67:8080 139.227.182.157:55348 ESTABLISHED 12336/fossil2 tcp 389 0 10.2.148.67:8080 46.246.61.162:5752 CLOSE_WAIT - tcp 0 0 10.2.148.67:8080 37.170.252.107:19514 ESTABLISHED 30077/fossil2 tcp 0 0 10.2.148.67:8080 66.249.64.72:54688 TIME_WAIT - tcp 440 0 10.2.148.67:8080 46.246.61.162:5753 ESTABLISHED - tcp 0 0 10.2.148.67:8080 109.129.203.110:63629 ESTABLISHED 15144/fossil2

lsof -i

COMMAND   PID   USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
fossil2 10468 myuser 0u IPv4 42925675 0t0 TCP scw-f45a9f:http-alt->hn.kd.ny.adsl:59187 (ESTABLISHED) fossil2 10468 myuser 1u IPv4 42925675 0t0 TCP scw-f45a9f:http-alt->hn.kd.ny.adsl:59187 (ESTABLISHED) fossil2 10468 myuser 2u IPv4 42925675 0t0 TCP scw-f45a9f:http-alt->hn.kd.ny.adsl:59187 (ESTABLISHED)
fossil2 10468 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 10469 myuser 0u IPv4 42925676 0t0 TCP scw-f45a9f:http-alt->112.80.138.198:54839 (ESTABLISHED) fossil2 10469 myuser 1u IPv4 42925676 0t0 TCP scw-f45a9f:http-alt->112.80.138.198:54839 (ESTABLISHED) fossil2 10469 myuser 2u IPv4 42925676 0t0 TCP scw-f45a9f:http-alt->112.80.138.198:54839 (ESTABLISHED)
fossil2 10469 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 10470 myuser 0u IPv4 42925678 0t0 TCP scw-f45a9f:http-alt->182.138.158.40:36008 (ESTABLISHED) fossil2 10470 myuser 1u IPv4 42925678 0t0 TCP scw-f45a9f:http-alt->182.138.158.40:36008 (ESTABLISHED) fossil2 10470 myuser 2u IPv4 42925678 0t0 TCP scw-f45a9f:http-alt->182.138.158.40:36008 (ESTABLISHED)
fossil2 10470 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 10471 myuser 0u IPv4 42925679 0t0 TCP scw-f45a9f:http-alt->112.64.209.135:44966 (ESTABLISHED) fossil2 10471 myuser 1u IPv4 42925679 0t0 TCP scw-f45a9f:http-alt->112.64.209.135:44966 (ESTABLISHED) fossil2 10471 myuser 2u IPv4 42925679 0t0 TCP scw-f45a9f:http-alt->112.64.209.135:44966 (ESTABLISHED)
fossil2 10471 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 10474 myuser 0u IPv4 42925688 0t0 TCP scw-f45a9f:http-alt->175.42.2.225:51516 (ESTABLISHED) fossil2 10474 myuser 1u IPv4 42925688 0t0 TCP scw-f45a9f:http-alt->175.42.2.225:51516 (ESTABLISHED) fossil2 10474 myuser 2u IPv4 42925688 0t0 TCP scw-f45a9f:http-alt->175.42.2.225:51516 (ESTABLISHED)
fossil2 10474 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 10475 myuser 0u IPv4 42925700 0t0 TCP scw-f45a9f:http-alt->124.235.138.25:64841 (ESTABLISHED) fossil2 10475 myuser 1u IPv4 42925700 0t0 TCP scw-f45a9f:http-alt->124.235.138.25:64841 (ESTABLISHED) fossil2 10475 myuser 2u IPv4 42925700 0t0 TCP scw-f45a9f:http-alt->124.235.138.25:64841 (ESTABLISHED)
fossil2 10475 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 10477 myuser 0u IPv4 42925703 0t0 TCP scw-f45a9f:http-alt->221.13.12.222:34854 (ESTABLISHED) fossil2 10477 myuser 1u IPv4 42925703 0t0 TCP scw-f45a9f:http-alt->221.13.12.222:34854 (ESTABLISHED) fossil2 10477 myuser 2u IPv4 42925703 0t0 TCP scw-f45a9f:http-alt->221.13.12.222:34854 (ESTABLISHED)
fossil2 10477 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 12333 myuser 0u IPv4 42952323 0t0 TCP scw-f45a9f:http-alt->221.13.12.209:50846 (ESTABLISHED) fossil2 12333 myuser 1u IPv4 42952323 0t0 TCP scw-f45a9f:http-alt->221.13.12.209:50846 (ESTABLISHED) fossil2 12333 myuser 2u IPv4 42952323 0t0 TCP scw-f45a9f:http-alt->221.13.12.209:50846 (ESTABLISHED)
fossil2 12333 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 12334 myuser 0u IPv4 42952324 0t0 TCP scw-f45a9f:http-alt->182.138.162.53:64088 (ESTABLISHED) fossil2 12334 myuser 1u IPv4 42952324 0t0 TCP scw-f45a9f:http-alt->182.138.162.53:64088 (ESTABLISHED) fossil2 12334 myuser 2u IPv4 42952324 0t0 TCP scw-f45a9f:http-alt->182.138.162.53:64088 (ESTABLISHED)
fossil2 12334 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 12335 myuser 0u IPv4 42952325 0t0 TCP scw-f45a9f:http-alt->106.114.63.0:17736 (ESTABLISHED) fossil2 12335 myuser 1u IPv4 42952325 0t0 TCP scw-f45a9f:http-alt->106.114.63.0:17736 (ESTABLISHED) fossil2 12335 myuser 2u IPv4 42952325 0t0 TCP scw-f45a9f:http-alt->106.114.63.0:17736 (ESTABLISHED)
fossil2 12335 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 12336 myuser 0u IPv4 42952329 0t0 TCP scw-f45a9f:http-alt->139.227.182.157:55348 (ESTABLISHED) fossil2 12336 myuser 1u IPv4 42952329 0t0 TCP scw-f45a9f:http-alt->139.227.182.157:55348 (ESTABLISHED) fossil2 12336 myuser 2u IPv4 42952329 0t0 TCP scw-f45a9f:http-alt->139.227.182.157:55348 (ESTABLISHED)
fossil2 12336 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 12337 myuser 0u IPv4 42952331 0t0 TCP scw-f45a9f:http-alt->114.221.126.160:64177 (ESTABLISHED) fossil2 12337 myuser 1u IPv4 42952331 0t0 TCP scw-f45a9f:http-alt->114.221.126.160:64177 (ESTABLISHED) fossil2 12337 myuser 2u IPv4 42952331 0t0 TCP scw-f45a9f:http-alt->114.221.126.160:64177 (ESTABLISHED)
fossil2 12337 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 12340 myuser 0u IPv4 42952341 0t0 TCP scw-f45a9f:http-alt->125.119.221.109:33681 (ESTABLISHED) fossil2 12340 myuser 1u IPv4 42952341 0t0 TCP scw-f45a9f:http-alt->125.119.221.109:33681 (ESTABLISHED) fossil2 12340 myuser 2u IPv4 42952341 0t0 TCP scw-f45a9f:http-alt->125.119.221.109:33681 (ESTABLISHED)
fossil2 12340 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 12341 myuser 0u IPv4 42952345 0t0 TCP scw-f45a9f:http-alt->221.13.12.26:38741 (ESTABLISHED) fossil2 12341 myuser 1u IPv4 42952345 0t0 TCP scw-f45a9f:http-alt->221.13.12.26:38741 (ESTABLISHED) fossil2 12341 myuser 2u IPv4 42952345 0t0 TCP scw-f45a9f:http-alt->221.13.12.26:38741 (ESTABLISHED)
fossil2 12341 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 15143 myuser 0u IPv4 41819112 0t0 TCP scw-f45a9f:http-alt->109.129.203.110:63628 (ESTABLISHED) fossil2 15143 myuser 1u IPv4 41819112 0t0 TCP scw-f45a9f:http-alt->109.129.203.110:63628 (ESTABLISHED) fossil2 15143 myuser 2u IPv4 41819112 0t0 TCP scw-f45a9f:http-alt->109.129.203.110:63628 (ESTABLISHED)
fossil2 15143 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 15144 myuser 0u IPv4 41819113 0t0 TCP scw-f45a9f:http-alt->109.129.203.110:63629 (ESTABLISHED) fossil2 15144 myuser 1u IPv4 41819113 0t0 TCP scw-f45a9f:http-alt->109.129.203.110:63629 (ESTABLISHED) fossil2 15144 myuser 2u IPv4 41819113 0t0 TCP scw-f45a9f:http-alt->109.129.203.110:63629 (ESTABLISHED)
fossil2 15144 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 17876 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 20253 myuser 0u IPv4 39998491 0t0 TCP scw-f45a9f:http-alt->41.243.10.196:17284 (ESTABLISHED) fossil2 20253 myuser 1u IPv4 39998491 0t0 TCP scw-f45a9f:http-alt->41.243.10.196:17284 (ESTABLISHED) fossil2 20253 myuser 2u IPv4 39998491 0t0 TCP scw-f45a9f:http-alt->41.243.10.196:17284 (ESTABLISHED)
fossil2 20253 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 25581 myuser 0u IPv4 41473287 0t0 TCP scw-f45a9f:http-alt->client-adsl-93-121-232-186.mediaserv.net:58675 (ESTABLISHED) fossil2 25581 myuser 1u IPv4 41473287 0t0 TCP scw-f45a9f:http-alt->client-adsl-93-121-232-186.mediaserv.net:58675 (ESTABLISHED) fossil2 25581 myuser 2u IPv4 41473287 0t0 TCP scw-f45a9f:http-alt->client-adsl-93-121-232-186.mediaserv.net:58675 (ESTABLISHED)
fossil2 25581 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 25582 myuser 0u IPv4 41473288 0t0 TCP scw-f45a9f:http-alt->client-adsl-93-121-232-186.mediaserv.net:57361 (ESTABLISHED) fossil2 25582 myuser 1u IPv4 41473288 0t0 TCP scw-f45a9f:http-alt->client-adsl-93-121-232-186.mediaserv.net:57361 (ESTABLISHED) fossil2 25582 myuser 2u IPv4 41473288 0t0 TCP scw-f45a9f:http-alt->client-adsl-93-121-232-186.mediaserv.net:57361 (ESTABLISHED)
fossil2 25582 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 28558 myuser 0u IPv4 42059949 0t0 TCP scw-f45a9f:http-alt->AMontpellier-658-1-186-163.w92-145.abo.wanadoo.fr:38444 (ESTABLISHED) fossil2 28558 myuser 1u IPv4 42059949 0t0 TCP scw-f45a9f:http-alt->AMontpellier-658-1-186-163.w92-145.abo.wanadoo.fr:38444 (ESTABLISHED) fossil2 28558 myuser 2u IPv4 42059949 0t0 TCP scw-f45a9f:http-alt->AMontpellier-658-1-186-163.w92-145.abo.wanadoo.fr:38444 (ESTABLISHED)
fossil2 28558 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 28559 myuser 0u IPv4 42059950 0t0 TCP scw-f45a9f:http-alt->AMontpellier-658-1-186-163.w92-145.abo.wanadoo.fr:38445 (ESTABLISHED) fossil2 28559 myuser 1u IPv4 42059950 0t0 TCP scw-f45a9f:http-alt->AMontpellier-658-1-186-163.w92-145.abo.wanadoo.fr:38445 (ESTABLISHED) fossil2 28559 myuser 2u IPv4 42059950 0t0 TCP scw-f45a9f:http-alt->AMontpellier-658-1-186-163.w92-145.abo.wanadoo.fr:38445 (ESTABLISHED)
fossil2 28559 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 30076 myuser 0u IPv4 38169958 0t0 TCP scw-f45a9f:http-alt->37.170.252.107:19513 (ESTABLISHED) fossil2 30076 myuser 1u IPv4 38169958 0t0 TCP scw-f45a9f:http-alt->37.170.252.107:19513 (ESTABLISHED) fossil2 30076 myuser 2u IPv4 38169958 0t0 TCP scw-f45a9f:http-alt->37.170.252.107:19513 (ESTABLISHED)
fossil2 30076 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 30077 myuser 0u IPv4 38169959 0t0 TCP scw-f45a9f:http-alt->37.170.252.107:19514 (ESTABLISHED) fossil2 30077 myuser 1u IPv4 38169959 0t0 TCP scw-f45a9f:http-alt->37.170.252.107:19514 (ESTABLISHED) fossil2 30077 myuser 2u IPv4 38169959 0t0 TCP scw-f45a9f:http-alt->37.170.252.107:19514 (ESTABLISHED)
fossil2 30077 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)
fossil2 31100 myuser 0u IPv4 37527154 0t0 TCP scw-f45a9f:http-alt->research.findmalware.org:41726 (ESTABLISHED) fossil2 31100 myuser 1u IPv4 37527154 0t0 TCP scw-f45a9f:http-alt->research.findmalware.org:41726 (ESTABLISHED) fossil2 31100 myuser 2u IPv4 37527154 0t0 TCP scw-f45a9f:http-alt->research.findmalware.org:41726 (ESTABLISHED)
fossil2 31100 myuser    3u  IPv4 35083942      0t0  TCP *:http-alt (LISTEN)


It seems some connections are just never closed for some reason.


This is fossil version 2.2 [81d7d3f43e] 2017-04-11 20:54:55 UTC

Any particular reason you’re not running 2.4?  I don’t recall any
networking bugs being fixed in the past 2 releases, but who knows?

I didn’t use Fossil 2.3 because the SQLite version bundled was in beta stage. The version 2.4 was released the same day I reported this bug.


Regards,
Olivier
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to