PDA

View Full Version : FreeBSD 5.2.1-p10 Cstrike Source server


rjerina
12-22-2004, 12:17 PM
I am running a server on FreeBSD 5.2.1-p10

It's a counter-strike source server with 32 players max. Just about every day it crashes when it is full and it's making me very angry.

here is my debug.log:

----------------------------------------------
CRASH: Sun Dec 19 23:06:20 CST 2004
Start Line: ./srcds_i686 +maxplayers 32 +map cs_office +ip 69.93.231.206 +port 27015 +log on -autoupdate -debug -game cstrike
Core was generated by `srcds_i686'.
Program terminated with signal 11, Segmentation fault.
#0 0x2851d075 in CSteamServerAuth::RunFrame() () from /usr/home/hlserver/csc/./bin/engine_i686.so
#0 0x2851d075 in CSteamServerAuth::RunFrame() () from /usr/home/hlserver/csc/./bin/engine_i686.so
#1 0x097434c8 in ?? ()
#2 0x00000006 in ?? ()
#3 0x097434c8 in ?? ()
End of Source crash report
----------------------------------------------
----------------------------------------------
CRASH: Tue Dec 21 00:52:01 CST 2004
Start Line: ./srcds_i686 +maxplayers 32 +map cs_office +ip 69.93.231.206 +port 27015 +log on -autoupdate -debug -game cstrike
Core was generated by `srcds_i686'.
Program terminated with signal 11, Segmentation fault.
#0 0x2851d075 in CSteamServerAuth::RunFrame() () from /usr/home/hlserver/csc/./bin/engine_i686.so
#0 0x2851d075 in CSteamServerAuth::RunFrame() () from /usr/home/hlserver/csc/./bin/engine_i686.so
#1 0x09cf9270 in ?? ()
#2 0x00000003 in ?? ()
#3 0x09cf9270 in ?? ()
End of Source crash report
----------------------------------------------
----------------------------------------------
CRASH: Tue Dec 21 05:12:28 CST 2004
Start Line: ./srcds_i686 +maxplayers 32 +map cs_office +ip 69.93.231.206 +port 27015 +log on -autoupdate -debug -game cstrike
Core was generated by `srcds_i686'.
Program terminated with signal 11, Segmentation fault.
#0 0x2851d075 in CSteamServerAuth::RunFrame() () from /usr/home/hlserver/csc/./bin/engine_i686.so
#0 0x2851d075 in CSteamServerAuth::RunFrame() () from /usr/home/hlserver/csc/./bin/engine_i686.so
#1 0x09cf9270 in ?? ()
#2 0x00000003 in ?? ()
#3 0x09cf9270 in ?? ()
End of Source crash report
----------------------------------------------
----------------------------------------------
CRASH: Wed Dec 22 14:06:58 CST 2004
Start Line: ./srcds_i686 +maxplayers 32 +map cs_office +ip 69.93.231.206 +port 27015 +log on -autoupdate -debug -game cstrike
Core was generated by `srcds_i686'.
Program terminated with signal 11, Segmentation fault.
#0 0x2851d075 in CSteamServerAuth::RunFrame() () from /usr/home/hlserver/csc/./bin/engine_i686.so
#0 0x2851d075 in CSteamServerAuth::RunFrame() () from /usr/home/hlserver/csc/./bin/engine_i686.so
#1 0x09cf9270 in ?? ()
#2 0x00000003 in ?? ()
#3 0x09cf9270 in ?? ()
End of Source crash report
----------------------------------------------

Is anyone able to help me troubleshoot this?

Antti FINFL
12-24-2004, 06:26 AM
Well, I guess you do know that FreeBSD isn't Linux? it's not fully POSIX compiant *NIX variant. Of course I can run Source dedicated server on Darwin, FreeBSD, NetBSD,

Use linux. I suggest you to get Gentoo it is fastes and is a lot of similar to BSD. www.gentoo.org


By the way. What prosessor do you have?

tubesock
12-24-2004, 07:58 AM
Are you using the linux_base-8 compatibility port?

