Jump to content

Massive Lags


Psythrandir

Recommended Posts

Hi!

Since the last Arma3 Update to 1.52 we've got massive lags on our server. These seems to be no normal lags which are displaying a yellow or red chain.
It feels like the server freezes (sometimes up to 15 minutes) and than its running normal again without a restart. In that time players can still play but they are in a frozen world. When the freeze is over all things that the player where doing happen on the server imidietly. 

We have BE deactivadet so no player is getting a kick.

We first thought the reason is one of the AI scripts whe have running but we disabled them and these lags still happen. Server CPU use is up to 30% and memory up to 5%.
Server FPS are around 40-50 and yet we have these lags.

We have already received even another server from our provider at another location, but the problem appears repeatedly.

Apart from the AI scripts we have only running the Earplug script, igiload, a "welcome" and a Briefing script.

I can not imagine that the problem lies in these scripts, because we have this running for some time and never had problems with them.

 

Can anyone help us with this problem?

 

Link to comment
Share on other sites

We have still the same problem although we done the following things: 

We are using 0.3.4.0 Build 1 atm.

 

We had wiped our DB - doesn't helped
We had disabled all scripts and customizations - 
doesn't helped
Our provider moved us another server wich is runnig onto another machine too - doesn't helped
Our provider has doing maintance work on the server serveral times. - doesn't helped

We now running in vanilla but still have massive lags/desynchs. 

I recognized following errors in our RPT:

...
 5:16:17 Client: Object 6:132 (type Type_90) not found.
 5:16:17 Client: Object 6:132 (type Type_91) not found.
 5:16:17 Client: Object 6:132 (type Type_400) not found.
 5:16:17 Client: Object 6:133 (type Type_90) not found.
 5:16:17 Client: Object 6:133 (type Type_91) not found.
 5:16:17 Client: Object 6:133 (type Type_400) not found.
 5:17:10 Server: Object 2:1699 not found (message Type_327)
 5:17:31 Server: Object 2:1703 not found (message Type_327)
...

(Kind of the errors above are very very often in the RPT)

 

...
6:01:53 Error in expression <= _this select 2;
_sound = EPOCH_sounds select _soundIndex;

