openspy / openspy-core

132 stars 21 forks source link

UT server list sent awful slow #12

Open SeriousBuggie opened 10 months ago

SeriousBuggie commented 10 months ago

Reproduce:

  1. Try get UT server list from master.openspy.net:28900 via some tool or even usual UT client, when where set only this master server.

Expected result: IP list send instant. Actual result: IP List send slowly as hell, Sometimes it 7 seconds, sometimes 30 (!) seconds. Also it send basically in parts, when other servers send it as one huge packet.

Example:

array (
  'master.333networks.com:28900' => 'IPs: 629, unique: 587, time: 0.33850002288818',
  'master.hlkclan.net:28900' => 'fail',
  'master.oldunreal.com:28900' => 'IPs: 588, unique: 588, time: 0.26899981498718',
  'master.errorist.eu:28900' => 'IPs: 568, unique: 568, time: 0.45250010490417',
  'master.hypercoop.tk:28900' => 'IPs: 93, unique: 93, time: 0.43650007247925',
  'master.openspy.net:28900' => 'IPs: 273, unique: 273, time: 30.451999902725',
  'master.gonespy.com:28900' => 'fail',
  'master.telefragged.com:28900' => 'fail',
  'master.qtracker.com:28900' => 'fail',
  'master.newbiesplayground.net:28900' => 'IPs: 588, unique: 588, time: 0.31150007247925',
  'master2.oldunreal.com:28900' => 'fail',
  'master-uk.unrealarchive.org:28900' => 'IPs: 587, unique: 587, time: 0.5699999332428',
  'master-de.unrealarchive.org:28900' => 'IPs: 586, unique: 586, time: 0.3895001411438',
  'master.frag-net.com:28900' => 'IPs: 2, unique: 2, time: 0.61949992179871',
)

Log of load. Each new line is separate packet:

try master.openspy.net:28900...
Get: \basic\\secure\iYtciO
Secure: iYtciO, answer: 0wqusEe5
Get: \ip\77.68.7.190:2223
Get: \ip\74.91.124.251:7768
Get: \ip\77.68.7.190:10000\ip\136.53.56.188:5556\ip\176.9.104.176:2311
Get: \ip\172.104.20.248:7778
Get: \ip\74.91.126.129:7778
Get: \ip\74.103.37.30:7778\ip\67.81.48.80:7778\ip\104.236.165.29:7778\ip\185.17.255.62:5556\ip\217.160.15.154:7476
Get: \ip\144.91.110.67:7778\ip\70.42.74.157:7778
Get: \ip\70.42.74.153:7778
Get: \ip\69.14.158.72:7781\ip\45.61.53.244:7879
Get: \ip\45.61.53.244:7778
Get: \ip\75.43.140.254:7728\ip\23.92.16.218:7778\ip\77.251.108.133:7778
Get: \ip\139.162.235.20:7778\ip\45.76.62.140:10778\ip\185.27.135.168:7778\ip\103.125.218.31:3334
Get: \ip\173.255.200.194:7851\ip\193.8.173.191:7778\ip\185.140.253.169:7778\ip\51.255.172.183:7778
Get: \ip\3.72.76.187:7778\ip\142.54.179.59:7778\ip\114.23.116.48:7778\ip\74.91.115.144:3701
Get: \ip\69.14.158.72:7831
Get: \ip\45.79.57.123:7778\ip\152.208.16.143:7708
Get: \ip\194.116.82.3:8789\ip\95.211.222.135:7828\ip\100.14.160.71:7001
Get: \ip\107.170.97.251:7778\ip\75.43.140.254:7748
Get: \ip\93.186.199.167:3001
Get: \ip\217.160.15.154:7976\ip\121.99.241.203:7783\ip\71.244.121.234:7778\ip\80.60.225.249:7778
Get: \ip\68.232.163.100:7778\ip\74.91.126.62:7778
Get: \ip\99.8.13.78:7978\ip\24.201.238.202:7778\ip\47.223.80.43:7778\ip\64.94.100.181:7778\ip\72.5.195.116:7778
Get: \ip\45.77.80.183:7778\ip\91.121.80.54:7778\ip\94.23.248.87:7778
Get: \ip\24.11.96.209:7778\ip\69.14.158.72:7791\ip\121.99.241.203:7761\ip\172.105.251.124:7778
Get: \ip\109.74.199.39:7778\ip\47.199.182.4:2041
Get: \ip\3.139.132.236:7778\ip\176.9.113.171:7778\ip\37.153.1.43:7778
Get: \ip\68.232.164.232:7778
Get: \ip\63.251.20.50:7778
Get: \ip\104.180.34.226:7778
Get: \ip\64.227.18.147:7778
Get: \ip\81.169.128.208:7800
Get: \ip\37.153.1.43:8878
Get: \ip\75.43.140.254:7758
Get: \ip\103.125.218.31:1112\ip\136.53.56.188:7778
Get: \ip\138.255.35.67:7778
Get: \ip\173.230.130.223:7878\ip\136.244.115.177:7278\ip\31.186.251.18:7778\ip\35.158.181.30:7778
Get: \ip\70.42.74.245:7778\ip\8.26.21.89:3002\ip\143.47.232.211:7778
Get: \ip\51.68.203.88:7778
Get: \ip\8.26.21.89:7778\ip\47.199.182.4:1041
Get: \ip\195.128.102.85:7001
Get: \ip\65.108.64.228:7778
Get: \ip\18.192.135.239:7778\ip\172.104.226.224:7778\ip\144.24.150.73:7778
Get: \ip\176.9.113.171:3001\ip\173.199.84.146:7778\ip\173.230.130.223:6667
Get: \ip\75.43.140.254:7738\ip\85.214.243.170:7278\ip\121.99.241.203:7779
Get: \ip\82.65.210.149:3334
Get: \ip\149.56.22.9:7778
Get: \ip\74.91.115.144:3520
Get: \ip\66.23.200.107:7788
Get: \ip\94.240.52.64:7778\ip\121.99.241.203:2278\ip\23.94.143.21:8889
Get: \ip\177.71.106.176:7778\ip\45.32.166.47:7778
Get: \ip\135.125.194.37:7778\ip\63.251.20.60:7778
Get: \ip\206.253.136.40:7778
Get: \ip\217.160.15.154:7776
Get: \ip\151.80.58.241:7778
Get: \ip\51.195.4.80:7788
Get: \ip\98.11.72.172:7778
Get: \ip\144.202.59.41:7778\ip\66.85.80.155:7889\ip\213.230.216.2:7778
Get: \ip\213.230.216.4:8101\ip\45.61.53.244:6667\ip\37.153.1.43:7878
Get: \ip\64.176.7.77:7078\ip\173.230.130.223:7778\ip\173.230.132.25:7778
Get: \ip\45.128.69.249:7778\ip\65.108.3.158:8856\ip\65.108.3.158:6667
Get: \ip\107.173.89.107:7778
Get: \ip\96.21.162.156:7778
Get: \ip\51.81.1.188:7788
Get: \ip\8.26.21.89:7002
Get: \ip\121.200.8.51:7778
Get: \ip\45.61.53.244:2268\ip\103.125.218.31:2223\ip\192.155.95.63:7878
Get: \ip\149.28.237.150:7778\ip\150.136.154.81:7778
Get: \ip\70.110.146.101:7778\ip\114.23.116.15:7778\ip\27.100.36.24:7999
Get: \ip\217.76.52.175:7778\ip\185.107.96.64:7778\ip\121.99.241.203:2251
Get: \ip\176.9.113.171:1001\ip\173.255.200.194:7778\ip\65.108.64.228:7787\ip\192.223.31.70:7778
Get: \ip\142.54.179.62:7801
Get: \ip\95.216.157.11:7778\ip\108.61.238.66:7778
Get: \ip\74.91.122.9:7748\ip\146.71.77.95:7778\ip\74.91.122.165:8003
Get: \ip\66.85.80.155:7798\ip\152.208.16.143:7788\ip\34.247.32.40:7778
Get: \ip\217.160.15.154:7576
Get: \ip\176.58.120.227:7778
Get: \ip\82.214.101.158:7778\ip\149.28.237.150:8878\ip\87.208.85.7:7778\ip\121.99.241.203:2289\ip\131.255.230.150:7778\ip\64.176.7.77:7278
Get: \ip\152.208.16.143:5556\ip\121.99.241.203:2161\ip\45.77.59.111:2267\ip\216.240.134.107:27026\ip\108.61.125.164:7778\ip\185.17.255.62:7778\ip\140.186.0.77:8889\ip\109.74.199.39:1112\ip\176.9.113.171:4001\ip\103.125.218.185:7879\ip\60.225.229.166:7778\ip\142.54.179.61:7778
Get: \ip\185.70.107.18:7778\ip\98.128.174.153:7778\ip\213.172.148.10:17206\ip\142.54.179.59:7901\ip\68.252.245.207:7778\ip\5.181.134.154:7778\ip\176.58.120.227:8889\ip\45.56.96.69:7778\ip\186.233.187.118:7778\ip\45.236.129.124:1235\ip\185.17.255.81:5556\ip\213.230.216.2:10000\ip\109.230.215.13:7798\ip\24.245.192.13:7878\ip\46.4.48.226:7778
Get: \ip\121.99.241.203:7793\ip\191.113.94.90:7778\ip\123.193.214.65:7778\ip\173.255.196.28:7778\ip\206.217.207.136:7778\ip\3.75.150.156:7778\ip\77.68.7.190:7761\ip\97.107.140.81:7778\ip\47.223.80.43:7787\ip\213.230.216.2:8889\ip\144.202.62.90:7778\ip\68.232.172.227:7778\ip\195.98.73.166:6667\ip\95.179.199.219:7778
Get: \ip\192.223.24.6:7778\ip\173.199.74.201:7778\ip\77.68.7.190:4445\ip\81.169.243.28:7778\ip\79.207.108.15:7778\ip\121.99.241.203:2245\ip\91.224.117.101:7778\ip\94.208.197.152:7778\ip\184.71.170.154:7778\ip\69.14.158.72:7801\ip\176.9.104.176:3001
Get: \ip\51.174.170.148:7778\ip\37.153.1.43:8978\ip\104.131.203.184:7778\ip\139.162.210.13:7778\ip\31.186.251.45:7778\ip\66.85.80.155:8899\ip\173.255.200.194:7811\ip\192.111.155.210:7778\ip\142.54.179.62:7778\ip\173.199.111.57:7778\ip\66.85.80.155:8889\ip\5.181.134.237:7778\ip\18.195.217.197:7778\ip\217.160.15.154:7876\ip\66.85.80.155:7778\ip\51.38.79.21:7783\ip\193.115.113.92:7778\ip\71.12.229.41:7778
Get: \ip\85.10.149.153:7778\ip\109.234.36.147:7776\ip\74.91.124.251:7728\ip\186.137.54.176:12378\ip\66.150.155.205:7778\ip\108.61.238.93:7778\ip\74.91.113.74:7778\ip\66.150.188.241:7778\ip\143.42.213.114:7778\ip\45.77.59.111:7778\ip\99.8.13.78:7778\ip\195.98.73.166:7778\ip\85.167.160.88:7778\ip\178.46.158.46:7778
Get: \ip\185.107.96.18:7778\ip\103.125.218.185:7778\ip\155.138.233.29:7778\ip\217.79.187.6:7778\ip\45.63.111.199:7278\ip\37.153.1.43:9978\ip\8.26.21.89:8002\ip\51.75.247.107:7778\ip\142.54.179.60:7778\ip\178.254.36.248:7778
Get: \ip\150.136.246.93:7778\ip\94.130.142.237:8316\ip\114.23.116.2:7778\ip\195.98.73.166:5556\ip\192.99.0.109:7778\ip\54.37.138.5:7778\ip\37.153.1.43:9078\ip\172.251.164.49:7778\ip\136.53.56.188:6667\ip\185.17.255.81:7778\ip\92.223.109.18:7778\ip\217.160.15.154:7676
Get: \ip\185.117.116.218:7778\ip\96.65.68.203:7778\ip\64.94.238.23:7778\ip\74.91.123.53:7778\ip\68.134.99.215:7780\ip\151.236.216.75:7778\final\
Loaded 273

