SRCDS Steam group


Server problems 100 Tickrate !
#1
Question 
What's wrong?
Please help

Quote:// rate config
sv_unlag "1"
sv_maxunlag "1.0"
sv_maxrate "30000"
sv_minrate "10000"
sv_client_predict "1"
sv_client_interpolate "1"
sv_client_min_interp_ratio "1"
sv_client_max_interp_ratio "2"
sv_minupdaterate "66"
sv_maxupdaterate "100"
sv_maxcmdrate "100"
sv_mincmdrate "66"
fps_max "600"
sv_pure "0"

[Image: adszuh.jpg]

CPU İnfo
Quote:processor : 8
vendor_id : GenuineIntel
cpu family : 6
model : 26
model name : Intel® Xeon® CPU X5550 @ 2.67GHz
stepping : 5
cpu MHz : 166.680
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm const ant_tsc ida nonstop_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr popcnt lahf_lm
bogomips : 5333.78
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: [8]

İnfo ;
Quote:2048 MB DDR3RAM
100Mbit
CentOS release 5.4 (Final)
2.6.18-028stab064.8 x86_64
Reply
#2
Well what are your problem? Try explaining it in words.
Reply
#3
Server's Tickrate 100
But in the image values; 56.2 in / s out of 101.3 / s
Normal values; 101.0 in / s out of 100.1 / s

The server lag is :|
Reply
#4
Seems it either would be your Download speed or the Servers Upload speed?
Reply
#5
How to test Linux?
SSH?
Reply
#6
Hes having a problem getting 100 tickrate, if you see from his screen shot he is getting 56 and he wants to get 100... It may be his client rates.
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#7
sv_mincmdrate "66" change 100
Reply
#8
Error remains Sad
How do I test connection speed Linux?
Reply
#9
Open up your own console in game and type cl_updaterate 101 and cl_cmdrate 100 and see if this changes anything ( Do this in your client console, not the server console )
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#10
post your startup command line please.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#11
Code:
#! /bin/bash

# CounterStrike Source Linux Server Startscript
# Version: 1.1

# Author:
# Andreas Glaser (JaZz)
# www.andreas-glaser.com

# Function:
# CounterStrike Source Server Startscript for Linux.
# The server is running after starting it in the background.

# Requirement:
# screen :: http://www.google.com/linux?hl=en&q=screen&btnG=Search
# awk :: http://www.google.com/linux?hl=en&q=awk&btnG=Search&meta=



############################*
# Configuration (Required):
#

# |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
# |~~ 1. SYSTEM PARAMETERS ~~~~~~~~~~|
# |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|

# ~~ Description: Set the user who owns the CounterStrike Server (root is not recommended)
# ~~ Params: Existing user on your system
SYS_USER="root";

# ~~ Description: Path to the root directory of the server
# ~~ Params: System path
SYS_DIR="/root/war";

# ~~ Description: Server daemon
# ~~ Default Value: srcds_run
SYS_DAEMON="srcds_run";

# ~~ Description: Name of the server on your system
SYS_NAME="war";

# ~~ Description: Description of the server
SYS_DESC="My first CounterStrike Source Server";

# |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
# |~~ 2. SERVER START PARAMETER ~~~~~|
# |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|

# ~~ Description: IPv4 Address of your server
# ~~ Params: XXX.XXX.XXX.XXX
START_PARAMS_IP="XXX.XXX.XXX.XXX";

# ~~ Description: Port of your server
# ~~ Params: Between 0 and 65535
# ~~ Default Value: 27015
START_PARAMS_PORT="27015";

# ~~ Description: Defines the default maps
# ~~ Params: Every on the server installed map is possible
START_PARAMS_MAP="de_dust2";

# ~~ Description: Defines the amount of player slots
# ~~ Params: Between 1 and 32
START_PARAMS_MAXPLAYERS="16";

# ~~ Description: Defines whether VAC (Valve Anti Cheat) is activated
# ~~ Params: secure / insecure
# ~~ Default Value: secure
START_PARAMS_SECURE="secure";

# ~~ Description: Pingboost
# ~~ Params: 0 / 1 / 2 / 3
# ~~ Default Value: 0
START_PARAMS_PINGBOOST="0";

# ~~ Description: Defines the tickrate
# ~~ Params: 33 / 66 / 100
# ~~ Default Value: 33
START_PARAMS_TICKRATE="100";

#
# CONFIGURATION END
############################*



# ~~~ DON'T EDIT ANYTHING BELOW THIS LINE - ACCEPT YOU KNOW WHAT YOU ARE DOING ~~~


############################*
# STARTSCRIPT CORE START
#

echo "| INFORMATION ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|";
echo "| Script:         CounterStrike Source Linux Startscript          |";
echo "| Version:        1.0                                             |";
echo "| Author:         Andreas Glaser                                  |";
echo "| Website:        www.andreas-glaser.com                          |";  
echo "| Creation Date:  2008-09-05                                      |";
echo "| Last Update:    2008-09-05                                      |";              
echo "|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|";

# ~~ Assembly start parameters
PARAMS="-game cstrike -pingboost $START_PARAMS_PINGBOOST +map $START_PARAMS_MAP +maxplayers $START_PARAMS_MAXPLAYERS -$START_PARAMS_SECURE -tickrate $START_PARAMS_TICKRATE +ip $START_PARAMS_IP -port $START_PARAMS_PORT";