If not, give that a shot, running 5.2.1 here just fine (if not better than Redhat distro's and others).

rjerina
12-24-2004, 03:26 PM
Originally posted by Antti FINFL
Well, I guess you do know that FreeBSD isn't Linux? it's not fully POSIX compiant *NIX variant. Of course I can run Source dedicated server on Darwin, FreeBSD, NetBSD,

Use linux. I suggest you to get Gentoo it is fastes and is a lot of similar to BSD. www.gentoo.org


By the way. What prosessor do you have?

Linux isnt an option. And other people have their servers running fine on FreeBSD.

Processor is a P4 2.8hjz /w HT and 1gb DDR with a 100mbit pipe (1200gb/month allowance)

rjerina
12-24-2004, 03:27 PM
Originally posted by tubesock
Are you using the linux_base-8 compatibility port?

If not, give that a shot, running 5.2.1 here just fine (if not better than Redhat distro's and others).

linux_base-8-8.0_4

not sure if that is the latest, but that is what I have installed.

hapos
01-06-2005, 09:39 AM
Linux Base is required for FreeBSD installs, and as well, make sure that CPU_ENABLE_SSE is compiled in your Kernel.

rjerina
01-06-2005, 10:10 AM
Originally posted by hapos
Linux Base is required for FreeBSD installs, and as well, make sure that CPU_ENABLE_SSE is compiled in your Kernel.

I believe that is only for 4.x

In 5.x I think that is built in because there is nothing in the kernel about that option and I read somewhere that option is for 4.x servers having problems starting the server.

Still getting a lot of lag on this server :(

rjerina
01-11-2005, 11:20 AM
Server has crashed two times today and lagged quite a lot. I know there's more people than this out there that use 5.x with their source server, how about posting here and helping a fellow FreeBSD buddy out?

hapos
01-11-2005, 12:07 PM
So you've got it working now?

Just having some configuration issues?

Please post up your server.cfg, i'll do all I can to help.

In my experience 1 GB of ram really isn't enough to run a dedicated public at 32 players, but since it appears that you are using a co-lo of some sort, we can try to get things configured as best possible.

Also: would you please post the command you are starting up your server with.

rjerina >> You are correct, SSE is part of the default kernel config for 5.x.

hapos
http://www.therubysquare.com

rjerina
01-11-2005, 01:01 PM
Originally posted by hapos
So you've got it working now?

Just having some configuration issues?

Please post up your server.cfg, i'll do all I can to help.

In my experience 1 GB of ram really isn't enough to run a dedicated public at 32 players, but since it appears that you are using a co-lo of some sort, we can try to get things configured as best possible.

Also: would you please post the command you are starting up your server with.

rjerina >> You are correct, SSE is part of the default kernel config for 5.x.

hapos
http://www.therubysquare.com


It's always been working, just really poorly. Crashing randomly and lagging a whole lot. I have tried to configure settings as much as possible to try and fix things, but doesnt seem to be having any positive effect. Here is my config:

sv_lan 0
sv_region 0
hostname "24/7 Office"
rcon_password "********"

mp_buytime 1
mp_startmoney 800
mp_c4timer 35
mp_flashlight 1
mp_footsteps 1
mp_falldamage 1
mp_hostagepenalty 4

mp_timelimit 999
mp_winlimit 0
mp_maxrounds 40
mp_roundtime 3.5
mp_freezetime 4

mp_autoteambalance 1
mp_limitteams 1

mp_friendlyfire 0
mp_tkpunish 1
mp_autokick 1
mp_spawnprotectiontime 10
sv_timeout 60

mp_forcecamera 0
mp_allowspectators 1
mp_fadetoblack 0

sv_maxrate 8000
sv_minrate 1000
sv_maxupdaterate 30
fps_max 100

sv_allowdownload 1
sv_allowupload 1

sv_downloadurl 1

log 1
mp_logfile 1
mp_logecho 0
log_level 15

sv_voiceenable 1

sv_cheats 0
sv_pausable 0

mp_chattime 10
mp_restartgame 0

exec banned_user.cfg
exec banned_ip.cfg

hapos
01-11-2005, 01:05 PM
Checking out your config now... In the meantime:

What command are you using to run your Source?

I had an instance in which my server was running poorly because of my startup routine.

hapos

rjerina
01-11-2005, 01:29 PM
Originally posted by hapos
Checking out your config now... In the meantime:

What command are you using to run your Source?

I had an instance in which my server was running poorly because of my startup routine.

hapos

./srcds_run -game cstrike +maxplayers 32 +map cs_office +ip 69.93.231.206 +port 27015 +log on -autoupdate -debug

rjerina
01-14-2005, 08:37 PM
so any conclusions?

people tonight are reporting lots of lag, i joined the server and sure enough it was pretty bad, but pings were alright.

it also crashed today i noticed.

ludo
02-06-2005, 09:35 PM
Originally posted by rjerina
Linux isnt an option. And other people have their servers running fine on FreeBSD.

Processor is a P4 2.8hjz /w HT and 1gb DDR with a 100mbit pipe (1200gb/month allowance)

I started off with FreeBSD 4.9 and only went to Fedora because I couldn't be stuffed figuring out how to make Metamod and AMXMODX happy on FreeBSD.

Ere there be Daemons my lad :-)

rjerina
02-06-2005, 11:54 PM
Originally posted by ludo
I started off with FreeBSD 4.9 and only went to Fedora because I couldn't be stuffed figuring out how to make Metamod and AMXMODX happy on FreeBSD.

Ere there be Daemons my lad :-)

I'm going to cry. I have not figured out how to fix this laggy issue yet. Wont anyone running a Source server on FreeBSD 5.x reply and tell me they aren't experiencing this problem or that they are? Even if it isnt the same problem, I feel like the only one here running a Source DS on FreeBSD 5.x :(

ludo
02-07-2005, 01:43 PM
You may well be the only one :-)

If I have time, I will try running one up this weekend and let you know how I go. If I forget, yell here and I'll remember.

rjerina
02-07-2005, 02:50 PM
Originally posted by ludo
You may well be the only one :-)

