Storkle / clj-forex

Create clojure expert advisors for forex with various backends (metatrader, ...)
MIT License
41 stars 6 forks source link

Metatrader side of service freezes after a while on certain nodes. #1

Closed Storkle closed 13 years ago

Storkle commented 13 years ago

Certain nodes do no respond in metatrader terminal after awhile.

Symptoms: high cpu at terminal.exe, memory around 78 Mb, compared to 13 mb at startup. Memory leak?

Problem: while the solution does need to be found, the problem is also in the architecture of the socket service. If one mql4 node locks up, everything will be screwed because of load balancing to the locked up mql4 node - which will never respond, and cause a lock up on clojure side (since there is no timeout there).

Storkle commented 13 years ago

changed commando so that it no longer outputs anything to log, but to a log file - it has been found that metatrader will crash if you print too long of a string, so i figured, why not if you print too much? architecture will eventually change so that one node corresponds to one ea - so arch will be fixed. closing for now ....