Jump to content
Sign in to follow this  
instynct

Random Disconnection on server

Recommended Posts

I setup my server today, my server has amazing specs ($200 /month server). Anyways I've noticed after a few hours there will be random disconnects for everyone on the server and the only way to resolve is to restart the entire server, and a few hours later it's happening again. Does anyone know why this is happening and a different solution? Btw my server has a 1gps port.

EDIT

I figured out it's happening when more than 1 person is trying to connect to the server at the same time.

Edited by Andromeda

Share this post


Link to post
Share on other sites

I'm currently having random lag sessions around every 20-30 minutes, server will completely loose connection to the hive for around 1-2 minutes and a few players start to loose connection. Heard it could be a 1.7.2.3 issue, I'm just hoping it fixes itself soon.

Share this post


Link to post
Share on other sites

I'm currently having random lag sessions around every 20-30 minutes, server will completely loose connection to the hive for around 1-2 minutes and a few players start to loose connection. Heard it could be a 1.7.2.3 issue, I'm just hoping it fixes itself soon.

Yeah that's exactly what's happening, glad to see it's not my server.

Share this post


Link to post
Share on other sites
Guest

Hm, I can safely say this is not happening on any of my dedicated servers. How many slots are ya'll running? Could you paste your exact specs? Also, do your log files reveal anything? Paste the disconnect codes you get here please!

Edited by Guest

Share this post


Link to post
Share on other sites

Found exactly where it was in my log files earlier, will take a little while to find now, I'll edit once I've found one of many. I'm glad I'm not the only one too.


18:56:20 "UPDATE: [B 1-2-A:1 (samp) REMOTE,[],false]"
18:56:20 "HIVE: WRITE: "CHILD:201:16278854:[]:[]:[]:[]:false:false:0:0:0:0:["Makarov","aidlpknlmstpsraswpstdnon_player_idlesteady02",42]:0:0::0:" / 16278854"
18:56:20 "WRITE: ['PASS']"
18:56:22 Server: Network message 1c62c5a is pending
18:56:22 Server: Network message 1c62d8f is pending
[b]+ about 100 other lines similar removed.[/b]
18:56:22 Server: Network message 1c62f43 is pending
18:56:24 "UPDATE: [B 1-2-I:1 (Jimmy Carter) REMOTE,[],false]"
18:56:24 "HIVE: WRITE: "CHILD:201:15121179:[]:[]:[]:[]:false:false:0:0:0:1:["Makarov","aidlpknlmstpsraswpstdnon_player_idlesteady02",42]:0:0::0:" / 15121179"
18:56:24 "WRITE: ['PASS']"


18:39:18 "LOGIN PUBLISHING: B 1-2-A:1 (Steph) REMOTE Type: SurvivorW2_DZ"
18:39:18 "player43777478 = myObj"
18:39:20 "UPDATE: [<NULL-object>,[],true]"
18:39:20 "ERROR: Cannot Sync Character Error: No vehicle has nil characterID"
18:39:22 Server: Network message 1a85041 is pending
[b]+ 100+ lines removed consisting of the similar message.[/b]
18:39:22 Server: Network message 1a85468 is pending
18:39:26 "UPDATE: [B 1-2-L:1 (Ville) REMOTE,


18:08:28 "LOGIN PUBLISHING: B 1-1-E:1 (Aurora-One) REMOTE Type: Survivor2_DZ"
18:08:28 "player91522 = myObj"
18:08:31 Server: Network message 16e6257 is pending
[b]100 + lines removed.[/b]
18:08:32 Server: Network message 16e6d0b is pending
18:08:32 "UPDATE: [B 1-2-M:1 (Malcolm) REMOTE,[],false]"

The connection to the hive just hangs for a few seconds, disconnects any rcon programs as well as not being visible on the server list during the lag session.

Edited by LiamFrazer

Share this post


Link to post
Share on other sites

My server specs are very high,Xeon E3-1230 @ 3.20 ghz, 8gb RAM, 2TB HDD, 1GBit Dedicated Port. It was @ 100 slots but I lowered to 64 slots but still the same issue.

Edited by Andromeda

Share this post


Link to post
Share on other sites
Guest