If I have time, I will try running one up this weekend and let you know how I go. If I forget, yell here and I'll remember.

I doubt I'm the only one. I feel like the only one, but I know for a fact I am not the only one running SourceDS on FreeBSD 5.x

Too many servers run FreeBSD 5.x and at least one of them has to have a source server on it.

Thanks for attempting to test it too, is the server on a 100mbit connection with 32 player max?

ludo
02-07-2005, 03:11 PM
Unfortunately no. The test FreeBSD server would only be on a 2MB/s frame relay connection at my work. The Fedora server I have is behind the type of connection you have. So I may not be too much help after all :-(

Let me know if you want me to do it anyway to confirm the versions etc.

rjerina
02-07-2005, 03:50 PM
Originally posted by ludo
Unfortunately no. The test FreeBSD server would only be on a 2MB/s frame relay connection at my work. The Fedora server I have is behind the type of connection you have. So I may not be too much help after all :-(

Let me know if you want me to do it anyway to confirm the versions etc.

nah thats ok man. really looking for people with established servers with people on them to reply.

tubesock
02-07-2005, 05:37 PM
I have a couple of servers running on my main box, which is FreeBSD 5.2.1.

216.180.233.37:27015
216.180.233.37:27017 (test server, custom maps, mostly empty)

I've been using FreeBSD since 2.x and I feel 5.2.1 is 'Ok'... I have 2 GB's of RAM and a p4 3.0 HT cpu... I don't really seeing it take advantage of the HT... as where I have an Enterprise 3.0 Linux Server and it handles HT rather well.

I've always had people (only on the HL2 servers) complain about lag (any q3 engine based server has run fine)... I've lightened the load on the FreeBSD machine, only running stats if all servers are empty and re-arranging other services.

last pid: 48740; load averages: 0.52, 0.58, 0.59 up 6+01:33:14 17:36:31
72 processes: 2 running, 70 sleeping
CPU states: 34.1% user, 0.0% nice, 7.0% system, 2.3% interrupt, 56.6% idle
Mem: 513M Active, 1031M Inact, 240M Wired, 106M Cache, 112M Buf, 97M Free
Swap: 4096M Total, 40K Used, 4096M Free

PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
3825 hl2 8 -19 159M 93640K nanslp 65:58 30.91% 30.91% srcds_

^^ not that impressive, renice'd to -19 and only 21 players on.

rjerina
02-07-2005, 07:20 PM
alright nice to know i'm not the only one getting complaints of lag.

my loads are a little better than yours, i also run apache/postfix/mysql and host quite a few sites.

my point isnt to brag, i am thinking though that this has something to do with the coding of the sourceds or maybe just it's compatability with linux_compat8

tubesock
02-07-2005, 10:18 PM
Yeah, I'm running apache/mysql/sendmail/procmail/spamassassin/bind for about 40 low traffic web sites (domains) and a couple hundred email accounts.

CodeCracker
02-08-2005, 08:41 AM
I'm running it on 5.3 latest perl with make.conf optimization flags when i compiled everything. Also I am running the linux-rh-9 from the ports tree. Make sure you cvsup your tree FIRST...THEN install the port....THEN edit your fstab to include linprocfs...So far the server has been running just fine without much problems..dont really know about lag issues as I havent hammered it with anything too severe. Bots are not working properly...so I am not sure..

2.4P4 400FSB 1.5G PC2100 FreeBSD 5.3 (linux_base-rh-9 emulation)

rjerina
02-08-2005, 09:59 AM
Originally posted by CodeCracker
I'm running it on 5.3 latest perl with make.conf optimization flags when i compiled everything. Also I am running the linux-rh-9 from the ports tree. Make sure you cvsup your tree FIRST...THEN install the port....THEN edit your fstab to include linprocfs...So far the server has been running just fine without much problems..dont really know about lag issues as I havent hammered it with anything too severe. Bots are not working properly...so I am not sure..

2.4P4 400FSB 1.5G PC2100 FreeBSD 5.3 (linux_base-rh-9 emulation)

I cannot run 5.3 because I hear there is a bug with the Intel PRO 1000 driver support, which my server has.

I am running linux_compat-8, i've never heard of running under a rh9 emulation. Any guides on how to get it going properly?

rjerina
02-11-2005, 03:06 PM
alright i managed to upgrade to 5.3 and installed linux_base-rh9 and still lagging. it isnt constant lag, it's lag spikes every so often (random intervals).

i've had this problem for a couple months now, it's not getting any better :(

rjerina
02-12-2005, 11:02 PM
arrg the lag is so bad someone help me :(