if (!isNil "_sound">
 6:01:53   Error position: <select _soundIndex;

if (!isNil "_sound">
 6:01:53   Error Zero divisor
 6:01:53 File x\addons\a3_epoch_server\compile\epoch_antagonists\EPOCH_server_handle_say3D.sqf, line 14
 6:02:01 Error in expression <= _this select 2;
_sound = EPOCH_sounds select _soundIndex;

if (!isNil "_sound">
 6:02:01   Error position: <select _soundIndex;

if (!isNil "_sound">
 6:02:01   Error Zero divisor
 6:02:01 File x\addons\a3_epoch_server\compile\epoch_antagonists\EPOCH_server_handle_say3D.sqf, line 14
 6:02:18 Error in expression <= _this select 2;
_sound = EPOCH_sounds select _soundIndex;

if (!isNil "_sound">
 6:02:18   Error position: <select _soundIndex;

if (!isNil "_sound">
 6:02:18   Error Zero divisor
 6:02:18 File x\addons\a3_epoch_server\compile\epoch_antagonists\EPOCH_server_handle_say3D.sqf, line 14
 6:02:26 Error in expression <= _this select 2;
_sound = EPOCH_sounds select _soundIndex;

if (!isNil "_sound">
 6:02:26   Error position: <select _soundIndex;

if (!isNil "_sound">
 6:02:26   Error Zero divisor
...

 

 

 

 

 

 

Link to comment
Share on other sites

did you check the basic.cfg settings? sounds like you should give that a try.

We didnt changed anything with this file. It should be vanilla.

 

First you need to fix those errors, could you make a pastebin of your entire rpt?

Yes I'll do that later when I come home.

Link to comment
Share on other sites

I don't see any other issues, that stand out at this point and I am looking into that error. I would say to make a backup of your current server setup and use a fresh copy of the mission file and report back. There are a lot of factors that could cause an issue like this.

Link to comment
Share on other sites

THX for your support! 

Our Provider has create us a new vanilla server on the same machine where our mainserver is running. 
We're testing it since Sunday evening and until now we can't recognize any lags.

The support is trying to copy the settings of the testserver onto our mainserver. We hope this will fix the issue.

 

BTW: Because we're not the only ones who have that kind of problem I'm in a discussion about this issue with others in this thread too: http://epochmod.com/forum/index.php?/topic/31551-a3eai-roamingvehicle-ai-patrols-discontinued/&page=47

 

Link to comment
Share on other sites

Do you have a HC or something else, that has init enablesimulation false in the mission.sqm?

I had this and after the update, sometimes all players have executes this comand (I don't know why). So I have deleted this and now no more freeze.

Execute "player enablesimulation true" in the adminconsole, when freezed. If you are unfreezed, you must search for "player enablesimulation false" in your scripts!

Edited by He-Man
Link to comment
Share on other sites

Now we've reduced the A3EAI spawns but that did not solved anything.

We've got 3 very big lags today. ALL of these lags happend when a player tryed to connect to the server.
At this Time I've found following in the RPT:

 

21:38:23 Server: Network message 2409ff is pending
21:38:23 Server: Network message 240a01 is pending
21:38:23 Server: Network message 240a01 is pending
21:38:23 Server: Network message 240a01 is pending
21:38:23 Server: Network message 240a03 is pending
21:38:23 Server: Network message 240a04 is pending
21:38:23 Server: Network message 240a05 is pending
21:38:23 Server: Network message 240a06 is pending
21:38:23 Server: Network message 240a07 is pending
21:38:23 Server: Network message 240a08 is pending
21:38:23 Server: Network message 240a09 is pending
21:38:23 Server: Network message 240a09 is pending
21:38:23 Server: Network message 240a09 is pending
21:38:23 Server: Network message 240a09 is pending
21:38:23 Server: Network message 240a09 is pending
21:38:23 Server: Network message 240a0a is pending
21:38:23 Server: Network message 240a0a is pending
21:38:23 Server: Network message 240a0a is pending
21:38:23 Server: Network message 240a0a is pending
21:38:23 Server: Network message 240a0b is pending
21:38:23 Server: Network message 240a0c is pending
21:38:23 Server: Network message 240a0c is pending
21:38:23 Server: Network message 240a0d is pending
21:38:23 Server: Network message 240a0d is pending
21:38:23 Server: Network message 240a0d is pending
21:38:23 Server: Network message 240a0e is pending
21:38:23 Server: Network message 240a0f is pending
21:38:23 Server: Network message 240a0f is pending
21:38:23 Server: Network message 240a10 is pending
21:38:23 Server: Network message 240a10 is pending
21:38:23 Server: Network message 240a11 is pending
21:38:23 Server: Network message 240a11 is pending
21:38:23 Server: Network message 240a13 is pending
21:38:23 Server: Network message 240a13 is pending
21:38:23 Server: Network message 240a13 is pending
21:38:23 Server: Network message 240a14 is pending
21:38:23 Server: Network message 240a32 is pending
21:38:23 Server: Network message 240a32 is pending
21:38:23 Server: Network message 240a32 is pending
21:38:23 Server: Network message 240a32 is pending
21:38:23 Server: Network message 240a32 is pending
21:38:23 Server: Network message 240a32 is pending
21:38:23 Server: Network message 240a32 is pending
21:38:23 Server: Network message 240a33 is pending
21:38:23 Server: Network message 240a3b is pending
21:38:23 Server: Network message 240a3b is pending
21:38:23 Server: Network message 240a3c is pending

and..

21:38:17 No player found for channel 1358753728 - message ignored
21:38:17 No player found for channel 1358753728 - message ignored
21:38:17 No player found for channel 1358753728 - message ignored
...

(about 30 or more times)

This kind of error messege I did't seen before I think.

 

The custom spawn script we are using has the option to spawn with an halojump by using a parachute .... A3EAI has an option with parachutes too (Helicopter patrouls and helicopter reinforcements) which we have enabled.

May be the lags have something to do with the parachutes??

 

(sorry for just copying my post from the A3EAI thread but this issue makes me mad und we want to figure out whats the reason for)

Link to comment
Share on other sites

  • 3 weeks later...

Hi Zusammen.

Ich schreibe mal auf Deutsch.

Ich habe heftige Probleme mit heftigen Lags, teilweise lassen sich Autos nicht aufschliessen oder bei Looten reagiert der Server garnicht und es wird nicht gelootet.

Server läuft auf einem Root CPU: 

Spieler:
 
8% (3/40)
CPU:
 
8,87%
Speicher:
 
4% (916,64 MB)
Bandbreite:
 
0 bytes/Sek

Habe keine Scripte Installiert ausser Infistar. RPT Datei wächst in kurzer Zeit auf mehrere MB:

Ausschnitt aus der LOG:

21:09:17 Wrong player index passed to NetworkObjectInfo::GetPlayerObjectInfo - max=0, received=1
21:09:17 Wrong player index passed to NetworkObjectInfo::GetPlayerObjectInfo - max=0, received=1
21:09:17 Wrong player index passed to NetworkObjectInfo::GetPlayerObjectInfo - max=0, received=1
21:09:17 Wrong player index passed to NetworkObjectInfo::GetPlayerObjectInfo - max=0, received=1
21:09:17 Wrong player index passed to NetworkObjectInfo::GetPlayerObjectInfo - max=0, received=1
21:09:17 Wrong player index passed to NetworkObjectInfo::GetPlayerObjectInfo - max=0, received=1

Hat jemand eine Idee woran das liegen kann oder ist das aktuell normal bei der 0.3.4.x (Build 050)?

Vielen Dank

Übersetzung:

Hi everyone.

I write times in German.

I have severe problems with violent lags, partly can not unlock cars or looting the server responds not at all and it will not be looted.

Server runs on a CPU Root:

Player:8% (3/40)

CPU:8.87%

Memory:4% (916.64 MB)

Have no scripts Installs except Infistar. RPT file grows in a short time on a number of MB:

Excerpt from the LOG:

21:09:17 Wrong player index passed to Network Object Info :: GetPlayerObjectInfo - max = 0, Received = 1
21:09:17 Wrong player index passed to Network Object Info :: GetPlayerObjectInfo - max = 0, Received = 1
21:09:17 Wrong player index passed to Network Object Info :: GetPlayerObjectInfo - max = 0, Received = 1
21:09:17 Wrong player index passed to Network Object Info :: GetPlayerObjectInfo - max = 0, Received = 1
21:09:17 Wrong player index passed to Network Object Info :: GetPlayerObjectInfo - max = 0, Received = 1
21:09:17 Wrong player index passed to Network Object Info :: GetPlayerObjectInfo - max = 0, Received = 1
Does anyone have an idea on what to do or is currently normal in the 0.3.4.x (Build 050)?

Many thanks

Link to comment
Share on other sites

Du scheinst das gleiche Problem wie wir zu haben. Leider konnten wir den Fehler noch nicht lokalisieren. Wir konnten lediglich die Dauer der Lags durch das Entfernen einiger scrips erheblich reduzieren. 

Wir haben jetzt ein von Black Eagle modifiziertes VEMF, das A3AI 0.9.3 laufen und ein custom lootbox script laufen. Dadurch konnten wir die Dauer der lags auf wenige Sekunden reduzieren. Sofern wir beobachtet haben, tauchen diese Lags nur noch dann auf, wenn ein Spieler das spawnen der Bots aus dem VEMF script triggert.

 

Google transaltion:

You seem the same problem as we have. Unfortunately, we could not locate the fault. We were only able to significantly reduce the duration of the lag by removing some scrips.

We now have a modified Black Eagle VEMF that run A3AI 0.9.3 and running a custom script lootbox. This allowed us to reduce the duration of the lag of a few seconds. Insofar as we have observed, these lags appear only when a player's spawn the bots from the VEMF script triggers.

Link to comment
Share on other sites

Hi

Ich kann Dir glaube sagen was das problem ist. Sobald einer Deiner Spieler Revived oder Du es per Infi machst Friert der Server ein. Habe keine Ahnung wie lange aber es kann danach nicht mehr gejoint werden, Looten geht nicht, Fahrzeuge lassen sich nicht öffnen bzw schliessen. Der Server Friert ein.

Zumindestens ist es bei uns so. Haben es gestern mal Provoziert und siehe da Spieler wiederbelebt, dass wars.

Nach Neustart alles ok. Aktuell habe ich einen "nackten" Epoch Server ohne jegliche Scripte. Also daran kann es nicht liegen. Und Power hat der Root mehr als genug. Habe 50 Server FPS min. 43 wenn jemand Joint.

Viele Grüße

 

Google transaltion:

Hi

I think you say what the problem is. Once one of your players Revived or you can personalize it by Infi doing freezes the server. Have no idea how long but it can not thereafter be gejoint, looting does not go, vehicles will not open or close. The server freezes.

After restarting everything ok. Currently I have a "naked" Epoch server without any scripts. So it can not lie. And Power is the root more than enough. Have 50 Server FPS min. 43 if anyone joint.

Many greetings

Link to comment
Share on other sites

Jo das könnte dann mein Problem sein :(

Mit Epoch AH werden alle spieler gekickt: BattlEye: Admin Ban (EpochMod.com Autoban)

Folgende Einstellungen:

// Anti Hack
antihack_Enabled = true; // built-in Anti-Hack
antihack_cfgPatchesCheck = false; // cfgPatches (AddOn Check)
antihack_PVSPrefix = "EPAH_"; // used to help whitelist pveh variables in BE without BEC and watchdog, leave blank to use no prefix.
antihack_cfgPatchesCfg[] = {1}; // 0 == BAN - 1 = LOG
antihack_ahInitAuthCfg[] = {1,180}; // 0 == BAN - 1 = LOG, 60 = ban or log if anti hack is not started in 180 seconds

antihack_addActionCheck = false; // false to disable addAction checks
antihack_customVariablesCheck = false; // true enables variable scanning on missionNamespace

Edited by gotteshand
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...