Uploaded image for project: 'AdMax'
  1. AdMax
  2. ADMAX-2745

google sync takes a long time to exit / does not exit

    Details

    • Sprint:
      Sprint 2, Sprint 4, Sprint 5, Sprint 1, Sprint 2

      Description

      Possible threading issues in google sync causing intermittent deadlock or may just be garbage collection taking a long time. The log file indicates the app is done, and the stack trace indicates a bunch of merge threads are sleeping. There is probably some sort of race condition in the GoogleReportingTool class, or in SearchEngineUpdater.

      seupdate.sh -d3 --distribution 3 --accountid 521 --groups --listings

      The timestamp when i killed this process was July 22, 6:15 am pacific. About 11 hours after the last line in the log file.

      "Timer-110" daemon prio=1 tid=0x00002aaaadd9a390 nid=0x591a in Object.wait() [0x0000000041e4c000..0x0000000041e4cb40]

      at java.lang.Object.wait(Native Method)

      • waiting on <0x00002aab1ae80438> (a java.util.TaskQueue)

      at java.lang.Object.wait(Unknown Source)

      at java.util.TimerThread.mainLoop(Unknown Source)

      • locked <0x00002aab1ae80438> (a java.util.TaskQueue)

      at java.util.TimerThread.run(Unknown Source)

      "Timer-109" daemon prio=1 tid=0x00002aaaaf076fb0 nid=0x58ad in Object.wait() [0x0000000043b69000..0x0000000043b69bc0]

      at java.lang.Object.wait(Native Method)

      • waiting on <0x00002aab64342da0> (a java.util.TaskQueue)

      at java.lang.Object.wait(Unknown Source)

      at java.util.TimerThread.mainLoop(Unknown Source)

      • locked <0x00002aab64342da0> (a java.util.TaskQueue)

      at java.util.TimerThread.run(Unknown Source)

      "MergeT2" prio=1 tid=0x00002aaaaef9c0a0 nid=0x4900 sleeping[0x000000004103e000..0x000000004103edc0]

      at java.lang.Thread.sleep(Native Method)

      at com.thesearchagency.searchengines.google.GoogleReportingTool$PrimaryReportRowHandler$RowMergeWorker.run(GoogleReportingTool.java:1315)

      "MergeT1" prio=1 tid=0x00002aaaaf0fc400 nid=0x48ff sleeping[0x0000000040f3d000..0x0000000040f3de40]

      at java.lang.Thread.sleep(Native Method)

      at com.thesearchagency.searchengines.google.GoogleReportingTool$PrimaryReportRowHandler$RowMergeWorker.run(GoogleReportingTool.java:1315)

      "Low Memory Detector" daemon prio=1 tid=0x00002aaaaaae8340 nid=0x3e44 runnable [0x0000000000000000..0x0000000000000000]

      "CompilerThread1" daemon prio=1 tid=0x00002aaaaaae67b0 nid=0x3e43 waiting on condition [0x0000000000000000..0x0000000040c396e0]

      "CompilerThread0" daemon prio=1 tid=0x00002aaaaaae52a0 nid=0x3e42 waiting on condition [0x0000000000000000..0x0000000040b38760]

      "AdapterThread" daemon prio=1 tid=0x00002aaaaaae3be0 nid=0x3e41 waiting on condition [0x0000000000000000..0x0000000000000000]

      "Signal Dispatcher" daemon prio=1 tid=0x00002aaaaaae2840 nid=0x3e40 waiting on condition [0x0000000000000000..0x0000000000000000]

      "Surrogate Locker Thread (CMS)" daemon prio=1 tid=0x00002aaaaaae16a0 nid=0x3e3f waiting on condition [0x0000000000000000..0x0000000040836e08]

        Attachments

        1. capture.JPG
          91 kB
          Jeff Shih
        2. Pivotal 18718645 Jira 2745 - Google synch too long.wav
          2.20 MB
          Frank Han
        3. stderrCompressed.txt
          87 kB
          Jeff Theroux
        4. stdoutCompressed.txt
          48 kB
          Jeff Theroux

          Activity

            People

            • Assignee:
              leonardo.sereno Leonardo Sereno (Inactive)
              Reporter:
              therouxj Jeff Theroux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: