Giter Site home page Giter Site logo

Determing TWS crash reason about ibc HOT 2 CLOSED

ibcalpha avatar ibcalpha commented on August 27, 2024
Determing TWS crash reason

from ibc.

Comments (2)

rlktradewright avatar rlktradewright commented on August 27, 2024

[First, on a practical note, please don't quote the logfile in the post: just attach the complete file using the 'Attach files by dragging & dropping or selecting them'. Everything in the logfile is there because it's potentially useful, and when users prune some of it out it's often counterproductive. Also a file is much easier to work with, not least because quoting log files often does nasty things with fonts (don't know why: it's a Github thing), and long quoted extracts are just annoying to have to scroll over all the time. On the other hand, if the logfile contains output from more than one IBC run, you can certainly prune out all but the relevant run to reduce size.]

Actually neither IBC nor TWS have crashed here. TWS has simply done a tidy closedown. Because you haven't included the whole log, I can't tell how long TWS has been running. But even if you use IbAutoClosedown=no, there are occasions where TWS will simply shut down and there's nothing IBC can do about it. In my experience this usually happens after IBC has kept TWS running for several days, but there's no way of predicting it. I used to try and keep TWS running all week, and most weeks it would be ok, but just occasionally it would shut down like this.

The solution is simply not to use IbAutoClosedown=no, and to restart TWS every day (which of course is what IB have always wanted us to do).

When you move to TWS 974, you will no longer be able to use IbAutoClosedown=no anyway, because IB have inhibited the mechanism by which it worked. So it's probably a god idea to start thinking about this and what impact it will have on you sooner rather than later.

from ibc.

rok-povsic avatar rok-povsic commented on August 27, 2024

@rlktradewright

Understood about quoting. I've removed most of the log lines since they are not relevant.

The first log in that file was written at 2019-01-25 10:30:48:409. So it's been running for 4 days and almost 8 hours.

I've read about TWS 974 changing the login window, but I'd like to stay at the version marked as stable. In any case, I guess the best thing is to restart daily.

Thank you for your answer!

from ibc.

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.