I even suspect there each server come in own packet, so it make huge overhead.

SeriousBuggie commented 10 months ago

Issue solved. Check 5 times. Numbers under 1-2 seconds, and match other servers.

array (
  'master.333networks.com:28900' => 'IPs: 634, unique: 593, time: 0.40700006484985',
  'master.hlkclan.net:28900' => 'fail',
  'master.oldunreal.com:28900' => 'IPs: 591, unique: 591, time: 0.21499991416931',
  'master.errorist.eu:28900' => 'IPs: 566, unique: 566, time: 0.54100012779236',
  'master.hypercoop.tk:28900' => 'IPs: 91, unique: 91, time: 0.43549990653992',
  'master.openspy.net:28900' => 'IPs: 306, unique: 306, time: 0.54800009727478',
  'master.gonespy.com:28900' => 'IPs: 305, unique: 305, time: 0.63349986076355',
  'master.telefragged.com:28900' => 'fail',
  'master.qtracker.com:28900' => 'fail',
  'master.newbiesplayground.net:28900' => 'IPs: 591, unique: 591, time: 0.21399998664856',
  'master2.oldunreal.com:28900' => 'fail',
  'master-uk.unrealarchive.org:28900' => 'IPs: 592, unique: 592, time: 0.30749988555908',
  'master-de.unrealarchive.org:28900' => 'fail',
  'master.frag-net.com:28900' => 'IPs: 2, unique: 2, time: 0.97449994087219',
)

Also look like it now server in single packet, or at least come all at once.