Liberty Unleashed
Liberty Unleashed => Bug Reports => Topic started by: niCe on October 25, 2010, 11:53:52 pm
-
I've tried to launch the server on linux (Debian) but it consumes all the CPU. What am I doing wrong or what am I missing?
-
The server I host has been running for 3 and a half hours using barely any resources.
(Running on a Debian dedi)
Check the scripts and modules you have loaded.
-
I have no modules neither scripts loaded. There are just the files I downloaded with the server, with modified config of course. Perhaps it has to do something with the fact my server is 64bit?
-
Hi, so I've tried to launch my server again and I still have the same problem. I'm trying to run the server on Debian VPS 32bit, I have 3x2400 Mhz CPU and the server consumes 100% of all CPUs causing server load going over 20.
I've deleted all scripts and modules, so there is running only the empty server.
Please someone help me! I'd like to run the LU server finally. Thanks in advance for any help.
htop:
(http://desmond.imageshack.us/Himg268/scaled.php?server=268&filename=19083116.png&res=medium)
server.conf:
server_name [CZ/EN] GTA-Multiplayer.cz
listen_port 2301
max_players 50
password none
owner GTA-Multiplayer.cz
website [url]http://www.gta-multiplayer.cz[/url] ([url]http://www.gta-multiplayer.cz[/url])
gamemode_name Deathmatch
announce yes
rcon 0
sync_radius 300
sync_min_interval 500
sync_full_interval 40
game 1
weatherlock on
weather 0
islands 3
pickup_respawn_time 60
-
Hi. I use other Linux distro and i've noticed such problem happen - when in File manager i click with mouse on Server.bin
Do you launch your server via SSH ?
-
Yes, I'm launching it with Putty.
I use "nohup ./Server.bin &" command to launch the server, I can see it in the client and connect to the server, but the CPU usage is 100%. However when I run the server only with "./Server.bin &", the cpu usage is 0, but I see the server as offline and I can't also connect to it.
-
Well, now i launched my Linux & connected to my localhost SSH (everything under root)
When i launched via SSH default linux server (http://liberty-unleashed.co.uk/Downloads/LUServer.tar.gz) with:
/VetalYA/Server.bin &
Server starts to use about 3 Mb of RAM & about 70 % of CPU.
But when i launched /VetalYA/Server.bin
Server starts use about 3 Mb of RAM and about 0~1 of CPU.
You see, LU Server is independent application, and he don't like being launched with command line parameters.
So try to launch with "nohup ./Server.bin"
Good luck. ;)
-
Thanks for your advice, however, it still uses 70-110% of CPU. I've tried all combinations with "nohup" and "&" and only "./Server.bin &" and "./Server.bin" don't overload the cpu, so it looks like the problem is in nohup. And also I can't connect to server when it's launched with "&" parameter.
Thus "./Server.bin" is the only remedy. But how to keep the process running once the Putty closes the session?
-
Try running it trough "screen"
-
Thanks, I'll try it. I hope there is any chance this will be fixed in any of the future server updates.
-
Moved to bug reports.