26.10.2011, 17:46
Server Hangs
26.10.2011, 18:25
Maybe some client is a bot? How many players are there on server when it "hangs"? Also try "Execution logger" plugin, and see if it is a script problem.
26.10.2011, 19:05
Quote:
Maybe some client is a bot? How many players are there on server when it "hangs"? Also try "Execution logger" plugin, and see if it is a script problem.
|
Thanks for your input
Ash
26.10.2011, 19:40
Someone maybe botting your vps server
26.10.2011, 20:08
If I close all the ports aside from 1996 (merely to connect) the problem still arises, as I did this earlier. After the server hangs, the dedi's memory usage shoots from around 90mb to 170mb. As if the entire server is busy. HOWEVER; the web server (Lighttpd) is still functioning perfectly fine when this happens. It's only an issue with the SAMP executable, yet it seems to be the dedicated server itself that's causing the issues.
26.10.2011, 20:16
Resintalling the VPS would work, only thing is you will need to backup the whole thing then upload it after, will take a long time, but, Chnage your server port and try
26.10.2011, 20:26
Tried; it just failed. Obviously with only staff knowing the new port, there were merely 3 players online - After 15 minutes it still hung. Must be an OS problem! D:
Just waiting for the backup to be made available from my data centre now.
Just waiting for the backup to be made available from my data centre now.
28.10.2011, 10:21
After reinstalling the entire operating system, and reuploading all relevant files, the server still hands randomly. The server log, as before, shows "Incoming Connection" and nothing more when it hangs. Memory Usage, when the server hangs, now drops significantly. As if the process is sleeping?.
I'm going to try running a default Grand Larceny server on the same server executable as I am the TruckingWorld gamemode. HOWEVER; I know this isn't a script issue as it's been running fine (and still is running fine) on Volt-Host.
I'm going to try running a default Grand Larceny server on the same server executable as I am the TruckingWorld gamemode. HOWEVER; I know this isn't a script issue as it's been running fine (and still is running fine) on Volt-Host.
28.10.2011, 10:26
I'm sorry, but I didn't read the entire post.
Anyways, you have an infinite loop running, and becouse SAMP isn't multi-threaded, it won't do anything else, until the loop finishes.
I hope that I helped you.
Anyways, you have an infinite loop running, and becouse SAMP isn't multi-threaded, it won't do anything else, until the loop finishes.
I hope that I helped you.
28.10.2011, 10:47
Quote:
I'm sorry, but I didn't read the entire post.
Anyways, you have an infinite loop running, and becouse SAMP isn't multi-threaded, it won't do anything else, until the loop finishes. I hope that I helped you. |
01.11.2011, 23:55
Get another host? Best solution.
19.11.2011, 08:44
(
Last edited by Ash.; 19/11/2011 at 09:27 AM.
Reason: Spelling Incompetence
)
I know this is bumping the thread, but I'd just like to tell everyone how I resolved the issue.
Okay, I contacted my data centre. They looked into the issue and I allowed them to traceroute my IP back from my server (so 86.whatever.it.is.now to 94.23.108.110 and reverse), they found no possible issues with connection. We then performed the same traceroute, however from my laptop to the data centre's main router (at port 80 (HTTP port)), which threw up an error - which seemed unusual, because all HTTP services were performing as they should. We then took a look at the hardware on my dedicated server, all was functioning normally. We disconnected the main harddrives from my server (well, they did) and booted up using a backup drive (a clean CentOS installation with maintenance tools for hardware) - they ran the maintenance checks and all was fine.
So, we'd so far established that there was no hardware issues, and the HTTP error that they had found was actually a permissions issue, because I wasn't "local" to that router.
We went on to look at IP/IPv4 forwarding. We checked to ensure that the IP was actually sending and receiving, which it was. This was confirmed by checking HTTP/The control panel specifically (As the control panel operates on a port). We then tested the internet connection, and found that the sub-router my server was connected to was slower than the rest. It was replaced, but the issue still existed - so the sub-router was not the cause.
We checked PHP and MySQL, just by setting up a random PHP/MySQL connection and dumping data through a web page, which completed successfully. We checked through the server log (for the dedicated server) and found that everything was operating normally, and that the samp03svr was actually running.
At this point, we were near giving up, and they were preparing to move all my data to a separate server, while the diagnosed mine. While they were preparing that, I decided to read through the connection logs to my server, and found that everything was connecting successfully, but not everything was being sent (contradicting the data centre's logs of incoming and outgoing connections, surprisingly). I flagged this up with them, and they looked into the issue.
What they found was quite unreal. Around 65% of the data centre was actually using a single sub-router, thus why mine seemed to operate slowly. They have since sacked the network manager (as far as I'm aware, his name has been removed from the contact list and all network upgrade/maintenance operations are currently on hold), and have re-wired most of the connections. The entire data centre has noticed a difference, and since then - all incoming and outgoing connections both to my server, and others on the same connection, have operated much quicker, and more importantly: The hanging of my SAMP server (TruckingWorld) has stopped.
We are unsure why it was hanging though, as if anything it should of continued to operate normally, not just hang whenever it got "half of" a connection, because surely it would of rejected the invalid connection?
Anyway, this issue is now resolved.
Thanks to everyone that assisted, I believe I have '+repped' you all before now.
Ash
Okay, I contacted my data centre. They looked into the issue and I allowed them to traceroute my IP back from my server (so 86.whatever.it.is.now to 94.23.108.110 and reverse), they found no possible issues with connection. We then performed the same traceroute, however from my laptop to the data centre's main router (at port 80 (HTTP port)), which threw up an error - which seemed unusual, because all HTTP services were performing as they should. We then took a look at the hardware on my dedicated server, all was functioning normally. We disconnected the main harddrives from my server (well, they did) and booted up using a backup drive (a clean CentOS installation with maintenance tools for hardware) - they ran the maintenance checks and all was fine.
So, we'd so far established that there was no hardware issues, and the HTTP error that they had found was actually a permissions issue, because I wasn't "local" to that router.
We went on to look at IP/IPv4 forwarding. We checked to ensure that the IP was actually sending and receiving, which it was. This was confirmed by checking HTTP/The control panel specifically (As the control panel operates on a port). We then tested the internet connection, and found that the sub-router my server was connected to was slower than the rest. It was replaced, but the issue still existed - so the sub-router was not the cause.
We checked PHP and MySQL, just by setting up a random PHP/MySQL connection and dumping data through a web page, which completed successfully. We checked through the server log (for the dedicated server) and found that everything was operating normally, and that the samp03svr was actually running.
At this point, we were near giving up, and they were preparing to move all my data to a separate server, while the diagnosed mine. While they were preparing that, I decided to read through the connection logs to my server, and found that everything was connecting successfully, but not everything was being sent (contradicting the data centre's logs of incoming and outgoing connections, surprisingly). I flagged this up with them, and they looked into the issue.
What they found was quite unreal. Around 65% of the data centre was actually using a single sub-router, thus why mine seemed to operate slowly. They have since sacked the network manager (as far as I'm aware, his name has been removed from the contact list and all network upgrade/maintenance operations are currently on hold), and have re-wired most of the connections. The entire data centre has noticed a difference, and since then - all incoming and outgoing connections both to my server, and others on the same connection, have operated much quicker, and more importantly: The hanging of my SAMP server (TruckingWorld) has stopped.
We are unsure why it was hanging though, as if anything it should of continued to operate normally, not just hang whenever it got "half of" a connection, because surely it would of rejected the invalid connection?
Anyway, this issue is now resolved.
Thanks to everyone that assisted, I believe I have '+repped' you all before now.
Ash
19.11.2011, 09:23
Good thing you solved the issue. I will be aware
« Next Oldest | Next Newest »
Users browsing this thread: 1 Guest(s)