My server specs are very high,Xeon E3-1230 @ 3.20 ghz, 8gb RAM, 2TB HDD, 1GBit Dedicated Port. It was @ 100 slots but I lowered to 64 slots but still the same issue.

You can't run a 100 slot server. I have better specs than you on one of my machines and it can't handle anything above 75, because the software is limited in how it's programmed as to how many players it can smoothly handle at once.

But yea, send me those errors and I'll see what I can do.

Share this post


Link to post
Share on other sites

Posted just three examples from mine, as you can see they're constant, when logging in during one of these lag stages it will be unlikely that you'll make it through the loading screens.

Share this post


Link to post
Share on other sites
Guest

Ok, yea; you can't have that many slots and not expect problems on default settings. You'll need to config the proper ARMA2 server, client, and network settings if you want to run anything over 50 slots.

Share this post


Link to post
Share on other sites

You can't run a 100 slot server. I have better specs than you on one of my machines and it can't handle anything above 75, because the software is limited in how it's programmed as to how many players it can smoothly handle at once.

But yea, send me those errors and I'll see what I can do.

Yeah but I haven't had more than 50 players, and it was doing this even at 20-30 players. What are your server specs.

I have already adjusted bandwidth settings for my 1gbit port.

Edited by Andromeda

Share this post


Link to post
Share on other sites
Guest

Yeah but I haven't had more than 50 players, and it was doing this even at 20-30 players. What are your server specs.

I have already adjusted bandwidth settings for my 1gbit port.

That's a good start. But make sure you did it correctly, use this formula:

MinBandwidth = 256KB * max players

MaxBandwidth = 512KB * max players

^ This works very well because very few players will ever need to use more than 512KB, Most players normally use 5-13kb when playing in game but that'll spike up on certain events such as players joining or when downloading content. If you just set your max/min bandwidth to 1GB, your server is going to send way more packets than will ever be received by players, which can cause stability issues.

Edited by Guest

Share this post


Link to post
Share on other sites

That's a good start. But make sure you did it correctly, use this formula:

MinBandwidth = 256KB * max players

MaxBandwidth = 512KB * max players

^ This works very well because very few players will ever need to use more than 512KB, Most players normally use 5-13kb when playing in game but that'll spike up on certain events such as players joining or when downloading content. If you just set your max/min bandwidth to 1GB, your server is going to send way more packets than will ever be received by players, which can cause stability issues.

So yeah in reality my port should be able to handle 100 players fine.

Edited by Andromeda

Share this post


Link to post
Share on other sites
Guest

The bandwidth is measured in bits though right? So 512kbits or 512kbytes

Yup, it's all in bits. So the value you get after multiplying those numbers will be the kila-bits, so just multiply it again by 1000 to get the bits.

Share this post


Link to post
Share on other sites

Yup, it's all in bits. So the value you get after multiplying those numbers will be the kila-bits, so just multiply it again by 1000 to get the bits.

Are you sure? 512kbits is very small, you sure people aren't transfering at 512 kilobytes? So most people transfer at max of 64 kilobytes on this game?

Edited by Andromeda

Share this post


Link to post
Share on other sites
Guest

Are you sure? 512kbits is very small, you sure people aren't transfering at 512 kilobytes?

You should end up with a min/max bandwidth of about 30mb/60mb depending on your player count ._.

Share this post


Link to post
Share on other sites

You should end up with a min/max bandwidth of about 30mb/60mb depending on your player count ._.

Yeah so it has to be 512 kilobytes because 512 kilobits would only be like 6 megabytes for 100 people (50mbits).

Edited by Andromeda

Share this post


Link to post
Share on other sites
Guest

Yeah so it has to be 512 kilobytes because kilobits would only be like 6 megabytes for 100 people.

Oh dear I'm so sorry, I'm tired lol. You're correct, I didn't realize what I had typed. Yes, you multiply it by KILO-BYTES then convert it to get the min/max in bits.

Share this post


Link to post
Share on other sites

Also I figured out it's happening when multiple people are trying to connect at the same time.

Share this post


Link to post
Share on other sites

Also I figured out it's happening when multiple people are trying to connect at the same time.

It is normally a lot worse just after a restart when the players start piling back in, but I believe I'm still getting it even when no one is trying to connect, I'll create a topic with the whole log in in a minute,.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×