Comments (4)
PR #5043 submitted to hopefully kill this issue (finally).
from superalgos.
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.
I have been able to log one occasion of the trading task on the receiver side dying as follows:
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.
@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):
In successful process loops, the logging normally continues as follows:
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:
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)
- Profile Constructor - Build Profile with WalletConnect HOT 1
- Different pairs have the same folder name that could lead users to trade in the wrong market HOT 1
- Exchange HOT 1
- Twitter like UI for Social Trading App Version 1 - $SA 4.75M bounty! HOT 5
- Addition of RSA keys for exchanges HOT 3
- Task servers to dynamically read exchange keys HOT 2
- Add telegram notifications to production trading tasks for error reports HOT 2
- Graceful handling on task server errors HOT 5
- Improvements on the signals workspaces - $SA 2M bounty! HOT 2
- Bitcoin Factory not displaying Forecasted Candles in the charting space HOT 2
- Synchronization of Social Graphs between Network Nodes - $SA 1.25M bounty! HOT 3
- Add Governance Menu on Top bar Platform HOT 3
- Disable Self-Voting in Referral, Support, Mentorship Programs HOT 1
- When running Superalgos, run it with the required amount of RAM that we will specify. HOT 1
- Copy trading tabΒ - $SA 10.2M bounty! HOT 3
- Trading
- Trading on THORChain - $SA 10M bounty! HOT 2
- Update deprecated and unsupported node packages
- Login problem HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superalgos.