Giter Club home page Giter Club logo

Comments (4)

BastianMuc avatar BastianMuc commented on June 2, 2024 1

PR #5043 submitted to hopefully kill this issue (finally).

from superalgos.

julian-molina avatar julian-molina commented on June 2, 2024

As with every other bounty, people are free to chip in and pledge more SA to the bounty. I will update the title accordingly.

from superalgos.

BastianMuc avatar BastianMuc commented on June 2, 2024

I have been able to log one occasion of the trading task on the receiver side dying as follows:

0AC4DF0D-FF0A-47FD-AD62-3A15083DD8E8

The message points to an issue with writing the log file to disk, this leading to the task exiting - i.e. the logging engine may be the suspect for this specific issue. The previous error of not being able to download the signal package content occurs more regularly and is cleanly handled by SA.

I checked the docs of our logging engine Winston and found a few parameters which prevent the logging from exiting when such errors occur. A configuration change to logging including these parameters was submitted with PR #4753

This most likely isn't the root cause of all issues (sender side interruptions look behave different as per current reports). It may though be one piece of the overall puzzle.

from superalgos.

BastianMuc avatar BastianMuc commented on June 2, 2024

@BlaaSwe thankfully provided a bunch of log files after the recent Trend Soaring outages. The log file status for both outages I was able to analyze was identical.

This is the Trading Process log of the died process (last line after restarting the died task):
image

In successful process loops, the logging normally continues as follows:
image

Learning:
When hangups occur, the Trading Task seems to wait for an Event about a completed Data Process. This event though never arrives.

As a next step, I checked the logs of the Data Task the trading task was waiting for:
image

Learning:
The Data Task for which the Trading Task was waiting finished normally. The Execution Finished Event was correctly raised, but never arrived at the Trading Task.

Possible Root Causes (ideation):

  • Event Server Outage (unlikely, as the other strategies on the same machine continued to work)
  • Sudden Death of the Trading Task without leaving any trace in the logs
  • Interrupted communication between Event Server Clients and Event Server (Websockets connections)

As Websockets Connections were already creating some headaches on the signal distribution side, they are my main suspect for now (despite sender and recipient running on the same machine here).

I have submitted PR #4833 to prevent undetected connection losses between event servers and clients. Let's see if this helps.

Further ideas based on above logging inputs are highly welcome!

from superalgos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.