Help setting up FreeBSD server?

Discuss anything to do with Nexuiz here.

Moderators: Nexuiz Moderators, Moderators

Postby divVerent » Thu May 03, 2007 11:08 pm

Post the traceroute anyway.

On your server... make sure HZ is set to 1000. Which FreeBSD are you using?
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby charlesk » Fri May 04, 2007 12:03 am

Traceroute is below. It's somewhat strange (I've never seen those huge numbers before.

What's HZ?

This is "FreeBSD 4.8-STABLE".

By the way I tried another server and also had these bad lagging issues so I am wondering if maybe there is some other issue here. But one other person said he found it slow too, so I am not sure what's going on.


1 10 ms 7 ms 7 ms 73.195.28.1
2 8 ms 7 ms 9 ms ge-4-1-ur01.bennington.vt.boston.comcast.net [68
.86.236.45]
3 12 ms 11 ms 9 ms te-8-4-ar01.springfield.ma.boston.comcast.net [6
8.87.147.18]
4 11 ms 12 ms 11 ms po-11-ar01.chartford.ct.hartford.comcast.net [68
.87.146.26]
5 4294967192 ms 53 ms 16 ms 68.86.90.69
6 20 ms 13 ms 14 ms 64.213.77.217
7 43 ms 4294967219 ms 52 ms PAIR-NETWORKS.ge-3-2-0.ar2.cle1.gblx.net [
146.82.33.170]
8 * * * Request timed out.
9 47 ms 54 ms 44 ms qs1072.pair.com [216.92.127.232]
charlesk
Advanced member
 
Posts: 52
Joined: Wed Apr 25, 2007 1:34 pm

Postby charlesk » Fri May 04, 2007 12:07 am

Hmm. No, I just went to the other "beginner" server and it was fine.. mine is sluggish and giving me clocks even though the ping is good. I have no idea why.
charlesk
Advanced member
 
Posts: 52
Joined: Wed Apr 25, 2007 1:34 pm

Postby ZyanKLee » Fri May 04, 2007 12:34 am

how high is the overall cpu-load? you told us nexuiz is using up to 15%, but how much is eaten up by other processes?
ZyanKLee
Alien
 
Posts: 151
Joined: Sun Feb 18, 2007 8:58 pm
Location: Germany

Postby charlesk » Fri May 04, 2007 1:04 am

There's pretty much always lots of idle time. Load averages are low:

% uptime
9:02PM up 465 days, 10:16, 2 users, load averages: 0.25, 0.44, 0.56

A pretty reliable server as you can see.

I just tried porting it all over to another server I have at the same company and it did the same thing.

I am almost certain that this is some sort of issue related to server priority, or something else with the hardware, not a net connectivity issue. But I'm still wondering if there is anything I can do in the Nexuiz server config to make it more efficient or use less resources or something.
charlesk
Advanced member
 
Posts: 52
Joined: Wed Apr 25, 2007 1:34 pm

Postby charlesk » Fri May 04, 2007 1:08 am

Okay right now it is using 5% CPU, there is 75-90% free, but it's still sluggish. I don't get it. *shrug*
charlesk
Advanced member
 
Posts: 52
Joined: Wed Apr 25, 2007 1:34 pm

Postby divVerent » Fri May 04, 2007 7:27 am

did you check your kern.hz? And which FreeBSD release is it?
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby Daedalus » Fri May 04, 2007 8:48 am

i'd recommend updating FreeBSD to Version 6.2. Version 4.8 is from 2003....
The road of excess leads to the palace of wisdom.
- W.Blake
Daedalus
Alien trapper
 
Posts: 311
Joined: Tue Feb 28, 2006 9:29 pm
Location: Interzone

Postby divVerent » Fri May 04, 2007 11:52 am

Oh sorry, you wrote it is 4.8.

4.8 by default has bad multitasking timing, could be a severe problem for games. You can try putting

Code: Select all
kern.hz="1000"


in /boot/loader.conf and rebooting your system. But remember - if you do something wrong, it may not come up again. I hope you have a way ready to restore loader.conf in case of failure (like a boot CD you can use to mount the hard drive and edit the file back).
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby charlesk » Sat May 05, 2007 8:07 pm

Well, just an update..

My web host is telling me they are concerned about security issues related to running this server... so I am dead in the water until they get back to me with more details over what it is they are concerned about.

Thanks.
charlesk
Advanced member
 
Posts: 52
Joined: Wed Apr 25, 2007 1:34 pm

PreviousNext

Return to Nexuiz - General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron