#1 2012-11-23 23:05:19

X=X=X=X=X=X=X=X
Guest
Reputation: +11

Massive disconnections at start of each round !?

Tuia / other admins, feel free to delete this thread if you feel it is inappropriate for this forum

I run a BF1942 Origin server, and in the pre-game phase of almost every round, a huge amount of players ; 20 to 50 get disconnected in a period of less than ten seconds.

This is not players that deliberately disconnect, it's involuntary disconnections. 

It feels as if a resource / setting of the server hardware or software, can't handle all the players connecting to the server at the start of each new round.

Server hardware :

- A new modern home-PC
- strong CPU
- good motherboard
- fiber net connection

Software :

- Windows XP SP3 with all updates
- every network component running at default settings
- up to date proper drivers
- only non-win processes that run are BFSM and the BF1942 server
- 80 slots

    Positive reputation 0   Negative reputation 0

#2 2012-11-24 01:15:45

Zapp
Player
France
Reputation: +8
Location: Paris with love
Registered: 2012-07-05
Posts: 316

Re: Massive disconnections at start of each round !?

It must be cause of the win vista-7 config. There's a patch to fix that problem. Personnally I never have this trouble, but I used to have it, installed the patch tuia shared and no more problems.
If it's what you speak about...

Offline

    Positive reputation 0   Negative reputation 0

#3 2012-11-24 01:31:39

X=X=X=X=X=X=X=X
Guest
Reputation: +11

Re: Massive disconnections at start of each round !?

"vista-7 config", what do you mean? The server runs Windows XP.

    Positive reputation 0   Negative reputation 0

#4 2012-11-24 01:36:16

s[sk]
Rival
Slovakia
Reputation: +12
Registered: 2012-10-10
Posts: 1,227

Re: Massive disconnections at start of each round !?

X=X=X=X=X=X=X=X wrote:

"vista-7 config", what do you mean? The server runs Windows XP.

he probably means that bf1942 client crashes a lot on win7

how do they get disconnected?
do they get "disconnected" messagebox?

Offline

    Positive reputation 0   Negative reputation 0

#5 2012-11-24 02:14:59

X=X=X=X=X=X=X=X
Guest
Reputation: +11

Re: Massive disconnections at start of each round !?

I'm quite certain they all get the "DISCONNECTED FROM SERVER" message - if that is what you mean?




J7xdu.png




I get disconnected often at pre-game too from my server, and I think they all get disconnected in the same way as me, so I will try to catch some screens of the disconnection process tomorrow, plus see what the log says .... it has been disabled until now.

    Positive reputation 0   Negative reputation 0

#6 2012-11-24 02:46:41

s[sk]
Rival
Slovakia
Reputation: +12
Registered: 2012-10-10
Posts: 1,227

Re: Massive disconnections at start of each round !?

X=X=X=X=X=X=X=X wrote:

I get disconnected often at pre-game too from my server, and I think they all get disconnected in the same way as me, so I will try to catch some screens of the disconnection process tomorrow, plus see what the log says .... it has been disabled until now.

so you're on the server before the map changes and then when it does, you get disconnected?

Offline

    Positive reputation 0   Negative reputation 0

#7 2012-11-24 03:21:37

X=X=X=X=X=X=X=X
Guest
Reputation: +11

Re: Massive disconnections at start of each round !?

Yes.

