Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Millions of 'Skipping NAN' warning messages #273

Open
rjwills28 opened this issue Oct 10, 2024 · 3 comments
Open

Millions of 'Skipping NAN' warning messages #273

rjwills28 opened this issue Oct 10, 2024 · 3 comments
Assignees

Comments

@rjwills28
Copy link
Contributor

We have recently noticed that our logging service has been flooded by the following warning messages:

2024-10-08 14:12:46 WARN OptimizedWithLastSample:113 - Skipping NAN

The number of messages is on the order of millions:
Screenshot from 2024-10-10 09-35-39

Both the Optimized and OptimizedWithLastSample post processors log this message if a value in NAN:

)

Is this log warning really necessary? Other post processors just ignore NANs and only add the event if they are not NANs. e.g.

@jacomago
Copy link
Collaborator

Workaround suggestion for now is to ignore those classes logs, with something like:

For log4j

log4j.logger.org.epics.archiverappliance.retrieval.postprocessors.Optimized=OFF

For log4j2

<Loggers>
    <Logger name="org.epics.archiverappliance.retrieval.postprocessors.Optimized" level="off"/>
</Loggers>

@jacomago
Copy link
Collaborator

I wonder why you are getting this though... Do you have a PV producing a lot of null values, or some corrupted data? You could check the access log for the retrieval engine to see which PV/PVs are being requested to see which ones are producing these logs.

@rjwills28
Copy link
Contributor Author

@jacomago thank you for the suggestion - we'll have a go at configuring that.

I think this was a unique case where a bunch of PVs report NAN when there is no beam and a user must have been running requests in an automated script causing a constant stream of queries for these PVs. We haven't noticed such an issue before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants