AGM icon indicating copy to clipboard operation
AGM copied to clipboard

20mm-30mm script causes very bad server desynch.

Open Jester814 opened this issue 9 years ago • 13 comments

My unit has been using the RHS A-10 and the vanilla A-164 and every time the main gun fires the server goes into a desync period and has even crashed in the middle of an operation on more than one occasion.

We finally nailed down the problem to the script that changes 20mm rounds to 30mm rounds when the GAU is fired. It causes massive RPT spam issues as well as the server desynch:

17:22:12 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:12 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:13 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:14 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:14 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:14 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:14 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:42 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:42 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:42 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:42 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:42 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:42 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:42 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:42 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:42 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:42 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:42 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:42 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:42 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:42 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:42 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:43 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:43 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:43 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:43 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:43 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:43 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:43 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:44 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:44 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:44 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:44 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:44 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:44 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:44 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:44 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:44 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:44 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:44 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:44 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:44 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:44 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:45 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:45 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:45 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:45 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:45 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:45 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:45 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy
17:22:45 Submunition: AGM_Gatling_30mm_HE_Plane_CAS_01_Deploy

With a server that has 50-60 personnel on it this is a very bad problem. I'm not sure how bad it is on a less populated server.

Jester814 avatar Mar 04 '15 19:03 Jester814

Is that firing with RHS' A-10 or Vanilla's A-164 Wipeout?

jonpas avatar Mar 04 '15 19:03 jonpas

It's firing with both the RHS A-10 and the A-164 Wipeout. We tested it with both aircraft.

FrostOX9 avatar Mar 04 '15 19:03 FrostOX9

Was that happening before Arma 3 Game Update 1.40?

jonpas avatar Mar 04 '15 19:03 jonpas

Yes. The date of our first test was 22FEB. Our second test (which included the A-164) was on 1MAR.

FrostOX9 avatar Mar 04 '15 19:03 FrostOX9

Probably not, but it might have been fixed in 1.40?

jonpas avatar Mar 04 '15 19:03 jonpas

@Jester814, Arma 3 is apparently writting to RPT each time a submunition is deployed. The GAU use submunition to allow for that high fire rate, so the log is spammed big time. There's not much we can do about it, besides temporarily removing the AGM_Aircraft.pbo.

I hope they'll fix that soon.

nicolasbadano avatar Mar 04 '15 21:03 nicolasbadano

With a server that has 50-60 personnel on it this is a very bad problem. I'm not sure how bad it is on a less populated server.

Massive desync and lags even with 2-4 ppl on server.

rlex avatar Mar 04 '15 23:03 rlex

Has anyone logged a ticket for this that we can vote on for visibility?

Cyruz143 avatar Mar 05 '15 08:03 Cyruz143

will -nologs solve that as temporary workaround?

rlex avatar Mar 05 '15 13:03 rlex

Yes, probably; you're right.

The desync is caused exclusively by the time it takes the server to open the log file, write and close it again; Arma does this on the main code thread, thus blocking the excecusion. If the RPT in ont written then there shouldn't be any performance degradation.

nicolasbadano avatar Mar 05 '15 14:03 nicolasbadano

Anyone had a chance to try this on the perf client/server binary?

https://www.dropbox.com/sh/582opsto4mmr8d8/3BSy9PdRGm

Cyruz143 avatar Mar 06 '15 13:03 Cyruz143

Is there an official BI Tracker open for the issues caused by BIS' logging evey sub-munition event to the RPT file? If yes, please post a link and I'll add my vote as well as asking my community members to do the same.

JamesTheClarke avatar Mar 27 '15 13:03 JamesTheClarke

Someone needs to test it on the perf binary, I asked Dwarden and he seemed to think it was some debug logging stuff that ended up in the main build by accident.

Cyruz143 avatar Mar 27 '15 13:03 Cyruz143