What does the message on SLProtocol means?
The element is receiving unsolicited messages on a smart serial connection. I've seen that when the message is too big, it will trim it before displaying it in the log file. But I am not sure what this means, or what the limit is?
Please help and thank you!
This line is given when the maximum memory usage for SLLog has been exceeded.
When this happens the following actions are taken:
- All active logging held in memory will be written to file
- the file with the most lines in memory (in this case the file you are viewing) will drop all it's logging and print this line.
You can review the maximum logfile size with this guide: Changing the maximum size of DataMiner log files | DataMiner Docs
Review the driver for what it should be logging, it could be logging too much or too big messages.
And also review the loglevels for specific files as higher log levels means higher memory usage.
Note: This message is given on the file with the most lines in memory (about to be written to file), this does not automatically mean it is the biggest file.
Hello Nicolas,
it’s been some time since you answered the question, but maybe you can have an idea about my issue.
I actually reduced number of logs compared to previous versions (because many unnecessary logs were generated) but I still got “Cleaned stack: Message queue exceeded limit, cleaned message queue!” and it starts right after restarting element.
Do you know what can be an issue here? (Also size of log file is less than the limit)