Unable to Create Thread

  1. 8 years ago

    I noticed last night that the the no new data was making it to the War Room from out server. The stats just stopped at 1:08. I left it for a while to see if it would recover but only a full server restart did the job. The Alive log is very large (1.8MB) so I've uploaded to my Google Drive . Here's an excerpt from where things seem to have started going wrong:

    ']]
    [2015-10-18 01:08:53] [debug] |/-\ Elapsed time: 0.379629ms
    [2015-10-18 01:08:57] [debug] >>> ParseMessage [DateTime ['%d/%m/%Y %H:%M:%S']]
    [2015-10-18 01:08:57] [debug]     Function: DateTime
    [2015-10-18 01:08:57] [debug]     Params:
    [2015-10-18 01:08:57] [debug]             - [%d/%m/%Y %H:%M:%S]
    [2015-10-18 01:08:57] [debug]     Return value [['18/10/2015 01:08:57']]
    [2015-10-18 01:08:57] [debug] |/-\ Elapsed time: 0.413606ms
    [2015-10-18 01:08:58] [debug] >>> ParseMessage [SendJSONAsync ['POST','events','{"realTime":"18/10/2015 01:08:51","Server":"148.251.47.69","Group":"1Tac","Operation":"1Tac Alive Server","Map":"Altis","gameTime":"1856","Event":"Kill","KilledSide":"EAST","Killedfaction":"Russia (MSV)","KilledType":"AA Specialist","KilledClass":"Infantry","KilledPos":"257223","KilledGeoPos":[25777.4,22370.2,0.00139618],"KillerSide":"WEST","Killerfaction":"USA (Army - D)","KillerType":"Team Leader","KillerClass":"Infantry","KillerPos":"257223","KillerGeoPos":[25721.2,22322.7,0.00146866],"Weapon":"SIG 556 (Camo)","WeaponType":"srifle_DMR_03_multicam_F","Distance":75,"Killed":"O Alpha 2-1:3","Killer":"B Alpha 1-1:1 (Head) REMOTE","KillerConfig":"rhsusf_army_ocp_teamleader","KilledConfig":"rhs_msv_aa","Player":"76561197975149309","PlayerName":"Head","playerGroup":"1Tac"}']]
    [2015-10-18 01:08:58] [debug]     Function: SendJSONAsync
    [2015-10-18 01:08:58] [debug]     Params:
    [2015-10-18 01:08:58] [debug]             - [POST]
    [2015-10-18 01:08:58] [debug]             - [events]
    [2015-10-18 01:08:58] [debug]             - [{"realTime":"18/10/2015 01:08:51","Server":"148.251.47.69","Group":"1Tac","Operation":"1Tac Alive Server","Map":"Altis","gameTime":"1856","Event":"Kill","KilledSide":"EAST","Killedfaction":"Russia (MSV)","KilledType":"AA Specialist","KilledClass":"Infantry","KilledPos":"257223","KilledGeoPos":[25777.4,22370.2,0.00139618],"KillerSide":"WEST","Killerfaction":"USA (Army - D)","KillerType":"Team Leader","KillerClass":"Infantry","KillerPos":"257223","KillerGeoPos":[25721.2,22322.7,0.00146866],"Weapon":"SIG 556 (Camo)","WeaponType":"srifle_DMR_03_multicam_F","Distance":75,"Killed":"O Alpha 2-1:3","Killer":"B Alpha 1-1:1 (Head) REMOTE","KillerConfig":"rhsusf_army_ocp_teamleader","KilledConfig":"rhs_msv_aa","Player":"76561197975149309","PlayerName":"Head","playerGroup":"1Tac"}]
    [2015-10-18 01:08:58] [debug]     Return value [['SendJSONAsync','OK']]
    [2015-10-18 01:08:58] [debug] |/-\ Elapsed time: 0.607723ms
    [2015-10-18 01:08:58] [debug] ### Pushing: {"ok":true,"id":"f956231748958d1ff0706a7835c20dac","rev":"1-664dda7abb42cd2b1d61598c1289134f"}
    
    [2015-10-18 01:08:58] [debug] >>> ParseMessage [SendJSONAsync []]
    [2015-10-18 01:08:58] [debug]     Function: SendJSONAsync
    [2015-10-18 01:08:58] [debug]     Params:
    [2015-10-18 01:08:58] [debug]     Return value [['{"ok":true,"id":"f956231748958d1ff0706a7835c20dac","rev":"1-664dda7abb42cd2b1d61598c1289134f"}
    ']]
    [2015-10-18 01:08:58] [debug] |/-\ Elapsed time: 0.464148ms
    [2015-10-18 01:09:04] [debug] >>> ParseMessage [SendJSONAsync ['POST','events','{"realTime":"18/10/2015 01:08:57","Server":"148.251.47.69","Group":"1Tac","Operation":"1Tac Alive Server","Map":"Altis","gameTime":"1857","Event":"Kill","KilledSide":"EAST","Killedfaction":"Russia (MSV)","KilledType":"Machine Gunner","KilledClass":"Infantry","KilledPos":"257223","KilledGeoPos":[25730,22339.1,0.00112534],"KillerSide":"WEST","Killerfaction":"USA (Army - D)","KillerType":"Team Leader","KillerClass":"Infantry","KillerPos":"257223","KillerGeoPos":[25721.2,22322.7,0.00146866],"Weapon":"SIG 556 (Camo)","WeaponType":"srifle_DMR_03_multicam_F","Distance":19,"Killed":"O Alpha 1-1:2","Killer":"B Alpha 1-1:1 (Head) REMOTE","KillerConfig":"rhsusf_army_ocp_teamleader","KilledConfig":"rhs_msv_emr_machinegunner","Player":"76561197975149309","PlayerName":"Head","playerGroup":"1Tac"}']]
    [2015-10-18 01:09:04] [debug]     Function: SendJSONAsync
    [2015-10-18 01:09:04] [debug]     Params:
    [2015-10-18 01:09:04] [debug]             - [POST]
    [2015-10-18 01:09:04] [debug]             - [events]
    [2015-10-18 01:09:04] [debug]             - [{"realTime":"18/10/2015 01:08:57","Server":"148.251.47.69","Group":"1Tac","Operation":"1Tac Alive Server","Map":"Altis","gameTime":"1857","Event":"Kill","KilledSide":"EAST","Killedfaction":"Russia (MSV)","KilledType":"Machine Gunner","KilledClass":"Infantry","KilledPos":"257223","KilledGeoPos":[25730,22339.1,0.00112534],"KillerSide":"WEST","Killerfaction":"USA (Army - D)","KillerType":"Team Leader","KillerClass":"Infantry","KillerPos":"257223","KillerGeoPos":[25721.2,22322.7,0.00146866],"Weapon":"SIG 556 (Camo)","WeaponType":"srifle_DMR_03_multicam_F","Distance":19,"Killed":"O Alpha 1-1:2","Killer":"B Alpha 1-1:1 (Head) REMOTE","KillerConfig":"rhsusf_army_ocp_teamleader","KilledConfig":"rhs_msv_emr_machinegunner","Player":"76561197975149309","PlayerName":"Head","playerGroup":"1Tac"}]
    [2015-10-18 01:09:04] [error] ###### HandleMessage - SendJSONAsync ######
    [2015-10-18 01:09:04] [error]     Error: Unable to create thread.
    [2015-10-18 01:09:04] [error]     RAW:   SendJSONAsync ['POST','events','{"realTime":"18/10/2015 01:08:57","Server":"148.251.47.69","Group":"1Tac","Operation":"1Tac Alive Server","Map":"Altis","gameTime":"1857","Event":"Kill","KilledSide":"EAST","Killedfaction":"Russia (MSV)","KilledType":"Machine Gunner","KilledClass":"Infantry","KilledPos":"257223","KilledGeoPos":[25730,22339.1,0.00112534],"KillerSide":"WEST","Killerfaction":"USA (Army - D)","KillerType":"Team Leader","KillerClass":"Infantry","KillerPos":"257223","KillerGeoPos":[25721.2,22322.7,0.00146866],"Weapon":"SIG 556 (Camo)","WeaponType":"srifle_DMR_03_multicam_F","Distance":19,"Killed":"O Alpha 1-1:2","Killer":"B Alpha 1-1:1 (Head) REMOTE","KillerConfig":"rhsusf_army_ocp_teamleader","KilledConfig":"rhs_msv_emr_machinegunner","Player":"76561197975149309","PlayerName":"Head","playerGroup":"1Tac"}']
    [2015-10-18 01:09:04] [debug]     Return value [['SendJSONAsync','ERROR','Unable to create thread.']]
    [2015-10-18 01:09:04] [debug] |/-\ Elapsed time: 9.86018ms
    [2015-10-18 01:09:04] [debug] >>> ParseMessage [SendJSONAsync []]
    [2015-10-18 01:09:04] [debug]     Function: SendJSONAsync
    [2015-10-18 01:09:04] [debug]     Params:
    [2015-10-18 01:09:04] [debug]     End of JSON reached
    [2015-10-18 01:09:04] [debug]     Return value [['END']]
    [2015-10-18 01:09:04] [debug] |/-\ Elapsed time: 0.331648ms
    [2015-10-18 01:09:27] [debug] >>> ParseMessage [DateTime ['%d/%m/%Y %H:%M:%S']]
    [2015-10-18 01:09:27] [debug]     Function: DateTime
    [2015-10-18 01:09:27] [debug]     Params:
    [2015-10-18 01:09:27] [debug]             - [%d/%m/%Y %H:%M:%S]
    [2015-10-18 01:09:27] [debug]     Return value [['18/10/2015 01:09:27']]
    [2015-10-18 01:09:27] [debug] |/-\ Elapsed time: 0.462082ms
    [2015-10-18 01:09:30] [debug] >>> ParseMessage [SendJSONAsync ['POST','sys_perf','{"realTime":"18/10/2015 01:09:27","Server":"148.251.47.69","Operation":"1TacAliveTestingMissionv22","Map":"Altis","gameTime":"1859","Type":"Data","FPS":49231,"FPSMIN":43478,"CPS":20139,"PLAYERS":2,"LOCAI":90,"REMAI":0,"Active":16,"Inactive":114,"Units":802,"PVehicles":106}']]
    [2015-10-18 01:09:30] [debug]     Function: SendJSONAsync
    [2015-10-18 01:09:30] [debug]     Params:
    [2015-10-18 01:09:30] [debug]             - [POST]
    [2015-10-18 01:09:30] [debug]             - [sys_perf]
    [2015-10-18 01:09:30] [debug]             - [{"realTime":"18/10/2015 01:09:27","Server":"148.251.47.69","Operation":"1TacAliveTestingMissionv22","Map":"Altis","gameTime":"1859","Type":"Data","FPS":49231,"FPSMIN":43478,"CPS":20139,"PLAYERS":2,"LOCAI":90,"REMAI":0,"Active":16,"Inactive":114,"Units":802,"PVehicles":106}]
    [2015-10-18 01:09:30] [error] ###### HandleMessage - SendJSONAsync ######
    [2015-10-18 01:09:30] [error]     Error: Unable to create thread.
    [2015-10-18 01:09:30] [error]     RAW:   SendJSONAsync ['POST','sys_perf','{"realTime":"18/10/2015 01:09:27","Server":"148.251.47.69","Operation":"1TacAliveTestingMissionv22","Map":"Altis","gameTime":"1859","Type":"Data","FPS":49231,"FPSMIN":43478,"CPS":20139,"PLAYERS":2,"LOCAI":90,"REMAI":0,"Active":16,"Inactive":114,"Units":802,"PVehicles":106}']
    [2015-10-18 01:09:30] [debug]     Return value [['SendJSONAsync','ERROR','Unable to create thread.']]
    [2015-10-18 01:09:30] [debug] |/-\ Elapsed time: 0.518893ms
    [2015-10-18 01:09:30] [debug] >>> ParseMessage [SendJSONAsync []]
    [2015-10-18 01:09:30] [debug]     Function: SendJSONAsync
    [2015-10-18 01:09:30] [debug]     Params:
    [2015-10-18 01:09:30] [debug]     End of JSON reached
    [2015-10-18 01:09:30] [debug]     Return value [['END']]
    [2015-10-18 01:09:30] [debug] |/-\ Elapsed time: 0.406395ms
    [2015-10-18 01:09:46] [debug] >>> ParseMessage [DateTime ['%d/%m/%Y %H:%M:%S']]
    [2015-10-18 01:09:46] [debug]     Function: DateTime
    [2015-10-18 01:09:46] [debug]     Params:
    [2015-10-18 01:09:46] [debug]             - [%d/%m/%Y %H:%M:%S]
    [2015-10-18 01:09:46] [debug]     Return value [['18/10/2015 01:09:46']]
    [2015-10-18 01:09:46] [debug] |/-\ Elapsed time: 0.669206ms
  2. You were on Linux, right ?
    I'll PM you a with a new file you can try out.

  3. Edited 8 years ago by Feanix

    Thanks! I've loaded it on and I'll let you know if anything changes.

    Another problem that may be related to this is that the AAR is no longer updating even the the Battle Feed is updating.

    http://alivemod.com/war-room/showoperation?name=1Tac%20Alive%20Server&map=Altis&clan=1Tac

  4. Unfortunately it's still happening. It seems to happen when the server FPS is <1 for extended periods of time (something we've been experiencing quite regularly, we're trying to figure out why that's happening still).

    here's the log: https://drive.google.com/file/d/0B87ZgsMtCzwhbGc3WXZHMHBUMDg/view?usp=sharing

  5. I will add extra information on the threading error and send you a new file so we can conclude what's happening.

  6. Perfect, thanks!

  7. Edited 8 years ago by secure

    Also, when it happens... And before you stop the server...

    Run these commands in your Linux console:

    ulimit -u
    ps -elfT | grep -i arma3server | wc -l

    Edit!
    Run them with the same user you're running the arma3server with.
    And paste the output here.

  8. Okay, here's the output from the console:

    arma2@1tac:~/arma3$ ulimit -u
    256132
    arma2@1tac:~/arma3$ ps -elfT | grep -i arma3server | wc -l
    56

    Alive Logs: https://drive.google.com/file/d/0B87ZgsMtCzwhYnZFTlJHR1UtbkU/view?usp=sharing

  9. Hmm.. Did you use the latest plugin I sent you ?
    I can't seem to find the error code I put in there.

    I'll re-compile and send it to you again when I get home in a few hours.

  10. I believe so. I'll double check as well.

 

or Sign Up to reply!