All these disconnections that I refer to (as described in post # 1) happens to players that were IN the server and playing on a given map without issues. The round ends without problems and scoreboard and "loading, please wait" is shown. The server loads into next map and pre-game mode, and after about 20 seconds in pregame mode, there comes a period of about 10 seconds where 20 - 50 players get disconnected. I can see the numbers drop rapidly on the dedicated server screen.

I'm 100 % sure they get disconnected involuntarily. I have spoken to many of them, and they all say they get disconnected. Typically the population is 70 - IN THE PREGAME PHASE - and after the dropouts, 20 - 30 something .... still in pre-game This happens in 10 seconds.

And this goes on in about 50 % of all rounds.

Last edited by X=X=X=X=X=X=X=X (2012-11-24 03:35:03)

    Positive reputation 0   Negative reputation 0

#8 2012-11-24 03:30:22

bud
maestro
Reputation: +1842
Location: shangri la
Registered: 2012-07-07
Posts: 3,960
Website

Re: Massive disconnections at start of each round !?

Do you use custom made spawners?

Offline

    Positive reputation 0   Negative reputation 0

#9 2012-11-24 04:14:27

X=X=X=X=X=X=X=X
Guest
Reputation: +11

Re: Massive disconnections at start of each round !?

No, and I don't think the maps I use is the problem. I use the exact same maps on a Linux server, that don't have these issues.

    Positive reputation 0   Negative reputation 0

#10 2012-11-24 21:12:29

tuia
BFSoldier
Portugal
Reputation: +1152
Location: Lisbon
Registered: 2012-02-20
Posts: 6,412
Website

Re: Massive disconnections at start of each round !?

At the end of each map, all clients make a new connection to the server, probably something (home router?) is preventing all those new connections. To troubleshoot it, you would need to run a traffic analysis to gameport 14567 with Wireshark, for instance.
I recommend you use a Linux BF1942 server, since s[sk] has made publicly available his patched Linux server files for v1.612. Linux has much better network support than Windows.

Offline

    Positive reputation 0   Negative reputation 0

#11 2012-11-25 01:02:36

X=X=X=X=X=X=X=X
Guest
Reputation: +11

Re: Massive disconnections at start of each round !?

That's some good guessing Tuia, regarding the "home router" and you may very well be right. The server is connected to the fiber connection via a switch, maybe that's even worse? I actually bought a new switch to solve the problem three days ago, but it didn't make any difference.

To try and eliminate this hub/switch/router issue, I have ordered an adsl line that will be ready in four days, so that I will have two completely separate connections. The server will be directly connected to the fiber line as the only PC after that, with no hub/switch/routers.

If that won't help, I could run Win Server 2003 / 2008 etc. on the gameserver, maybe thats better? Already tried running Win 7, but it made the server run more laggy than XP, couldn't explain why.

Other possible solutions:

- I have another strong PC with a mobo that may have a better network interface that the current server's. I could switch to that one.

- Could switch to Linux. As a bonus I could copy Iptables.rules directly from my other Linux server. But i'm a total Linux noob, so going that way will be last resort.

    Positive reputation 0   Negative reputation 0

#12 2012-12-01 02:19:12

X=X=X=X=X=X=X=X
Guest
Reputation: +11

Re: Massive disconnections at start of each round !?

Looks like there's a software limit for certain kinds of connections in Win XP; a max of 10 per second. It may be what's affecting me.

The limit can be changed via hex-editing or patching .... gonna try it soon.



https://www.google.dk/search?num=100&hl … zzS9tr_8uM

https://www.google.dk/search?num=100&hl … u8ko_3GWXc

    Positive reputation 0   Negative reputation 0

#13 2012-12-01 03:02:09

nämeless
Semi-corrupt admin
Russia
Reputation: +2600
Location: Nizhny Novgorod, Russia
Registered: 2012-09-30
Posts: 9,767

Re: Massive disconnections at start of each round !?

X=X=X=X=X=X=X=X wrote:

Looks like there's a software limit for certain kinds of connections in Win XP; a max of 10 per second. It may be what's affecting me.

The limit can be changed via hex-editing or patching .... gonna try it soon.



https://www.google.dk/search?num=100&hl … zzS9tr_8uM

https://www.google.dk/search?num=100&hl … u8ko_3GWXc

http://half-open.com/

Offline

    Positive reputation 0   Negative reputation 0

#14 2012-12-01 03:03:42

s[sk]
Rival
Slovakia
Reputation: +12
Registered: 2012-10-10
Posts: 1,227

Re: Massive disconnections at start of each round !?

X=X=X=X=X=X=X=X wrote:

Looks like there's a software limit for certain kinds of connections in Win XP; a max of 10 per second. It may be what's affecting me.

The limit can be changed via hex-editing or patching .... gonna try it soon.



https://www.google.dk/search?num=100&hl … zzS9tr_8uM

https://www.google.dk/search?num=100&hl … u8ko_3GWXc

most of the links talk about tcp connections limit while here we have udp (+ udp is connectionless)

Offline

    Positive reputation 0   Negative reputation 0

#15 2012-12-01 03:09:31

X=X=X=X=X=X=X=X
Guest
Reputation: +11

Re: Massive disconnections at start of each round !?

Good point s[sk] ... I'm quite noobish regarding most network stuff smile

    Positive reputation 0   Negative reputation 0

#16 2012-12-04 00:14:23

X=X=X=X=X=X=X=X
Guest
Reputation: +11

Re: Massive disconnections at start of each round !?

Removed the switch four days ago. The server PC has since been directly connected to the plug from my fiber ISP. My other PCs are connected to a seperate ADSL line I got four days ago from another ISP. It didn't help.

Switching to Win 7 x86 tonight to see if that will fix the issue. Will try Win Server 2003, 2008 etc. too later.

If that won't help, i'll try switching to another PC, even though the current one is top-notch.

Other ideas; buying a server-grade network card. Maybe onboard NICs just aren't good enough for these kinds of tasks?

Last edited by X=X=X=X=X=X=X=X (2012-12-04 01:31:13)

    Positive reputation 0   Negative reputation 0

#17 2012-12-04 00:17:38

s[sk]
Rival
Slovakia
Reputation: +12
Registered: 2012-10-10
Posts: 1,227

Re: Massive disconnections at start of each round !?

*cough*just switch to linux finally*cough*

Offline

    Positive reputation 0   Negative reputation 0

#18 2012-12-04 00:54:27

tuia
BFSoldier
Portugal
Reputation: +1152
Location: Lisbon
Registered: 2012-02-20
Posts: 6,412
Website

Re: Massive disconnections at start of each round !?

Agree. s[sk] has made his BF1942 Linux server v1.612 files, which are a clear improvement over BF1942 Windows server v1.612, and you have a good dedicated Linux box in a datacenter available, it's a win-win decision. If what keeps you from changing to Linux, is not being confortable with command line, you can learn it. You are young and you can easily grasp the Linux basics, it's not that hard.

Offline

    Positive reputation 0   Negative reputation 0

#19 2012-12-04 01:42:37

X=X=X=X=X=X=X=X
Guest
Reputation: +11

Re: Massive disconnections at start of each round !?

/offtopic

I'm young? Lol, how do you know? Maybe I'm 50+, but thanks for the compliment :-)

