"%"PRIu32"", segment_pool[u16]->empty_stack_size,
segment_pool[u16]->alloc_stack_size,
segment_pool[u16]->allocated);
+
+ if (segment_pool[u16]->max_outstanding > segment_pool[u16]->allocated) {
+ SCLogInfo("TCP segment pool of size %u had a peak use of %u segments, "
+ "more than the prealloc setting of %u", segment_pool_pktsizes[u16],
+ segment_pool[u16]->max_outstanding, segment_pool[u16]->allocated);
+ }
}
PoolFree(segment_pool[u16]);
}
void StreamMsgQueuesDeinit(char quiet) {
+ if (quiet == FALSE) {
+ if (stream_msg_pool->max_outstanding > stream_msg_pool->allocated)
+ SCLogInfo("TCP segment chunk pool had a peak use of %u chunks, "
+ "more than the prealloc setting of %u",
+ stream_msg_pool->max_outstanding, stream_msg_pool->allocated);
+ }
+
SCMutexLock(&stream_msg_pool_mutex);
PoolFree(stream_msg_pool);
SCMutexUnlock(&stream_msg_pool_mutex);