[bf1942] Server questions

Reinder P. Gerritsen reinder at strikerz.net
Tue Jul 1 02:02:41 EDT 2003


Exactly what OB are you using? I've sticked to OB5 because of stability
issues with 7, but if you are running the latest (OB7) patch, I believe
there are more people having issues. Apart from that, I haven't got a
clue on what is wrong...

-----Original Message-----
From: Darcy [mailto:darcy at imgaming.com] 
Sent: Tuesday, July 01, 2003 07:40
To: bf1942 at icculus.org
Subject: [bf1942] Server questions


Well, I just started out in hosting a BF server. Surprisingly enough, my
test connection at home on cable was getting quite popular. I had set up
a 16 player server, but the most I have ever seen on it was 12 people at
a time. For those that are interested, this is on a P3-866 Running
Slackware on a custom 2.4.21 kernel. The CPU usage when I was around was
about 30-40% (there were only 10 players on when i checked top) The
bandwidth was about 1Mbps combined (Just over 2/3 of it was uploads)
Really surprised that my cable line was doing so well.

So, where my problem lies is the constant amount of segmentation faults
i've been getting. I would come back minutes, or maybe even several
hours later to find it has segfaulted. I only have one map running in
the rotation (el_alamein), so I really have no idea what could be
causing this. Running an strace on the program gives this result,
repeating about 20-40 times per second:

time(NULL)                              = 1057036289
gettimeofday({1057036289, 51142}, NULL) = 0
select(1024, [55], NULL, NULL, {0, 0})  = 0 (Timeout) select(1024, [55],
NULL, NULL, {0, 0})  = 0 (Timeout) select(0, NULL, NULL, NULL, {0,
14000}) = 0 (Timeout) recvfrom(56, 0x89b76e0, 4096, 0, 0xbffff1e8,
0xbffff15c) = -1 EAGAIN (Resource temporarily unavailable)

(with the odd server query)

Is this supposed to be whipping by so fast, so often? In my experience
with a HL:CS server, this only cycled like once a second.

Since I started the strace a while ago, it still hasn't segfaulted, but
its usually when people start connecting.

Checked out the forums and the only conclusion I came to is that it's a
bug. Sound about right?

Darcy




More information about the Bf1942 mailing list