/ontopic

Maybe Linux is better for running a 1942 server, maybe not. There are and have been a lot of succesful Windows servers that have hosted this game over the years without my kind of issues. But if all other fails I might switch to it. Hopefully 1942 Origin won't be dead at that point.

    Positive reputation 0   Negative reputation 0

#20 2012-12-05 20:34:56

X=X=X=X=X=X=X=X
Guest
Reputation: +11

Re: Massive disconnections at start of each round !?

Running Win 7 x86 now. The disconnection issue has been reduced a bit, but it's still there. I think i'm gonna try out Linux. Any recommended distros? Debian? Ubuntu?

    Positive reputation 0   Negative reputation 0

#21 2012-12-06 02:02:48

tuia
BFSoldier
Portugal
Reputation: +1152
Location: Lisbon
Registered: 2012-02-20
Posts: 6,412
Website

Re: Massive disconnections at start of each round !?

Hmm... don't use a home server. wink
Linux distros, I'm used to Debian and Ubuntu, so I recommend them.

Offline

    Positive reputation 0   Negative reputation 0

#22 2012-12-06 08:10:56

nämeless
Semi-corrupt admin
Russia
Reputation: +2600
Location: Nizhny Novgorod, Russia
Registered: 2012-09-30
Posts: 9,767

Re: Massive disconnections at start of each round !?

X=X=X=X=X=X=X=X wrote:

Running Win 7 x86 now. The disconnection issue has been reduced a bit, but it's still there. I think i'm gonna try out Linux. Any recommended distros? Debian? Ubuntu?

The finest example of user-friendly Linux.
http://www.ubuntu.com/download/server

... or this one, if you are freak and weirdo.
http://www.gentoo.org/main/en/where.xml

Last edited by nämeless (2012-12-06 08:14:34)

Offline

    Positive reputation 0   Negative reputation 0

#23 2012-12-06 18:06:17

X=X=X=X=X=X=X=X
Guest
Reputation: +11

Re: Massive disconnections at start of each round !?

Aha, there's a server Ubuntu version.... lol ... I'm so Linux ignorant smile Thanks nameless.

Gonna run the server with Win Server 2003, Win Vista, Win 8 the nest three days. This probably won't improve anything, and then I'll switch to that dreaded Linux stuff.

Also bought a new lowprice NIC

http://www.tp-link.com/en/products/deta … el=TG-3468

and ran the server with it instead of the mobo one, didn't help.

Will also buy this :

http://www.dell.com/us/enterprise/p/bro … 22-pcix/pd

And see if it helps ... just for fun.

Maybe buy a high grade cat6a+ cable? Current is a noname cat6.

Me, the newbie ignorant is full of useless stupid ideas, hah :-)

    Positive reputation 0   Negative reputation 0

#24 2012-12-06 21:33:48

bud
maestro
Reputation: +1842
Location: shangri la
Registered: 2012-07-07
Posts: 3,960
Website

Re: Massive disconnections at start of each round !?

I ran origin on windows xp for a while and as far as i know there wasnt any disconnects like the ones you describe, if you think its the network card causing it i would go for a quality card like Intel. It doesnt have to be newest and fastest but just stable.

Offline

    Positive reputation 0   Negative reputation 0

#25 2012-12-08 16:25:59

X=X=X=X=X=X=X=X
Guest
Reputation: +11

Re: Massive disconnections at start of each round !?

I'm considering buying a "server-grade" network card to use in my 1942 home pc server. The purpose is to reduce lag and maybe reduce pregame / ingame disconnections. Does it make sense or is it waste of money?

I currently use and switch between two NICs; onboard and a cheap pci-e card.

I know very little about network adapters, and I have no idea if a "good / server" NIC will improve anything, but i'd like to check it out.

Can anybody recommend a NIC for a 1942 home pc server? Max price = 200 Euros.

What about this:

https://www.google.com/#hl=da&safe=off& … 80&bih=670

http://intelethernet-dell.com/wp-conten … _adkit.pdf

    Positive reputation 0   Negative reputation 0

#26 2012-12-08 16:28:19

s[sk]
Rival
Slovakia
Reputation: +12
Registered: 2012-10-10
Posts: 1,227

Re: Massive disconnections at start of each round !?

X=X=X=X=X=X=X=X wrote:

I'm considering buying a "server-grade" network card to use in my 1942 home pc server. The purpose is to reduce lag and maybe reduce pregame / ingame disconnections. Does it make sense or is it waste of money?

i'd say waste of money

Offline

    Positive reputation 0   Negative reputation 0

#27 2012-12-08 17:06:48

X=X=X=X=X=X=X=X
Guest
Reputation: +11

Re: Massive disconnections at start of each round !?

thanks for the reply, noted, and taken into consideration :-)

    Positive reputation 0   Negative reputation 0

#28 2012-12-08 17:07:40

bud
maestro
Reputation: +1842
Location: shangri la
Registered: 2012-07-07
Posts: 3,960
Website

Re: Massive disconnections at start of each round !?

Try with linux first, make a test setup in virtuabox first if you are new to linux and need to learn how it works, testing different distros etc.

Offline

    Positive reputation 0   Negative reputation 0

#29 2013-01-15 00:18:57

Nathan Adhitya
Member
Indonesia
Reputation: +2
Registered: 2012-12-18
Posts: 668

Re: Massive disconnections at start of each round !?

ok nice posts everyone
i more recommend Cent OS First
use CentOS 6 32Bit
How many is your ram[Random Access Memory]?
is it your computer or is it shared computer?
try to install centos first go to command line try to update all of your files by typing this

yum -y update

and search on google how to install battlefield 1942 server on centos

Offline

    Positive reputation 0   Negative reputation 0

Board footer