Giter VIP home page Giter VIP logo

Comments (7)

 avatar commented on June 23, 2024

I don't thnk there is a race condition within packet_log_writer. There may be somewhere in the code where close is being called twice within same second. Are you only seeing this at shutdown?

from cosmos.

jmthomas avatar jmthomas commented on June 23, 2024

Unfortunately no it was during normal running. I'll dig up the server log messages for that time period.

Question label?

from cosmos.

 avatar commented on June 23, 2024

:) Question label is just because I'm not sure this is an actual bug or not.

from cosmos.

jmthomas avatar jmthomas commented on June 23, 2024

I found several instances of this occurring in the sever message log. The signature is basically this:

2015/02/02 16:35:58.088  INFO: Log File Opened : 2015_02_02_16_35_58_tlm.bin
2015/02/02 16:35:58.089  INFO: Log File Closed : 2015_02_02_16_35_58_tlm.bin
2015/02/02 16:35:58.090  INFO: Log File Opened : 2015_02_02_16_35_58_tlm_1.bin

When I open the first file it always has just a single packet in it. I've had this happen with both command and telemetry logs. Frequency seems to be about once a day although it's a bit sporadic.

I have 7 loggers which are all basically setup as follows:

PACKET_LOG_WRITER DEFAULT meta_packet_log_writer.rb COSMOS META config/data/default_meta_pri.txt true true cosmos true 600

from cosmos.

 avatar commented on June 23, 2024

Is there another "Log File Closed" line immediately before your first "Log File Opened" ?

from cosmos.

jmthomas avatar jmthomas commented on June 23, 2024

In most cases the last log file was closed 2s or so before. However in one command log it was closed 2 hours before.

from cosmos.

 avatar commented on June 23, 2024

Ok I see the problem. Fix in a minute.

from cosmos.

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.