hi
i have some probleme with my css server.
debian lenny
kernel 1000 hz
32 slots tick 66
22 slot tick 100
apache
mysql
postfix (complet web server)
teamspeak server
config
xeon quad 2.8 ghz 12 mo
100 mb
raid hard 1 to
32 slot(full) has a cpu usage of 90% and tickrate down to 60 a the begining of the round.
i use this to start the server
in crontab i add:
why this server use a lot of cpu
i m trying to set each server to a core with HTOP and "a" option
How many slots have you with 2.8 ghz
thx for answer.
i have some probleme with my css server.
debian lenny
kernel 1000 hz
32 slots tick 66
22 slot tick 100
apache
mysql
postfix (complet web server)
teamspeak server
config
xeon quad 2.8 ghz 12 mo
100 mb
raid hard 1 to
32 slot(full) has a cpu usage of 90% and tickrate down to 60 a the begining of the round.
i use this to start the server
PHP Code:
#!/bin/sh
SRCDS_USER="serveur"
SRCDS_NAME="serveur4"
SRCDS_BIN="./srcds_run"
SRCDS_PATH="/home/serveur/serveur4/"
SRCDS_OPTS="-game cstrike \
+sv_region 3 \
+ip 91.121.63.xxx \
-port 27012 \
+maxplayers 34 \
-tickrate 66 \
+map de_dust2 \
+mp_dynamicpricing 0 \
+sv_pure 1 \
-autoupdate \
-pidfile serveur4.pid"
STEAM_UPDATE="./steam -game cstrike -command update"
usage() {
echo "---------------------------------------------------------------------"
echo "Usage: ${SRCDS_NAME} (stop|start|restart|update|patch)"
echo "---------------------------------------------------------------------"
exit 2
}
if [ -z $1 ]; then
usage
fi
srcds_start() {
echo "---------------------------------------------------------------------"
echo "serveur start"
echo "---------------------------------------------------------------------"
OWD=`pwd`
cd $SRCDS_PATH
su ${SRCDS_USER} -c "screen -dmS ${SRCDS_NAME} ${SRCDS_BIN} ${SRCDS_OPTS}"
cd $OWD
echo "---------------------------------------------------------------------"
echo "server online"
echo "---------------------------------------------------------------------"
}
srcds_stop() {
echo "---------------------------------------------------------------------"
echo "stop server"
echo "---------------------------------------------------------------------"
su ${SRCDS_USER} -c "screen -dr ${SRCDS_NAME} -X quit"
echo "---------------------------------------------------------------------"
echo "finish"
echo "---------------------------------------------------------------------"
}
srcds_restart() {
echo "---------------------------------------------------------------------"
echo "Reboot"
echo "---------------------------------------------------------------------"
srcds_stop
srcds_start
echo "---------------------------------------------------------------------"
echo "finish"
echo "---------------------------------------------------------------------"
}
srcds_update() {
echo "---------------------------------------------------------------------"
echo "reboot and update"
echo "---------------------------------------------------------------------"
srcds_stop
OWD=`pwd`
cd $SRCDS_PATH
su ${SRCDS_USER} -c "${STEAM_UPDATE}"
cd $OWD
srcds_patch
srcds_start
echo "---------------------------------------------------------------------"
echo "finish"
echo "---------------------------------------------------------------------"
}
case $1 in
stop)
srcds_stop
;;
start)
srcds_start
;;
restart)
srcds_restart
;;
update)
srcds_update
;;
*)
usage
esac
exit 0
in crontab i add:
PHP Code:
*/5 * * * * root renice -10 `cat /home/serveur/serveur1/cstrike/serveur1.pid` >/dev/null 2>&1
*/5 * * * * root renice -10 `cat /home/serveur/serveur4/cstrike/serveur4.pid` >/dev/null 2>&1
why this server use a lot of cpu
i m trying to set each server to a core with HTOP and "a" option
How many slots have you with 2.8 ghz
thx for answer.