Server Lagging my computer
- knoxcorner
- Private First Class
- Posts: 30
- Joined: Sat Nov 24, 2007 9:50 pm
- Location: Dallas, TX
Server Lagging my computer
For some reason, when ever I try to run a private server, it gives me a huge amount of lag. I can still start BZFlag but when i try to connect everything will freeze and I can't test my map. It doesn't give me any errors on the command. Before I got onto BZFlag, I opened task manager, and bzfs was taking all my memory with 99cpu. I put my config file and world file on incase anything is wrong with that. It works just fine without the configure file though. The map is not finished, and I really can't continue untill this is worked out.
C'mon and help the newb.
C'mon and help the newb.
- Attachments
-
- Four Corner.bzw
- Map
- (4.56 KiB) Downloaded 92 times
-
[The extension conf has been deactivated and can no longer be displayed.]
-
- Sergeant
- Posts: 250
- Joined: Wed Jan 05, 2005 3:12 pm
The code I show is corrected, replace this in your file.
Since you are having trouble turn on more debugging levels:
Pick one of these, not both - since you are running a CTF then the second one
If you are going to filter the chat and callsigns, you must have a file that contains the words to filter. You will have to build this file, or find the one that is in the source.
Comment this out, I've never seen a practical use for this. I'll bet this is the command that is causing the processor loop.
Now you are just being silly, change this to a reasonable number. This is most definitely the reason why your server is crashing.
Comment this out, you don't want your server to be in replay mode. This will cause your server to not be a playing server.
In general, when you are testing you don't want to have all the options turned on. You don't really need to start running at full speed. Try turning off almost all the options until you get it going, then turn them back on one by one.
Since you are having trouble turn on more debugging levels:
Code: Select all
#-d
# and more complex debugging.
#-dd
#-ddd
-dddd
Code: Select all
#-mp 25
-mp 0,5,5,5,5,5
Code: Select all
-badwords C:\Documents and Settings\JSM\My Documents\My BZFlag Files\badwords.txt
-filterChat
-filterCallsigns
Code: Select all
#-reportpipe command
Code: Select all
-set _wingsJumpCount 1000
Code: Select all
#-replay
#-recbuf 2
Why would that cause the issue? I've had it that high and higher without any kind of problem, as I recall.a temporal distraction wrote:Now you are just being silly, change this to a reasonable number. This is most definitely the reason why your server is crashing.Code: Select all
-set _wingsJumpCount 1000
-
- Sergeant
- Posts: 250
- Joined: Wed Jan 05, 2005 3:12 pm
the OP's conf had it as -set _wingsJumpCount 9999999999999999999999999999999999Constitution wrote:Why would that cause the issue? I've had it that high and higher without any kind of problem, as I recall.a temporal distraction wrote:Now you are just being silly, change this to a reasonable number. This is most definitely the reason why your server is crashing.Code: Select all
-set _wingsJumpCount 1000
and THAT is a problem
- knoxcorner
- Private First Class
- Posts: 30
- Joined: Sat Nov 24, 2007 9:50 pm
- Location: Dallas, TX
Distractions is right. I didn't know that that many wing jumps would crash the server because of what I had read before:a temporal distraction wrote:the OP's conf had it as -set _wingsJumpCount 9999999999999999999999999999999999Constitution wrote:Why would that cause the issue? I've had it that high and higher without any kind of problem, as I recall.a temporal distraction wrote:Now you are just being silly, change this to a reasonable number. This is most definitely the reason why your server is crashing.Code: Select all
-set _wingsJumpCount 1000
and THAT is a problem
Lag= Shots x Players
Thanks Distraction and Constitution, I got it to work
But is this supposed to happen?
If you look closely it says
Every 2-4 seconds.Recalibrated QPC Frequency
- sp unit 262
- Private
- Posts: 3
- Joined: Sat Aug 19, 2006 10:27 pm
Ah, that makes sense. Thanks.a temporal distraction wrote:the OP's conf had it as -set _wingsJumpCount 9999999999999999999999999999999999
and THAT is a problem
Probably so. It's because you have so many -d's. If all you want is simple logging of joins, parts, chat, etc., you could probably get by with just one -d. -ts also helps.knoxcorner wrote:But is this supposed to happen?
If you're including spaces in file names or around text such as the public description (which includes spaces) you must surround that text in quotes. For example:a temporal distraction wrote:Code: Select all
-badwords C:\Documents and Settings\JSM\My Documents\My BZFlag Files\badwords.txt
Code: Select all
-badwords "C:\Documents and Settings\JSM\My Documents\My BZFlag Files\badwords.txt"
-public "This is a public server"