[IMPORTANT SERVER ISSUE!] It can handle +70 players.
#1

Hello guys...
I am running a dm server from one year... i had 30-40 players... but now from a week i'm getting 60-70 players... but server started to crash... i rather call it that it hangs.. no one can connect to server or play it .. but when i click on it it shows that 63/100 etc... but actually no one is playing and i have to restart server... therefore i have locked it for a while... hope you will understand my problem...

Regards,
Anak
Reply
#2

Do you have a loop within your script that may be causing this issue? Such as an Infinity Loop?
Reply
#3

i don't find any kinda infinite loop... + there is 0 warnings upon compiling...
Reply
#4

That happens when it couldn't loop properly, just getting stuck somewhere. Also, did you defined MAX_PLAYERS?

pawn Code:
#undef MAX_PLAYERS
#define MAX_PLAYERS yourtotalslots
Reply
#5

https://sampforum.blast.hk/showthread.php?tid=469030
this is previous version of my server .. when i had 20-30 players.... i don't see any infinite loop... you can check for sure...

+ why server don't hangs when there are less then 50 players?...
Reply
#6

Install crashdetect plugin.

Quote:
Originally Posted by Anak
View Post
i don't find any kinda infinite loop... + there is 0 warnings upon compiling...
Runtime errors and infinite loops cannot be detected by the compiler. About the infinite loop, search all the while loops again to make sure.
Reply
#7

Quote:
Originally Posted by Konstantinos
View Post
Install crashdetect plugin.



Runtime errors and infinite loops cannot be detected by the compiler. About the infinite loop, search all the while loops again to make sure.
i have used crashdetect plugin many times but it don't shows result cuz server just hangs..
Reply
#8

Quote:
Originally Posted by Anak
View Post
i have used crashdetect plugin many times but it don't shows result cuz server just hangs..
Add 'die_on_error 1' in server.cfg, and start the server.
Reply
#9

didn't solve my problem....
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)