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

Pipelimit on non-Linux: Repeating warning messages endlessly #38

Closed
oej opened this issue Jan 17, 2015 · 5 comments
Closed

Pipelimit on non-Linux: Repeating warning messages endlessly #38

oej opened this issue Jan 17, 2015 · 5 comments
Labels

Comments

@oej
Copy link
Member

oej commented Jan 17, 2015

Pipelimit on non-Linux keeps complaining that it can't read files in /proc/net - repeatedly.

While one warning is a good one, repeating it and filling log files is not a good thing imho.

Tested with git head master

@oej oej added the bug label Jan 17, 2015
@oej
Copy link
Member Author

oej commented Jan 17, 2015

This apply to the "statistics" module as well.

@oej
Copy link
Member Author

oej commented Jan 17, 2015

2(91255) ERROR: ratelimit [ratelimit.c:330]: get_cpuload(): could not open /proc/stat
 2(91255) ERROR: <core> [statistics.c:385]: get_used_waiting_queue(): Could not open /proc/net/udp. kamailioMsgQueueDepth and its related alarms will not be available.
 2(91255) ERROR: <core> [statistics.c:385]: get_used_waiting_queue(): Could not open /proc/net/tcp. kamailioMsgQueueDepth and its related alarms will not be available.
 2(91255) ERROR: <core> [statistics.c:385]: get_used_waiting_queue(): Could not open /proc/net/tcp. kamailioMsgQueueDepth and its related alarms will not be available.
 2(91255) ERROR: <core> [statistics.c:385]: get_used_waiting_queue(): Could not open /proc/net/udp. kamailioMsgQueueDepth and its related alarms will not be available.
 2(91255) ERROR: <core> [statistics.c:385]: get_used_waiting_queue(): Could not open /proc/net/tcp. kamailioMsgQueueDepth and its related alarms will not be available.
 2(91255) ERROR: <core> [statistics.c:385]: get_used_waiting_queue(): Could not open /proc/net/tcp. kamailioMsgQueueDepth and its related alarms will not be available.

@oej
Copy link
Member Author

oej commented Jan 17, 2015

And ratelimit

 2(91255) ERROR: ratelimit [ratelimit.c:330]: get_cpuload(): could not open /proc/stat

@oej
Copy link
Member Author

oej commented Jan 20, 2015

I can take a look at this and do a fix similar to what was done in sipcapture

@oej
Copy link
Member Author

oej commented Feb 5, 2015

Fixed in git head.

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

No branches or pull requests

1 participant