Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Jester814 opened this issue Mar 4, 2015 · 13 comments
Open

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

Jester814 opened this issue Mar 4, 2015 · 13 comments

Comments

@Jester814
Copy link

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.

@jonpas
Copy link
Contributor

jonpas commented Mar 4, 2015

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

@FrostOX9
Copy link

FrostOX9 commented Mar 4, 2015

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

@jonpas
Copy link
Contributor

jonpas commented Mar 4, 2015

Was that happening before Arma 3 Game Update 1.40?

@FrostOX9
Copy link

FrostOX9 commented Mar 4, 2015

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

@jonpas
Copy link
Contributor

jonpas commented Mar 4, 2015

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

@nicolasbadano
Copy link
Collaborator

@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.

@rlex
Copy link

rlex commented Mar 4, 2015

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.

@Cyruz143
Copy link

Cyruz143 commented Mar 5, 2015

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

@rlex
Copy link

rlex commented Mar 5, 2015

will -nologs solve that as temporary workaround?

@nicolasbadano
Copy link
Collaborator

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.

@Cyruz143
Copy link

Cyruz143 commented Mar 6, 2015

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

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

@commy2 commy2 modified the milestones: Version 1.0, Version 0.96 Mar 6, 2015
@JamesTheClarke
Copy link

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.

@Cyruz143
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants