Hi!
While testing my pipelimit patch I got tons of these messages on my poor Mac:
2(32754) 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(32754) 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(32754) 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(32754) 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(32754) ERROR: <core> [statistics.c:385]: get_used_waiting_queue(): Could not open
/proc/net/udp. kamailioMsgQueueDepth and its related alarms will not be available.
Would it be ok to disable this whole function and return 0 if we're not on a Linux
system?
I think about using #ifdef / #endif
/O