Giter Site home page Giter Site logo

Comments (5)

Fish-Git avatar Fish-Git commented on September 23, 2024

I'm guessing its something introduced by the recent work on USLEEP().

It absolutely was something introduced by the recent work on USLEEP(), and is nothing to worry about. It just tells us we should probably increase our current default NANOSLEEP_EINTR_RETRY_WARNING_TRESHOLD from its current default value of '6', to, say, maybe, 16?, which should eliminate the warning message.

The only purpose of the warning message is to alert us to a possible problem with nanosleep wherein it is for unknown reasons constantly being interrupted. The idea is, a few interrupts here and there are fine and probably normal and nothing to worry about. But constant interruptions could be a problem however. It's hard to say.

If we never issued any warning message at all, then we'd never know whether it was getting interrupted or not and how frequently it was. Thus we keep track of how often it's interrupted on each call until the call eventually completes, and then issue the warning if the number of interrupts was "more than we expected and therefore a sign of a potential problem".

If you want to try fixing it yourself, change the NANOSLEEP_EINTR_RETRY_WARNING_TRESHOLD value in source file hscutl.h to, say, 16, and then rebuild your Hercules.(*)


(*)  I'm only suggesting 16 because your Hercules log shows the message being issued with a reported EINTR retrys count= value of 12 in one spot and 14 in another. Thus I'm hoping that for you, 16 might be good value to silence the warning or reduce its frequency. If the warning is still issued "too frequently" for your liking, you can then increase it a bit more until the message is either no longer issued or only occasionally issued.

from hyperion.

Fish-Git avatar Fish-Git commented on September 23, 2024

I'm closing this issue and marking it as "WON'T FIX" only because technically there is nothing broken. There is technically no "bug" per se to be fixed.

We may need to adjust our existing NANOSLEEP_EINTR_RETRY_WARNING_TRESHOLD value, but that's not so much a "bug" fix as it is a new still-under-development "tweak".

from hyperion.

Fish-Git avatar Fish-Git commented on September 23, 2024

Jeff:   (@jeff-snyder)

Have you had a chance to try setting the NANOSLEEP_EINTR_RETRY_WARNING_TRESHOLD to 16 yet? Did that help reduce the number of HHC00092W warning messages down to an acceptable level for you? If so, I would like to make that a permanent change to Hercules. But I don't want to do that if it doesn't help. Does it (did it) help any? Thanks.

from hyperion.

jeff-snyder avatar jeff-snyder commented on September 23, 2024

Sorry, I thought this was closed, I didn't realize you were waiting on something from me.

I applied the change (updated the threshold from 6 to 16) and the messages are gone.

updated.hercules.log.txt

from hyperion.

Fish-Git avatar Fish-Git commented on September 23, 2024

I applied the change (updated the threshold from 6 to 16) and the messages are gone.

Good enough! Thanks! I'll make the change to Hercules.

from hyperion.

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.