Failed to get server instance
Shockapp
✭
Hello.
So... I understand that this problem has been here many times, but I could not find a solution for my case on the forum.
We use self-hosted on our own server. Now our average CCU has increased to 3000 users and we are facing an error:
ReturnCode: 32762 (Failed to get server instance.)
This happens when the player tries to create a new room. At the same time, it can easily connect to existing rooms.
This is definitely not related to the CPU load, since we have an average value of 25%. Perhaps this is somehow related to the load on the network channel, since it does not exceed 100 MB/s. But we have 1 Gb/s on our server.
Something restricts further use. But we don't know what the reason is.
Does anyone know what it could be?
Thanks.
So... I understand that this problem has been here many times, but I could not find a solution for my case on the forum.
We use self-hosted on our own server. Now our average CCU has increased to 3000 users and we are facing an error:
ReturnCode: 32762 (Failed to get server instance.)
This happens when the player tries to create a new room. At the same time, it can easily connect to existing rooms.
This is definitely not related to the CPU load, since we have an average value of 25%. Perhaps this is somehow related to the load on the network channel, since it does not exceed 100 MB/s. But we have 1 Gb/s on our server.
Something restricts further use. But we don't know what the reason is.
Does anyone know what it could be?
Thanks.
0
Comments
-
Which sort of license do you use? Does it have a CCU cap?0
-
hi, @Shockapp
sorry for late response.
Please check logs for GameServer. you should see something like this:
INFO Photon.Common.LoadBalancer.LoadShedding.FeedbackController - Transit CpuUsage from Lowest to Level1 with input 11
INFO Photon.Common.LoadBalancer.LoadShedding.WorkloadController - FeedbackLevel changed: old=Lowest, new=Level1
this will make it clear
best,
ilya0 -
hi, @Shockapp
sorry for late response.
Please check logs for GameServer. you should see something like this:
INFO Photon.Common.LoadBalancer.LoadShedding.FeedbackController - Transit CpuUsage from Lowest to Level1 with input 11
INFO Photon.Common.LoadBalancer.LoadShedding.WorkloadController - FeedbackLevel changed: old=Lowest, new=Level1
this will make it clear
best,
ilya
At the moment when we start getting error, we see this in log:
2021-02-17 13:13:37,539 [11] INFO Photon.Common.LoadBalancer.LoadShedding.FeedbackController - Transit Bandwidth from High to Highest with input 10493672
2021-02-17 13:13:37,539 [11] INFO Photon.Common.LoadBalancer.LoadShedding.WorkloadController - FeedbackLevel changed: old=High, new=Highest0 -
in deploy folder file Workload.config
and put this there:<?xml version="1.0" encoding="utf-8" ?> <FeedbackControlSystem> <FeedbackControllers> <!-- CPU --> <add Name="CpuUsage" InitialInput="0" InitialLevel="Lowest"> <FeedbackLevels> <add Level="Level0" Value="10" ValueDown="0"/> <add Level="Level1" Value="20" ValueDown="9"/> <add Level="Level2" Value="30" ValueDown="19"/> <add Level="Level3" Value="40" ValueDown="29"/> <add Level="Level4" Value="50" ValueDown="39"/> <add Level="Level5" Value="60" ValueDown="49"/> <add Level="Level6" Value="70" ValueDown="58"/> <add Level="Level7" Value="80" ValueDown="67"/> <add Level="Level8" Value="90" ValueDown="77"/> <add Level="Level9" Value="110" ValueDown="77"/> </FeedbackLevels> </add> <!-- Bandwidth --> <!-- 10 / 30 / 40 / 80 / 100 MB --> <add Name="Bandwidth" InitialInput="0" InitialLevel="Lowest"> <FeedbackLevels> <add Level="Level0" Value="10485760" ValueDown="0" /> <add Level="Level1" Value="20971520" ValueDown="10480000" /> <add Level="Level2" Value="31457280" ValueDown="20968000" /> <add Level="Level3" Value="41943040" ValueDown="31450000" /> <add Level="Level4" Value="52428800" ValueDown="41940000" /> <add Level="Level5" Value="62914560" ValueDown="52420000" /> <add Level="Level6" Value="73400320" ValueDown="62910000" /> <add Level="Level7" Value="83886080" ValueDown="73390000" /> <add Level="Level8" Value="94371840" ValueDown="83880000" /> <add Level="Level9" Value="115343360" ValueDown="83880000" /><!-- Level1*11 --> </FeedbackLevels> </add> </FeedbackControllers> </FeedbackControlSystem>
this workload config should fix your issue
best,
ilya0