Article - CS299321

ThingWorx Analytics - Models and other Jobs go missing, application restart required - java.io.IOException: Too many open files

Modified: 28-Jun-2019   


Applies To

  • ThingWorx Analytics 8.3

Description

  • After several weeks of use, ThingWorx Analytics will stop retrieving completed Jobs in Analytics Builder / Analytics Workbench
    • Error message found in journalctl
      • Jan 04 21:16:24 xxx nohup[19598]: 127.0.0.1 - - [04/Jan/2019:21:16:24 +0000] "GET /prediction/evaluation/ef688b89-cc2e-4584-9b6b-f11698cfe305/status HTTP/1.1" 200 453 "-" "Jersey/2.25.1 (HttpUrlConnection 1.8.0_162)" 2
      • Jan 04 21:16:24 xxx nohup[19503]: WARN  [2019-01-04 16:16:24,309] com.thingworx.analytics.results.core.ResultsUploadService: Error while creating InputStream from result location [file:///opt/ThingWorxAnalytics/ThingWorxAnalyticsServer/data/data/results/data/ef688b89-cc2e-4584-9b6b-f11698cfe305.json.gz]
      • Jan 04 21:16:24 xxx nohup[19503]: ! java.io.FileNotFoundException: Could not read from "file:///opt/ThingWorxAnalytics/ThingWorxAnalyticsServer/data/data/results/data/ef688b89-cc2e-4584-9b6b-f11698cfe305.json.gz" because it is not a file.
        Jan 04 21:16:24 xxx nohup[19503]: ! at com.thingworx.analytics.ccc.vfs.apache.ApacheVfsNeuronFileSystem$ApacheVfsNeuronPath.getInputStream(ApacheVfsNeuronFileSystem.java:58)
    • Exception thrown in Results.log
      • Jan 04 21:16:24 xxx nohup[19503]: ERROR [2019-01-04 16:16:24,310] com.thingworx.analytics.results.resources.ResultsResource: Failed to retrieve EVALUATION result with id  [ef688b89-cc2e-4584-9b6b-f11698cfe305]
      • Jan 04 21:16:57 xxx nohup[19503]: ! java.io.IOException: Too many open files
This is a printer-friendly version of Article 299321 and may be out of date. For the latest version click CS299321