You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/11/05 05:32:53 UTC

[GitHub] [trafficserver] maskit commented on issue #5968: Trying to increase log buffer size fails miserably

maskit commented on issue #5968:
URL: https://github.com/apache/trafficserver/issues/5968#issuecomment-722152153


   I looked into the code, and the only finding was that the way to allocate a buffer for LogBuffer depends on `log_buffer_size`. With the default value the buffer is allocated by IOBufferAllocator, but with the size of 32KB the buffer is allocated by `ats_malloc`. The threshold for switching allocators is `proxy.config.log.io.max_buffer_index` (the default size is 32KB).
   
   If use of `ats_malloc` is the trigger of the issue, increasing the threshold may be a workaround.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org