Patch for logging to syslog + Autorebouncing if no stream

Михаил Продан 1099511627776 at mail.ru
Sun Jun 20 19:44:49 CEST 2010


1. Thanks Florian Lohoff <f at zz.de> for suggestion about syslog logging there is a patch for that (if you need one)
2. What is Autorebouncing?
Very often my getstream produces this kind of output (for number of simultaneus channels > 6):
2010-06-19 19:54:40.399 fe: Adapter 7 Status: 0x1f (HAS_SIGNAL HAS_CARRIER HAS_VITERBI HAS_SYNC HAS_LOCK)
2010-06-19 19:54:45.279 dvr: inputstats: 31 pids 44876 pkt/s 8436763 byte/s total pkt 224382 total size 42183816
2010-06-19 19:54:50.282 dvr: inputstats: 31 pids 6055 pkt/s 1138490 byte/s total pkt 30279 total size 5692452
2010-06-19 19:54:55.291 dvr: inputstats: 0 pids 0 pkt/s 0 byte/s total pkt 0 total size 0
2010-06-19 19:55:00.335 dvr: inputstats: 0 pids 0 pkt/s 0 byte/s total pkt 0 total size 0
2010-06-19 19:55:05.355 dvr: inputstats: 0 pids 0 pkt/s 0 byte/s total pkt 0 total size 0
......
As you can see inputstats are empty
The only thing that helps me - restart of getstream.
This patch invokes rebouncing when inputstats becomes 0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/x-patch
Size: 3905 bytes
Desc: not available
URL: <http://gt.owl.de/pipermail/getstream/attachments/20100620/695b1700/attachment.bin>


More information about the Getstream mailing list