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

Logshark process hangs on Mac #154

Open
erdinculuturk-nw opened this issue Jun 15, 2022 · 0 comments
Open

Logshark process hangs on Mac #154

erdinculuturk-nw opened this issue Jun 15, 2022 · 0 comments

Comments

@erdinculuturk-nw
Copy link

I am running Logshark in Docker using Mac and following the instructions: https://github.com/tableau/Logshark#build-and-run-it-using-docker

However, the process hangs after being executed for some time when 24 hours log zip file is given as input.
The output files are still being created but I am not sure whether they are complete or not.
On the other hand, when I try with a smaller log file of 6 hours, the process ends successfully.

Does anyone have any idea whether it is a Mac related problem or not?

The following is the partial console output showing the starting of the process and the final part where it hangs:

docker run -v ~/TableauLogs/logs-2022_05_31_00_00_01.zip:/app/logs.zip -v ~/TableauLogs/Output:/app/Output -v ~/TableauLogs/ProdConfig.json:/app/Config/LogSharkConfig.json logshark:latest logs.zip --plugins "all" -p --writer postgres
info: LogShark.LogSharkRunner[0]
      Starting to process Log set logs.zip
info: LogShark.LogSharkRunner[0]
      Generated Run ID: 22061406550338-34b8ea264a18-logs
info: LogShark.LogSharkRunner[0]
      Postgres Writer requested. Initializing writer factory...
info: LogShark.Shared.LogReading.TableauLogsExtractor[0]
      => 22061406550338-34b8ea264a18-logs
      Starting TableauLogsExtractor for log set `logs.zip`
info: LogShark.Shared.LogReading.TableauLogsExtractor[0]
      => 22061406550338-34b8ea264a18-logs
      Provided log set appears to be zip file
...
...
...
dbug: LogShark.ZipArchivePool[0]
      => 22061406550338-34b8ea264a18-logs
      Got request for ZipArchive for file `logs.zip`. Currently checked out ZipArchive count is 1
info: LogShark.TableauLogsProcessor[0]
      => 22061406550338-34b8ea264a18-logs => VizportalJava => node3/vizportal_0.20221.22.0516.17204294421438813316397/logs/vizportal-instrumentation-metrics_node3-0.log
      Starting to process log file node3/vizportal_0.20221.22.0516.17204294421438813316397/logs/vizportal-instrumentation-metrics_node3-0.log
info: LogShark.TableauLogsProcessor[0]
      => 22061406550338-34b8ea264a18-logs => VizportalJava => node3/vizportal_0.20221.22.0516.17204294421438813316397/logs/vizportal-instrumentation-metrics_node3-0.log.2022-05-29
      Completed processing file node3/vizportal_0.20221.22.0516.17204294421438813316397/logs/vizportal-instrumentation-metrics_node3-0.log.2022-05-29 in 00:04:28.5872109 (699 MB, 792889 lines, 2.60 MB/s)
dbug: LogShark.ZipArchivePool[0]
      => 22061406550338-34b8ea264a18-logs => VizportalJava => node3/vizportal_0.20221.22.0516.17204294421438813316397/logs/vizportal-instrumentation-metrics_node3-0.log.2022-05-29
      Received return request for ZipArchive for path `logs.zip`. Currently checked out ZipArchive count is 2.
dbug: LogShark.ZipArchivePool[0]
      => 22061406550338-34b8ea264a18-logs
      Got request for ZipArchive for file `logs.zip`. Currently checked out ZipArchive count is 1
info: LogShark.TableauLogsProcessor[0]
      => 22061406550338-34b8ea264a18-logs => VizportalJava => node3/vizportal_0.20221.22.0516.17204294421438813316397/logs/vizportal-instrumentation-metrics_node3-1.log.2022-05-29
      Starting to process log file node3/vizportal_0.20221.22.0516.17204294421438813316397/logs/vizportal-instrumentation-metrics_node3-1.log.2022-05-29

Thanks.

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

No branches or pull requests

1 participant