播放组播,客户端被频繁断链
组播源:广西电信 版本:luci-app-rtp2httpd_2.6.1_all.ipk luci-i18n-rtp2httpd-zh-cn_2.6.1_all.ipk rtp2httpd_2.6.1-1_aarch64_cortex-a53.ipk 测试客户端: vlc 系统: openwrt 硬件: Bananapi BPi-R3 Mini 故障现象: 播放组播时,播放几秒就出现链接被断开,vlc提示播放新的频道;
debug日志如下:
15:42:45[INFO]New client requested URL: /rtp/239.81.1.2:4056 15:42:45[DEBUG]Parsed URL: mcast=239.81.1.2:4056 15:42:45[INFO]Multicast: Successfully joined group 15:42:45[DEBUG]Multicast: Socket registered with epoll 15:42:45[DEBUG]FCC State: INIT -> MCAST_ACTIVE (Direct multicast) 15:42:46[DEBUG]Client disconnected 15:42:46[DEBUG]RTSP: Cleanup called in state 0, skipping (already cleaning up or done) 15:42:46[DEBUG]RTSP: Session cleanup complete 15:42:46[DEBUG]Multicast socket closed 15:42:46[INFO]New client requested URL: /rtp/239.81.0.196:4056 15:42:46[DEBUG]Parsed URL: mcast=239.81.0.196:4056 15:42:46[INFO]Multicast: Successfully joined group 15:42:46[DEBUG]Multicast: Socket registered with epoll 15:42:46[DEBUG]FCC State: INIT -> MCAST_ACTIVE (Direct multicast) 15:42:46[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:46[DEBUG]Buffer pool: Expanding by 512 buffers (current: 3072, free: 256, max: 16384) 15:42:46[DEBUG]Buffer pool: Expansion successful (total: 3584 buffers, free: 768) 15:42:46[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:46[DEBUG]Buffer pool: Expanding by 512 buffers (current: 3584, free: 256, max: 16384) 15:42:46[DEBUG]Buffer pool: Expansion successful (total: 4096 buffers, free: 768) 15:42:47[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:47[DEBUG]Buffer pool: Expanding by 512 buffers (current: 4096, free: 256, max: 16384) 15:42:47[DEBUG]Buffer pool: Expansion successful (total: 4608 buffers, free: 768) 15:42:47[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:47[DEBUG]Buffer pool: Expanding by 512 buffers (current: 4608, free: 256, max: 16384) 15:42:47[DEBUG]Buffer pool: Expansion successful (total: 5120 buffers, free: 768) 15:42:47[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:47[DEBUG]Buffer pool: Expanding by 512 buffers (current: 5120, free: 256, max: 16384) 15:42:47[DEBUG]Buffer pool: Expansion successful (total: 5632 buffers, free: 768) 15:42:47[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:47[DEBUG]Buffer pool: Expanding by 512 buffers (current: 5632, free: 256, max: 16384) 15:42:47[DEBUG]Buffer pool: Expansion successful (total: 6144 buffers, free: 768) 15:42:47[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:47[DEBUG]Buffer pool: Expanding by 512 buffers (current: 6144, free: 256, max: 16384) 15:42:47[DEBUG]Buffer pool: Expansion successful (total: 6656 buffers, free: 768) 15:42:47[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:47[DEBUG]Buffer pool: Expanding by 512 buffers (current: 6656, free: 256, max: 16384) 15:42:47[DEBUG]Buffer pool: Expansion successful (total: 7168 buffers, free: 768) 15:42:47[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:47[DEBUG]Buffer pool: Expanding by 512 buffers (current: 7168, free: 256, max: 16384) 15:42:47[DEBUG]Buffer pool: Expansion successful (total: 7680 buffers, free: 768) 15:42:47[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:47[DEBUG]Buffer pool: Expanding by 512 buffers (current: 7680, free: 256, max: 16384) 15:42:47[DEBUG]Buffer pool: Expansion successful (total: 8192 buffers, free: 768) 15:42:48[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:48[DEBUG]Buffer pool: Expanding by 512 buffers (current: 8192, free: 256, max: 16384) 15:42:48[DEBUG]Buffer pool: Expansion successful (total: 8704 buffers, free: 768) 15:42:48[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:48[DEBUG]Buffer pool: Expanding by 512 buffers (current: 8704, free: 256, max: 16384) 15:42:48[DEBUG]Buffer pool: Expansion successful (total: 9216 buffers, free: 768) 15:42:48[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:48[DEBUG]Buffer pool: Expanding by 512 buffers (current: 9216, free: 256, max: 16384) 15:42:48[DEBUG]Buffer pool: Expansion successful (total: 9728 buffers, free: 768) 15:42:48[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:48[DEBUG]Buffer pool: Expanding by 512 buffers (current: 9728, free: 256, max: 16384) 15:42:48[DEBUG]Buffer pool: Expansion successful (total: 10240 buffers, free: 768) 15:42:48[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:48[DEBUG]Buffer pool: Expanding by 512 buffers (current: 10240, free: 256, max: 16384) 15:42:48[DEBUG]Buffer pool: Expansion successful (total: 10752 buffers, free: 768) 15:42:48[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:48[DEBUG]Buffer pool: Expanding by 512 buffers (current: 10752, free: 256, max: 16384) 15:42:48[DEBUG]Buffer pool: Expansion successful (total: 11264 buffers, free: 768) 15:42:48[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:48[DEBUG]Buffer pool: Expanding by 512 buffers (current: 11264, free: 256, max: 16384) 15:42:48[DEBUG]Buffer pool: Expansion successful (total: 11776 buffers, free: 768) 15:42:48[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:48[DEBUG]Buffer pool: Expanding by 512 buffers (current: 11776, free: 256, max: 16384) 15:42:48[DEBUG]Buffer pool: Expansion successful (total: 12288 buffers, free: 768) 15:42:49[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:49[DEBUG]Buffer pool: Expanding by 512 buffers (current: 12288, free: 256, max: 16384) 15:42:49[DEBUG]Buffer pool: Expansion successful (total: 12800 buffers, free: 768) 15:42:49[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:49[DEBUG]Buffer pool: Expanding by 512 buffers (current: 12800, free: 256, max: 16384) 15:42:49[DEBUG]Buffer pool: Expansion successful (total: 13312 buffers, free: 768) 15:42:49[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:49[DEBUG]Buffer pool: Expanding by 512 buffers (current: 13312, free: 256, max: 16384) 15:42:49[DEBUG]Buffer pool: Expansion successful (total: 13824 buffers, free: 768) 15:42:49[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:49[DEBUG]Buffer pool: Expanding by 512 buffers (current: 13824, free: 256, max: 16384) 15:42:49[DEBUG]Buffer pool: Expansion successful (total: 14336 buffers, free: 768) 15:42:49[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:49[DEBUG]Buffer pool: Expanding by 512 buffers (current: 14336, free: 256, max: 16384) 15:42:49[DEBUG]Buffer pool: Expansion successful (total: 14848 buffers, free: 768) 15:42:49[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:49[DEBUG]Buffer pool: Expanding by 512 buffers (current: 14848, free: 256, max: 16384) 15:42:49[DEBUG]Buffer pool: Expansion successful (total: 15360 buffers, free: 768) 15:42:49[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:49[DEBUG]Buffer pool: Expanding by 512 buffers (current: 15360, free: 256, max: 16384) 15:42:49[DEBUG]Buffer pool: Expansion successful (total: 15872 buffers, free: 768) 15:42:49[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:49[DEBUG]Buffer pool: Expanding by 512 buffers (current: 15872, free: 256, max: 16384) 15:42:49[DEBUG]Buffer pool: Expansion successful (total: 16384 buffers, free: 768) 15:42:51[WARN]Buffer pool: Cannot expand beyond maximum size (16384 buffers) 15:42:51[WARN]Buffer pool: Exhausted and cannot expand (total: 16384, max: 16384) 15:42:51[WARN]connection_queue_output: Buffer pool exhausted, cannot queue 1922 bytes 15:42:51[WARN]Buffer pool: Cannot expand beyond maximum size (16384 buffers) 15:42:51[WARN]Buffer pool: Exhausted and cannot expand (total: 16384, max: 16384) 15:42:51[WARN]connection_queue_output: Buffer pool exhausted, cannot queue 1922 bytes 15:42:51[WARN]Buffer pool: Cannot expand beyond maximum size (16384 buffers) 15:42:51[WARN]Buffer pool: Exhausted and cannot expand (total: 16384, max: 16384) 15:42:51[DEBUG]Multicast: Buffer pool exhausted, dropping packet 15:42:51[ERROR]Multicast: No data received for 1 seconds, closing connection 15:42:51[DEBUG]RTSP: Cleanup called in state 0, skipping (already cleaning up or done) 15:42:51[DEBUG]RTSP: Session cleanup complete 15:42:51[DEBUG]Multicast socket closed 15:42:51[DEBUG]Buffer pool: Checking for shrink opportunity (free: 16384, high_watermark: 3072, total: 16384) 15:42:51[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.1s, total: 16384 -> 15872) 15:42:51[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.2s, total: 15872 -> 15360) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.3s, total: 15360 -> 14848) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.5s, total: 14848 -> 14336) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.6s, total: 14336 -> 13824) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.7s, total: 13824 -> 13312) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.9s, total: 13312 -> 12800) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.0s, total: 12800 -> 12288) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.1s, total: 12288 -> 11776) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.2s, total: 11776 -> 11264) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.4s, total: 11264 -> 10752) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.5s, total: 10752 -> 10240) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.6s, total: 10240 -> 9728) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.7s, total: 9728 -> 9216) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.9s, total: 9216 -> 8704) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.0s, total: 8704 -> 8192) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.1s, total: 8192 -> 7680) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.3s, total: 7680 -> 7168) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.4s, total: 7168 -> 6656) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.5s, total: 6656 -> 6144) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.6s, total: 6144 -> 5632) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.8s, total: 5632 -> 5120) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.9s, total: 5120 -> 4608) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 5.0s, total: 4608 -> 4096) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 5.1s, total: 4096 -> 3584) 15:42:52[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 5.3s, total: 3584 -> 3072) 15:42:52[DEBUG]Buffer pool: Shrink completed - freed 26 segments (total: 3072 buffers, free: 3072) 15:42:59[INFO]New client requested URL: /rtp/239.81.0.196:4056 15:42:59[DEBUG]Parsed URL: mcast=239.81.0.196:4056 15:42:59[INFO]Multicast: Successfully joined group 15:42:59[DEBUG]Multicast: Socket registered with epoll 15:42:59[DEBUG]FCC State: INIT -> MCAST_ACTIVE (Direct multicast) 15:42:59[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:42:59[DEBUG]Buffer pool: Expanding by 512 buffers (current: 3072, free: 256, max: 16384) 15:42:59[DEBUG]Buffer pool: Expansion successful (total: 3584 buffers, free: 768) 15:43:00[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:00[DEBUG]Buffer pool: Expanding by 512 buffers (current: 3584, free: 256, max: 16384) 15:43:00[DEBUG]Buffer pool: Expansion successful (total: 4096 buffers, free: 768) 15:43:00[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:00[DEBUG]Buffer pool: Expanding by 512 buffers (current: 4096, free: 256, max: 16384) 15:43:00[DEBUG]Buffer pool: Expansion successful (total: 4608 buffers, free: 768) 15:43:00[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:00[DEBUG]Buffer pool: Expanding by 512 buffers (current: 4608, free: 256, max: 16384) 15:43:00[DEBUG]Buffer pool: Expansion successful (total: 5120 buffers, free: 768) 15:43:00[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:00[DEBUG]Buffer pool: Expanding by 512 buffers (current: 5120, free: 256, max: 16384) 15:43:00[DEBUG]Buffer pool: Expansion successful (total: 5632 buffers, free: 768) 15:43:00[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:00[DEBUG]Buffer pool: Expanding by 512 buffers (current: 5632, free: 256, max: 16384) 15:43:00[DEBUG]Buffer pool: Expansion successful (total: 6144 buffers, free: 768) 15:43:00[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:00[DEBUG]Buffer pool: Expanding by 512 buffers (current: 6144, free: 256, max: 16384) 15:43:00[DEBUG]Buffer pool: Expansion successful (total: 6656 buffers, free: 768) 15:43:00[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:00[DEBUG]Buffer pool: Expanding by 512 buffers (current: 6656, free: 256, max: 16384) 15:43:00[DEBUG]Buffer pool: Expansion successful (total: 7168 buffers, free: 768) 15:43:00[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:00[DEBUG]Buffer pool: Expanding by 512 buffers (current: 7168, free: 256, max: 16384) 15:43:00[DEBUG]Buffer pool: Expansion successful (total: 7680 buffers, free: 768) 15:43:01[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:01[DEBUG]Buffer pool: Expanding by 512 buffers (current: 7680, free: 256, max: 16384) 15:43:01[DEBUG]Buffer pool: Expansion successful (total: 8192 buffers, free: 768) 15:43:01[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:01[DEBUG]Buffer pool: Expanding by 512 buffers (current: 8192, free: 256, max: 16384) 15:43:01[DEBUG]Buffer pool: Expansion successful (total: 8704 buffers, free: 768) 15:43:01[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:01[DEBUG]Buffer pool: Expanding by 512 buffers (current: 8704, free: 256, max: 16384) 15:43:01[DEBUG]Buffer pool: Expansion successful (total: 9216 buffers, free: 768) 15:43:01[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:01[DEBUG]Buffer pool: Expanding by 512 buffers (current: 9216, free: 256, max: 16384) 15:43:01[DEBUG]Buffer pool: Expansion successful (total: 9728 buffers, free: 768) 15:43:01[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:01[DEBUG]Buffer pool: Expanding by 512 buffers (current: 9728, free: 256, max: 16384) 15:43:01[DEBUG]Buffer pool: Expansion successful (total: 10240 buffers, free: 768) 15:43:01[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:01[DEBUG]Buffer pool: Expanding by 512 buffers (current: 10240, free: 256, max: 16384) 15:43:01[DEBUG]Buffer pool: Expansion successful (total: 10752 buffers, free: 768) 15:43:01[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:01[DEBUG]Buffer pool: Expanding by 512 buffers (current: 10752, free: 256, max: 16384) 15:43:01[DEBUG]Buffer pool: Expansion successful (total: 11264 buffers, free: 768) 15:43:01[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:01[DEBUG]Buffer pool: Expanding by 512 buffers (current: 11264, free: 256, max: 16384) 15:43:01[DEBUG]Buffer pool: Expansion successful (total: 11776 buffers, free: 768) 15:43:02[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:02[DEBUG]Buffer pool: Expanding by 512 buffers (current: 11776, free: 256, max: 16384) 15:43:02[DEBUG]Buffer pool: Expansion successful (total: 12288 buffers, free: 768) 15:43:02[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:02[DEBUG]Buffer pool: Expanding by 512 buffers (current: 12288, free: 256, max: 16384) 15:43:02[DEBUG]Buffer pool: Expansion successful (total: 12800 buffers, free: 768) 15:43:02[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:02[DEBUG]Buffer pool: Expanding by 512 buffers (current: 12800, free: 256, max: 16384) 15:43:02[DEBUG]Buffer pool: Expansion successful (total: 13312 buffers, free: 768) 15:43:02[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:02[DEBUG]Buffer pool: Expanding by 512 buffers (current: 13312, free: 256, max: 16384) 15:43:02[DEBUG]Buffer pool: Expansion successful (total: 13824 buffers, free: 768) 15:43:02[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:02[DEBUG]Buffer pool: Expanding by 512 buffers (current: 13824, free: 256, max: 16384) 15:43:02[DEBUG]Buffer pool: Expansion successful (total: 14336 buffers, free: 768) 15:43:02[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:02[DEBUG]Buffer pool: Expanding by 512 buffers (current: 14336, free: 256, max: 16384) 15:43:02[DEBUG]Buffer pool: Expansion successful (total: 14848 buffers, free: 768) 15:43:02[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:02[DEBUG]Buffer pool: Expanding by 512 buffers (current: 14848, free: 256, max: 16384) 15:43:02[DEBUG]Buffer pool: Expansion successful (total: 15360 buffers, free: 768) 15:43:02[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:02[DEBUG]Buffer pool: Expanding by 512 buffers (current: 15360, free: 256, max: 16384) 15:43:02[DEBUG]Buffer pool: Expansion successful (total: 15872 buffers, free: 768) 15:43:03[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:03[DEBUG]Buffer pool: Expanding by 512 buffers (current: 15872, free: 256, max: 16384) 15:43:03[DEBUG]Buffer pool: Expansion successful (total: 16384 buffers, free: 768) 15:43:04[WARN]Buffer pool: Cannot expand beyond maximum size (16384 buffers) 15:43:04[WARN]Buffer pool: Exhausted and cannot expand (total: 16384, max: 16384) 15:43:04[WARN]connection_queue_output: Buffer pool exhausted, cannot queue 1924 bytes 15:43:04[WARN]Buffer pool: Cannot expand beyond maximum size (16384 buffers) 15:43:04[WARN]Buffer pool: Exhausted and cannot expand (total: 16384, max: 16384) 15:43:04[WARN]connection_queue_output: Buffer pool exhausted, cannot queue 1924 bytes 15:43:04[WARN]Buffer pool: Cannot expand beyond maximum size (16384 buffers) 15:43:04[WARN]Buffer pool: Exhausted and cannot expand (total: 16384, max: 16384) 15:43:04[DEBUG]Multicast: Buffer pool exhausted, dropping packet 15:43:04[ERROR]Multicast: No data received for 1 seconds, closing connection 15:43:04[DEBUG]RTSP: Cleanup called in state 0, skipping (already cleaning up or done) 15:43:04[DEBUG]RTSP: Session cleanup complete 15:43:04[DEBUG]Multicast socket closed 15:43:04[DEBUG]Buffer pool: Checking for shrink opportunity (free: 16384, high_watermark: 3072, total: 16384) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.2s, total: 16384 -> 15872) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.3s, total: 15872 -> 15360) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.5s, total: 15360 -> 14848) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.6s, total: 14848 -> 14336) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.7s, total: 14336 -> 13824) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.9s, total: 13824 -> 13312) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.0s, total: 13312 -> 12800) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.1s, total: 12800 -> 12288) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.2s, total: 12288 -> 11776) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.4s, total: 11776 -> 11264) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.5s, total: 11264 -> 10752) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.6s, total: 10752 -> 10240) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.7s, total: 10240 -> 9728) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.9s, total: 9728 -> 9216) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.0s, total: 9216 -> 8704) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.1s, total: 8704 -> 8192) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.2s, total: 8192 -> 7680) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.4s, total: 7680 -> 7168) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.5s, total: 7168 -> 6656) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.6s, total: 6656 -> 6144) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.7s, total: 6144 -> 5632) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.9s, total: 5632 -> 5120) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.0s, total: 5120 -> 4608) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.1s, total: 4608 -> 4096) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.2s, total: 4096 -> 3584) 15:43:04[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.4s, total: 3584 -> 3072) 15:43:04[DEBUG]Buffer pool: Shrink completed - freed 26 segments (total: 3072 buffers, free: 3072) 15:43:05[INFO]New client requested URL: /rtp/239.81.0.196:4056 15:43:05[DEBUG]Parsed URL: mcast=239.81.0.196:4056 15:43:05[INFO]Multicast: Successfully joined group 15:43:05[DEBUG]Multicast: Socket registered with epoll 15:43:05[DEBUG]FCC State: INIT -> MCAST_ACTIVE (Direct multicast) 15:43:05[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:05[DEBUG]Buffer pool: Expanding by 512 buffers (current: 3072, free: 256, max: 16384) 15:43:05[DEBUG]Buffer pool: Expansion successful (total: 3584 buffers, free: 768) 15:43:06[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:06[DEBUG]Buffer pool: Expanding by 512 buffers (current: 3584, free: 256, max: 16384) 15:43:06[DEBUG]Buffer pool: Expansion successful (total: 4096 buffers, free: 768) 15:43:06[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:06[DEBUG]Buffer pool: Expanding by 512 buffers (current: 4096, free: 256, max: 16384) 15:43:06[DEBUG]Buffer pool: Expansion successful (total: 4608 buffers, free: 768) 15:43:06[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:06[DEBUG]Buffer pool: Expanding by 512 buffers (current: 4608, free: 256, max: 16384) 15:43:06[DEBUG]Buffer pool: Expansion successful (total: 5120 buffers, free: 768) 15:43:06[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:06[DEBUG]Buffer pool: Expanding by 512 buffers (current: 5120, free: 256, max: 16384) 15:43:06[DEBUG]Buffer pool: Expansion successful (total: 5632 buffers, free: 768) 15:43:06[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:06[DEBUG]Buffer pool: Expanding by 512 buffers (current: 5632, free: 256, max: 16384) 15:43:06[DEBUG]Buffer pool: Expansion successful (total: 6144 buffers, free: 768) 15:43:06[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:06[DEBUG]Buffer pool: Expanding by 512 buffers (current: 6144, free: 256, max: 16384) 15:43:06[DEBUG]Buffer pool: Expansion successful (total: 6656 buffers, free: 768) 15:43:06[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:06[DEBUG]Buffer pool: Expanding by 512 buffers (current: 6656, free: 256, max: 16384) 15:43:06[DEBUG]Buffer pool: Expansion successful (total: 7168 buffers, free: 768) 15:43:06[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:06[DEBUG]Buffer pool: Expanding by 512 buffers (current: 7168, free: 256, max: 16384) 15:43:06[DEBUG]Buffer pool: Expansion successful (total: 7680 buffers, free: 768) 15:43:07[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:07[DEBUG]Buffer pool: Expanding by 512 buffers (current: 7680, free: 256, max: 16384) 15:43:07[DEBUG]Buffer pool: Expansion successful (total: 8192 buffers, free: 768) 15:43:07[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:07[DEBUG]Buffer pool: Expanding by 512 buffers (current: 8192, free: 256, max: 16384) 15:43:07[DEBUG]Buffer pool: Expansion successful (total: 8704 buffers, free: 768) 15:43:07[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:07[DEBUG]Buffer pool: Expanding by 512 buffers (current: 8704, free: 256, max: 16384) 15:43:07[DEBUG]Buffer pool: Expansion successful (total: 9216 buffers, free: 768) 15:43:07[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:07[DEBUG]Buffer pool: Expanding by 512 buffers (current: 9216, free: 256, max: 16384) 15:43:07[DEBUG]Buffer pool: Expansion successful (total: 9728 buffers, free: 768) 15:43:07[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:07[DEBUG]Buffer pool: Expanding by 512 buffers (current: 9728, free: 256, max: 16384) 15:43:07[DEBUG]Buffer pool: Expansion successful (total: 10240 buffers, free: 768) 15:43:07[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:07[DEBUG]Buffer pool: Expanding by 512 buffers (current: 10240, free: 256, max: 16384) 15:43:07[DEBUG]Buffer pool: Expansion successful (total: 10752 buffers, free: 768) 15:43:07[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:07[DEBUG]Buffer pool: Expanding by 512 buffers (current: 10752, free: 256, max: 16384) 15:43:07[DEBUG]Buffer pool: Expansion successful (total: 11264 buffers, free: 768) 15:43:07[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:07[DEBUG]Buffer pool: Expanding by 512 buffers (current: 11264, free: 256, max: 16384) 15:43:07[DEBUG]Buffer pool: Expansion successful (total: 11776 buffers, free: 768) 15:43:08[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:08[DEBUG]Buffer pool: Expanding by 512 buffers (current: 11776, free: 256, max: 16384) 15:43:08[DEBUG]Buffer pool: Expansion successful (total: 12288 buffers, free: 768) 15:43:08[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:08[DEBUG]Buffer pool: Expanding by 512 buffers (current: 12288, free: 256, max: 16384) 15:43:08[DEBUG]Buffer pool: Expansion successful (total: 12800 buffers, free: 768) 15:43:08[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:08[DEBUG]Buffer pool: Expanding by 512 buffers (current: 12800, free: 256, max: 16384) 15:43:08[DEBUG]Buffer pool: Expansion successful (total: 13312 buffers, free: 768) 15:43:08[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:08[DEBUG]Buffer pool: Expanding by 512 buffers (current: 13312, free: 256, max: 16384) 15:43:08[DEBUG]Buffer pool: Expansion successful (total: 13824 buffers, free: 768) 15:43:08[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:08[DEBUG]Buffer pool: Expanding by 512 buffers (current: 13824, free: 256, max: 16384) 15:43:08[DEBUG]Buffer pool: Expansion successful (total: 14336 buffers, free: 768) 15:43:08[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:08[DEBUG]Buffer pool: Expanding by 512 buffers (current: 14336, free: 256, max: 16384) 15:43:08[DEBUG]Buffer pool: Expansion successful (total: 14848 buffers, free: 768) 15:43:08[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:08[DEBUG]Buffer pool: Expanding by 512 buffers (current: 14848, free: 256, max: 16384) 15:43:08[DEBUG]Buffer pool: Expansion successful (total: 15360 buffers, free: 768) 15:43:08[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:08[DEBUG]Buffer pool: Expanding by 512 buffers (current: 15360, free: 256, max: 16384) 15:43:08[DEBUG]Buffer pool: Expansion successful (total: 15872 buffers, free: 768) 15:43:09[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:09[DEBUG]Buffer pool: Expanding by 512 buffers (current: 15872, free: 256, max: 16384) 15:43:09[DEBUG]Buffer pool: Expansion successful (total: 16384 buffers, free: 768) 15:43:10[WARN]Buffer pool: Cannot expand beyond maximum size (16384 buffers) 15:43:10[WARN]Buffer pool: Exhausted and cannot expand (total: 16384, max: 16384) 15:43:10[WARN]connection_queue_output: Buffer pool exhausted, cannot queue 1532 bytes 15:43:10[WARN]Buffer pool: Cannot expand beyond maximum size (16384 buffers) 15:43:10[WARN]Buffer pool: Exhausted and cannot expand (total: 16384, max: 16384) 15:43:10[WARN]connection_queue_output: Buffer pool exhausted, cannot queue 1532 bytes 15:43:10[ERROR]Multicast: No data received for 1 seconds, closing connection 15:43:10[DEBUG]RTSP: Cleanup called in state 0, skipping (already cleaning up or done) 15:43:10[DEBUG]RTSP: Session cleanup complete 15:43:10[DEBUG]Multicast socket closed 15:43:10[DEBUG]Buffer pool: Checking for shrink opportunity (free: 16384, high_watermark: 3072, total: 16384) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.3s, total: 16384 -> 15872) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.4s, total: 15872 -> 15360) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.5s, total: 15360 -> 14848) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.6s, total: 14848 -> 14336) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.8s, total: 14336 -> 13824) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.9s, total: 13824 -> 13312) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.0s, total: 13312 -> 12800) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.1s, total: 12800 -> 12288) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.3s, total: 12288 -> 11776) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.4s, total: 11776 -> 11264) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.5s, total: 11264 -> 10752) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.6s, total: 10752 -> 10240) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.8s, total: 10240 -> 9728) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.9s, total: 9728 -> 9216) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.0s, total: 9216 -> 8704) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.2s, total: 8704 -> 8192) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.3s, total: 8192 -> 7680) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.4s, total: 7680 -> 7168) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.5s, total: 7168 -> 6656) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.7s, total: 6656 -> 6144) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.8s, total: 6144 -> 5632) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.9s, total: 5632 -> 5120) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.0s, total: 5120 -> 4608) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.2s, total: 4608 -> 4096) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.3s, total: 4096 -> 3584) 15:43:10[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.4s, total: 3584 -> 3072) 15:43:10[DEBUG]Buffer pool: Shrink completed - freed 26 segments (total: 3072 buffers, free: 3072) 15:43:11[INFO]New client requested URL: /rtp/239.81.0.196:4056 15:43:11[DEBUG]Parsed URL: mcast=239.81.0.196:4056 15:43:11[INFO]Multicast: Successfully joined group 15:43:11[DEBUG]Multicast: Socket registered with epoll 15:43:11[DEBUG]FCC State: INIT -> MCAST_ACTIVE (Direct multicast) 15:43:11[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:11[DEBUG]Buffer pool: Expanding by 512 buffers (current: 3072, free: 256, max: 16384) 15:43:11[DEBUG]Buffer pool: Expansion successful (total: 3584 buffers, free: 768) 15:43:11[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:11[DEBUG]Buffer pool: Expanding by 512 buffers (current: 3584, free: 256, max: 16384) 15:43:11[DEBUG]Buffer pool: Expansion successful (total: 4096 buffers, free: 768) 15:43:12[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:12[DEBUG]Buffer pool: Expanding by 512 buffers (current: 4096, free: 256, max: 16384) 15:43:12[DEBUG]Buffer pool: Expansion successful (total: 4608 buffers, free: 768) 15:43:12[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:12[DEBUG]Buffer pool: Expanding by 512 buffers (current: 4608, free: 256, max: 16384) 15:43:12[DEBUG]Buffer pool: Expansion successful (total: 5120 buffers, free: 768) 15:43:12[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:12[DEBUG]Buffer pool: Expanding by 512 buffers (current: 5120, free: 256, max: 16384) 15:43:12[DEBUG]Buffer pool: Expansion successful (total: 5632 buffers, free: 768) 15:43:12[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:12[DEBUG]Buffer pool: Expanding by 512 buffers (current: 5632, free: 256, max: 16384) 15:43:12[DEBUG]Buffer pool: Expansion successful (total: 6144 buffers, free: 768) 15:43:12[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:12[DEBUG]Buffer pool: Expanding by 512 buffers (current: 6144, free: 256, max: 16384) 15:43:12[DEBUG]Buffer pool: Expansion successful (total: 6656 buffers, free: 768) 15:43:12[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:12[DEBUG]Buffer pool: Expanding by 512 buffers (current: 6656, free: 256, max: 16384) 15:43:12[DEBUG]Buffer pool: Expansion successful (total: 7168 buffers, free: 768) 15:43:12[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:12[DEBUG]Buffer pool: Expanding by 512 buffers (current: 7168, free: 256, max: 16384) 15:43:12[DEBUG]Buffer pool: Expansion successful (total: 7680 buffers, free: 768) 15:43:12[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:12[DEBUG]Buffer pool: Expanding by 512 buffers (current: 7680, free: 256, max: 16384) 15:43:12[DEBUG]Buffer pool: Expansion successful (total: 8192 buffers, free: 768) 15:43:13[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:13[DEBUG]Buffer pool: Expanding by 512 buffers (current: 8192, free: 256, max: 16384) 15:43:13[DEBUG]Buffer pool: Expansion successful (total: 8704 buffers, free: 768) 15:43:13[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:13[DEBUG]Buffer pool: Expanding by 512 buffers (current: 8704, free: 256, max: 16384) 15:43:13[DEBUG]Buffer pool: Expansion successful (total: 9216 buffers, free: 768) 15:43:13[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:13[DEBUG]Buffer pool: Expanding by 512 buffers (current: 9216, free: 256, max: 16384) 15:43:13[DEBUG]Buffer pool: Expansion successful (total: 9728 buffers, free: 768) 15:43:13[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:13[DEBUG]Buffer pool: Expanding by 512 buffers (current: 9728, free: 256, max: 16384) 15:43:13[DEBUG]Buffer pool: Expansion successful (total: 10240 buffers, free: 768) 15:43:13[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:13[DEBUG]Buffer pool: Expanding by 512 buffers (current: 10240, free: 256, max: 16384) 15:43:13[DEBUG]Buffer pool: Expansion successful (total: 10752 buffers, free: 768) 15:43:13[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:13[DEBUG]Buffer pool: Expanding by 512 buffers (current: 10752, free: 256, max: 16384) 15:43:13[DEBUG]Buffer pool: Expansion successful (total: 11264 buffers, free: 768) 15:43:13[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:13[DEBUG]Buffer pool: Expanding by 512 buffers (current: 11264, free: 256, max: 16384) 15:43:13[DEBUG]Buffer pool: Expansion successful (total: 11776 buffers, free: 768) 15:43:13[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:13[DEBUG]Buffer pool: Expanding by 512 buffers (current: 11776, free: 256, max: 16384) 15:43:13[DEBUG]Buffer pool: Expansion successful (total: 12288 buffers, free: 768) 15:43:14[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:14[DEBUG]Buffer pool: Expanding by 512 buffers (current: 12288, free: 256, max: 16384) 15:43:14[DEBUG]Buffer pool: Expansion successful (total: 12800 buffers, free: 768) 15:43:14[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:14[DEBUG]Buffer pool: Expanding by 512 buffers (current: 12800, free: 256, max: 16384) 15:43:14[DEBUG]Buffer pool: Expansion successful (total: 13312 buffers, free: 768) 15:43:14[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:14[DEBUG]Buffer pool: Expanding by 512 buffers (current: 13312, free: 256, max: 16384) 15:43:14[DEBUG]Buffer pool: Expansion successful (total: 13824 buffers, free: 768) 15:43:14[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:14[DEBUG]Buffer pool: Expanding by 512 buffers (current: 13824, free: 256, max: 16384) 15:43:14[DEBUG]Buffer pool: Expansion successful (total: 14336 buffers, free: 768) 15:43:14[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:14[DEBUG]Buffer pool: Expanding by 512 buffers (current: 14336, free: 256, max: 16384) 15:43:14[DEBUG]Buffer pool: Expansion successful (total: 14848 buffers, free: 768) 15:43:14[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:14[DEBUG]Buffer pool: Expanding by 512 buffers (current: 14848, free: 256, max: 16384) 15:43:14[DEBUG]Buffer pool: Expansion successful (total: 15360 buffers, free: 768) 15:43:14[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:14[DEBUG]Buffer pool: Expanding by 512 buffers (current: 15360, free: 256, max: 16384) 15:43:14[DEBUG]Buffer pool: Expansion successful (total: 15872 buffers, free: 768) 15:43:14[DEBUG]Buffer pool: Low watermark reached (free: 256, watermark: 256), expanding proactively 15:43:14[DEBUG]Buffer pool: Expanding by 512 buffers (current: 15872, free: 256, max: 16384) 15:43:14[DEBUG]Buffer pool: Expansion successful (total: 16384 buffers, free: 768) 15:43:16[WARN]Buffer pool: Cannot expand beyond maximum size (16384 buffers) 15:43:16[WARN]Buffer pool: Exhausted and cannot expand (total: 16384, max: 16384) 15:43:16[WARN]connection_queue_output: Buffer pool exhausted, cannot queue 1924 bytes 15:43:16[WARN]Buffer pool: Cannot expand beyond maximum size (16384 buffers) 15:43:16[WARN]Buffer pool: Exhausted and cannot expand (total: 16384, max: 16384) 15:43:16[WARN]connection_queue_output: Buffer pool exhausted, cannot queue 1924 bytes 15:43:16[WARN]Buffer pool: Cannot expand beyond maximum size (16384 buffers) 15:43:16[WARN]Buffer pool: Exhausted and cannot expand (total: 16384, max: 16384) 15:43:16[DEBUG]Multicast: Buffer pool exhausted, dropping packet 15:43:16[ERROR]Multicast: No data received for 1 seconds, closing connection 15:43:16[DEBUG]RTSP: Cleanup called in state 0, skipping (already cleaning up or done) 15:43:16[DEBUG]RTSP: Session cleanup complete 15:43:16[DEBUG]Multicast socket closed 15:43:16[DEBUG]Buffer pool: Checking for shrink opportunity (free: 16384, high_watermark: 3072, total: 16384) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.4s, total: 16384 -> 15872) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.5s, total: 15872 -> 15360) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.6s, total: 15360 -> 14848) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.7s, total: 14848 -> 14336) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 1.9s, total: 14336 -> 13824) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.0s, total: 13824 -> 13312) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.1s, total: 13312 -> 12800) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.2s, total: 12800 -> 12288) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.4s, total: 12288 -> 11776) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.5s, total: 11776 -> 11264) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.6s, total: 11264 -> 10752) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.7s, total: 10752 -> 10240) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 2.9s, total: 10240 -> 9728) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.0s, total: 9728 -> 9216) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.1s, total: 9216 -> 8704) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.2s, total: 8704 -> 8192) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.4s, total: 8192 -> 7680) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.5s, total: 7680 -> 7168) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.6s, total: 7168 -> 6656) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.8s, total: 6656 -> 6144) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 3.9s, total: 6144 -> 5632) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.0s, total: 5632 -> 5120) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.1s, total: 5120 -> 4608) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.3s, total: 4608 -> 4096) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.4s, total: 4096 -> 3584) 15:43:16[DEBUG]Buffer pool: Freeing idle segment with 512 buffers (age: 4.5s, total: 3584 -> 3072) 15:43:16[DEBUG]Buffer pool: Shrink completed - freed 26 segments (total: 3072 buffers, free: 3072)
有同样的问题。 版本:2.6.1 测试客户端: aptv 1.4.16(60) 系统: openwrt 19.07.7-kernel-4.14.221 硬件: x86_64 故障: 播放组播时,buffer pool一段时间后一定占满,导致客户端(?)重连。
应该是一个 bug,我会修复一下
尝试一下最新版,应该解决了 buffer pool 占满后客户断连问题
最新[v2.6.2]测试来看, 8Mbps码率的基本正常播放; 但是播放35Mbps码率组播时,vlc播放十几秒后,rtp视频数据就不再发送给客户端了; 同时web页面也卡死无任何反应;
仅当vlc客户端强制更换频道后,web页面才恢复正常;可反复重现
你是在外网播放吗,我感觉像是带宽不太够用的样子
Web 页面卡死的问题先忽略,建议先关掉 web 统计页面,我下个版本会优化 web 页面在大量日志时候卡死的问题
我这和2.6.1现象还是一样的,缓存池还是会满,用udpxy播放正常,带宽是够的。
可以尝试 v2.7.0。新版本在缓冲池满时会保留一些资源用于 web 面板,不会让 web 页面卡死。
但是缓冲池满这个问题本身一般是由于上行带宽不够,导致发送速度跟不上组播流达到速度,缓冲满了后就会开始丢包影响画面。
可以看到,在内网环境下,http流已经没有速度的情况下,理论上来说所有的缓冲包应该已经全部发给客户端了,但此时buffer应该还是没有release吧。我来尝试调试一下,看看这个问题。
edit: 感觉可能是kernel问题,没有EPOLLERR事件。 kernel version 4.14.221。 猜测可能是早期版本的内核对tcp zerocopy支持不完善导致的。
建议能否除了依赖EPOLLERR事件之外,再加上额外的定时来主动处理ZEROCOPY_completion。
最新版本 2.70 版本,播放8Mbps也重新断流卡死问题; [root@xxxxx:09:04 PM ] # uname -a Linux xxxxx 6.6.102 #0 SMP Fri Aug 29 05:40:22 2025 aarch64 GNU/Linux
[root@xxxxx:09:04 PM ] # lscpu
Architecture: aarch64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: ARM
Model name: Cortex-A53
Model: 4
Thread(s) per core: 1
Core(s) per cluster: 4
Socket(s): -
Cluster(s): 1
Stepping: r0p4
BogoMIPS: 26.00
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
Vulnerabilities:
Gather data sampling: Not affected
Indirect target selection: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Reg file data sampling: Not affected
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Not affected
Spectre v1: Mitigation; __user pointer sanitization
Spectre v2: Not affected
Srbds: Not affected
Tsa: Not affected
Tsx async abort: Not affected
目前已知 IPv6 访问时,因为没有正常处理 zerocopy completion 而导致缓冲池未释放,资源占满卡死。在 v2.7.1 修复了这个问题。感谢各位反馈。
@wolonggl 应该就是遇到了这个 bug
@jelliesfrothy0q-stack 看到你用的确实是 IPv4,但现象和上面这个 IPv6 bug 是一样的,暂时还不确定是什么原因。
目前已知 IPv6 访问时,因为没有正常处理 zerocopy completion 而导致缓冲池未释放,资源占满卡死。在 v2.7.1 修复了这个问题。感谢各位反馈。
@wolonggl 应该就是遇到了这个 bug
@jelliesfrothy0q-stack 看到你用的确实是 IPv4,但现象和上面这个 IPv6 bug 是一样的,暂时还不确定是什么原因。
我额外打了一些日志,似乎我的情况是没有收到epollerr事件导致没有回收buffer,可能和我的kernel版本比较低有关,也可能和网络驱动有关? 我感觉是不是可以实现定时调用handle_completion,而不完全依赖epollerr事件。可能epollerr事件不完全可靠。
Linux 4.14 系列(包括 4.14.221)里,向 error queue 塞入 zerocopy 完成事件时,内核只调用 sk->sk_data_ready(),不会唤醒只关注 EPOLLERR 的等待者,因此应用层只监听 EPOLLERR 时会错过通知;代码可见 linux-4.14/net/core/skbuff.c:4176-4178。Vinicius Costa Gomes 在提交 6e5d58fdc9bedd0255a8781b258f10bbdc63e975 (“skbuff: Fix not waking applications when errors are enqueued”) 中把这行改成了 sk->sk_error_report(sk);,从 4.16 起(及随后的主线/LTS)才会正确触发 EPOLLERR(见 linux-4.16/net/core/skbuff.c:4180-4182)。4.14.y 没有回溯这份补丁,所以在该系列内核上启用 MSG_ZEROCOPY 时仅靠 EPOLLERR 的确可能收不到完成事件。
如果必须留在 4.14,可选做法:
回移补丁 6e5d58fdc9b8…; 或者在用户态同时监听 EPOLLIN/EPOLLPRI,或在定时器里主动 recvmsg(MSG_ERRQUEUE) 清空队列。升级到 ≥4.16 的内核后则无需额外处理。
AI 分析下来貌似还真是内核的 bug。4.14 毕竟是 2017 年发布的,有点不想特别去兼容
我这边也没有 4.14 的环境来测试。你有兴趣试试的话,可以在所有的 EPOLLERR 旁边加上 | EPOLLPRI 看看能不能处理,如果能解决你的问题的话,可以提 PR 我来合并。
目前已知 IPv6 访问时,因为没有正常处理 zerocopy completion 而导致缓冲池未释放,资源占满卡死。在 v2.7.1 修复了这个问题。感谢各位反馈。
@wolonggl 应该就是遇到了这个 bug
@jelliesfrothy0q-stack 看到你用的确实是 IPv4,但现象和上面这个 IPv6 bug 是一样的,暂时还不确定是什么原因。
感谢作者的勤劳之作, 更新v2.7.1后,ipv6播放看起来正常,联系测试超高清十几分钟,缓冲池占用没有超过2% ,感谢