# ~~ Check awk package
if [ ! -x /usr/bin/awk ]; then
  echo "~~> Error    >> Starscript cannot be used";
  echo "~~> Reason   >> AWK seems to be not installed";
  echo "~~> Solution >> Install the Linux package 'screen'";
  exit 1;
fi;

# ~~ Check screen package
if [ ! -x /usr/bin/screen ]; then
  echo "~~> Error    >> Starscript cannot be used";
  echo "~~> Reason   >> Screen seems to be not installed";
  echo "~~> Solution >> Install the Linux package 'screen'";
  exit 1;
fi;

# ~~ Get mode (Root/Nonroot)
if [ `whoami` = root ]; then
  usagetype=root;
else
  usagetype=nonroot;
fi;

# ~~ Start function
start()
{
  if [ ! -d $SYS_DIR ]; then
    echo "~~> Error    >> Server could not be started";
    echo "~~> Reason   >> $SYS_DIR does not exists";
    echo "~~> Solution >> Please check the startscript configuration";
    exit 1;
  fi;
  
  if [ ! -x $SYS_DIR/$SYS_DAEMON ]; then
    echo "~~> Error    >> Deamon could not be executed";
    echo "~~> Reason   >> Either the deamon is not executable or the startscript configuration is incorrect";
    echo "~~> Solution >> 1. chmod u + x $SYS_DIR$SYS_DAEMON 2. Check the startscript configration";
    exit 1;
  fi;
  
  if status; then
    echo "~~> Error    >> Server is already started";
    echo "~~> Reason   >> Already started";
    echo "~~> Solution >> Stop the server";
    exit 1;
  fi;

   case "$usagetype" in
   root)
    su - $SYS_USER -c "cd $SYS_DIR ; screen -AmdS $SYS_NAME ./$SYS_DAEMON $PARAMS";
   ;;
   nonroot)
    cd $SYS_DIR ; screen -AmdS $SYS_NAME ./$SYS_DAEMON $PARAMS;
   ;;
   esac
}

# ~~ Stop function
stop ()
{
  if ! status; then
    echo "~~> Error    >> Server could not be found";
    echo "~~> Reason   >> The daemon is not started";
    echo "~~> Solution >> Start the server";
    exit 1;
  fi;

   case "$usagetype" in
   root)
    tmp=$(su - $SYS_USER -c "screen -ls" | awk -F . "\$2 ~ /^$SYS_NAME[[:space:]].*/ {print \$1}" | awk '{print $1}');
    su - $SYS_USER -c "screen -r $tmp -X quit"M
   ;;
   nonroot)
    screen -r $(screen -ls | awk -F . "\$2 ~ /^$SYS_NAME[[:space:]].*/ {print \$1}" | awk '{print $1}') -X quit;
   ;;
   esac;
}

# ~~ Status function
status ()
{
   case "$usagetype" in
   root)
    su - $SYS_USER -c "screen -ls" | grep [.]$SYS_NAME[[:space:]] > /dev/null
   ;;
   nonroot)
    screen -ls | grep [.]$SYS_NAME[[:space:]] > /dev/null
   ;;
   esac
}

# ~~ Watch function
watch () {
   if ! status;
    then echo "$SYS_DESC $SYS_NAME could not be found. Probably not running."; exit 1; fi

   case "$usagetype" in
   root)
    tmp=$(su - $SYS_USER -c "screen -ls" | awk -F . "\$2 ~ /^$SYS_NAME[[:space:]].*/ {print \$1}" | awk '{print $1}')
    su - $SYS_USER -c "screen -r $tmp"
   ;;
   nonroot)
    screen -r $(screen -ls | awk -F . "\$2 ~ /^$SYS_NAME[[:space:]].*/ {print \$1}" | awk '{print $1}')
   ;;
   esac
}

case "$1" in
start)
  echo "~~> Action   >> Starting $SYS_NAME ($SYS_DESC)";
  start
  echo "~~> Success  >> Server is started";
;;

stop)
  echo "~~> Action   >> Stopping $SYS_NAME ($SYS_DESC)";
  stop
  echo "~~> Success  >> Server is stopped";
;;

restart)
  echo "~~> Action   >> Restrating $SYS_NAME ($SYS_DESC)";
  status && stop
  start
  echo "~~> Success  >> Server is restarted";
;;

status)
  if status; then
    echo "~~> Info   >> The server is online : $SYS_NAME ($SYS_DESC)";
  else
    echo "~~> Info   >> The server is offline : $SYS_NAME ($SYS_DESC)";
  fi;
;;
watch)
  watch
;;

*)
   echo "~~> Usage   >> $0 {start|stop|status|restart|watch}";
   echo "            >> While watching press ctrl-a, ctrl-d to stop watching without stopping the server.";
   exit 1;
   ;;

esac
#
# STARTSCRIPT CORE END
############################*

exit 0
Reply
#12
poa ben onur csoyuncu. bu lag sorunu bendede var kaç gündür halen çözemedim. sanıım enginelerden kaynaklanıyor..
Reply
#13
Try doing a rcon with "stats" and paste the result.
Reply
#14
I changed Datacenter.
No problem
Thank you for your interest Wink
Engine filan değil sorun Netinternet datacenter da
Şuan değiştirdim ve gayet memnunum
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)