Poll

Online file storage like Google Drive? (monthly prices)

50GB ($3.00)
41 (11.2%)
100GB ($4.50)
17 (4.7%)
250GB ($7.50)
10 (2.7%)
500GB ($12.50)
7 (1.9%)
750GB ($16)
6 (1.6%)
1TB ($20)
30 (8.2%)
2-8TB (proportional to 1TB price)
0 (0%)
8-16TB (proportional to 1TB price)
43 (11.8%)
Prices too high (READ)
44 (12.1%)
No desire
167 (45.8%)

Total Members Voted: 365

Author Topic: Kaphost Blockland Servers  (Read 656939 times)


This keeps happening because of morons who can't code and cause a ton of unclosed TCP connections to fill up. Among those responsible are the creators of the WHOIS mod (however not many people use it).

I was unaware the connections were remaining, when I was testing this, the onDisconnect() function was always called. I find it odd that problems are arising now, this has been running on some servers for several days now.
However, if this has been the cause, I thoroughly apologies for any problems caused by this.

Is that that BlockOS mod?

No, the app will be fine. Apparently the server-sided collection is causing problems

I was a little too quick to throw the blame on you guys, but it was one of the hosts with the most unclosed connections.

It could have been another mod causing this.


I recommend getting a program like TCPView or Cports to check the amount of connections.

doesn't netstat do the exact same thing?

doesn't netstat do the exact same thing?
Yeah.

I would actually recommend using Resource Monitor in Windows 7.

Any chance this error that I'm seeing all over the place is related?
Quote
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.

Also,
Quote
% ==> echo(tcpgroup.getcount());
% 27
% Radman: ?
% ==> echo(tcpgroup.getcount());
% 28
% ==> echo(tcpgroup.getcount());
% 29
% Radman: im dead
% Block55: wt
% ==> echo(tcpgroup.getcount());
% 30
% Pedro Duh-Husky: Nah
% ==> echo(tcpgroup.getcount());
% 31
% ==> echo(tcpgroup.getcount());
% 32
% ==> tcpgroup.listobjects();
%    4396,"EvalServer": TCPObject
%    4506,"authTCPobj_Server": TCPObject
%    60335,"Evalclient": TCPObject
%    47326,"Evalclient": TCPObject
%    44942,"Evalclient": TCPObject
%    49974,"Evalclient": TCPObject
%    68164,"Evalclient": TCPObject
%    72435,"Evalclient": TCPObject
%    46157,"Evalclient": TCPObject
%    53128,"Evalclient": TCPObject
%    54823,"Evalclient": TCPObject
%    45673,"Evalclient": TCPObject
%    64916,"servAuthTCPobj": TCPObject
%    47131,"Evalclient": TCPObject
%    57689,"Evalclient": TCPObject
%    66321,"Evalclient": TCPObject
%    52792,"Evalclient": TCPObject
%    52972,"Evalclient": TCPObject
%    68802,"Evalclient": TCPObject
%    57472,"Evalclient": TCPObject
%    71988,"servAuthTCPobj": TCPObject
%    65392,"servAuthTCPobj": TCPObject
%    65772,"Evalclient": TCPObject
%    67128,"servAuthTCPobj": TCPObject
%    67230,"Evalclient": TCPObject
%    68611,"servAuthTCPobj": TCPObject
%    68762,"Evalclient": TCPObject
%    68791,"Evalclient": TCPObject
%    68793,"Evalclient": TCPObject
%    68797,"Evalclient": TCPObject
%    68800,"Evalclient": TCPObject
%    72249,"postServerTCPObj": TCPObject
%    75276,"servAuthTCPobj": TCPObject
%    75415,"Evalclient": TCPObject
% ==> echo(tcpgroup.getcount());
% 35
Every time I eval something from the remote client, it seems to create a new TCP object without deleting it.

Edit: Oh, just a bit after doing that, I got this all at once:
Quote
Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
% Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect.
Then I checked it again:
Quote
==> echo(tcpgroup.getcount());
% 36
« Last Edit: April 09, 2012, 01:42:52 PM by -Jetz- »

Also,Every time I eval something from the remote client, it seems to create a new TCP object without deleting it.
This keeps happening because of morons who can't code and cause a ton of unclosed TCP connections to fill up.
Didn't Kalphiter make the remote client? :cookieMonster:

Didn't Kalphiter make the remote client? :cookieMonster:
Yeah. Strange thing is, the onDisconnect error comes up after the master server post, but it doesn't leave a lingering TCPobject. My best guess is that the disconnect really isn't working, and the connections are actually being closed when the object is deleted, which evidently isn't happening here. I don't have my copy of Blockland with me though, so I can't test much.

Add-Ons/System_ReturnToBlockland/support/networking.cs (319): Unknown command onDisconnect. is an RTB error, but it doesn't actually cause any problems. It happens because RTB packages/parents TCPObject::onDisconnect, which causes any TCPObjects that do not have ::onDisconnect to give an error. It's totally harmless.

Ah, well as I said, I can't test or look over much right now. My knowledge of TCPobjects is pretty limited, too.

doesn't netstat do the exact same thing?
Ok, the programs I listed can close those connections.


The connection on my server seems choppy for me, is that isp issue you mentioned still going on?

My server is currently undergoing massive lag spikes. Anyone else?

My server is currently undergoing massive lag spikes. Anyone else?
Yep.