https://issues.apache.org/bugzilla/show_bug.cgi?id=56009
--- Comment #1 from kobi <[email protected]> --- when using httpd with our implemented module. we observer a constant leak while persistant connections are connected to the httpd. this behaiviour with the same module code was not presented in httpd-2.2.16. We have investigated the problem and can not find a patch for the issue or explanation. What we have observed so far is that there is a use of the apr-utils and brigades implmentation which over time will contain unused buckets in a rate of 4Mb per day for persistant connections to the httpd. valgrind leads to the below flow which causes a leak overetime. 1. Several patches did not help. 2. comparing the apr and apr-utils of previous 2.2.16 apache (build in) and trying to match some suspected code did not help. 3. we have printed the brigade allocations and deallocations and see every few minutes deallocations which skips buckets that where allocated. Any help would be appriciated. ==31706== 16,384 bytes in 2 blocks are possibly lost in loss record 8,372 of 8,377 ==31706== at 0x6DF4B83: malloc (vg_replace_malloc.c:195) ==31706== by 0x7037D60: allocator_alloc (in /misc/nethome/kobi/kobi_MCMS-V7.8_int/vob/MCMS/Main/Bin/libapr-1.so.0) ==31706== by 0x7037AE6: apr_allocator_alloc (in /misc/nethome/kobi/kobi_MCMS-V7.8_int/vob/MCMS/Main/Bin/libapr-1.so.0) ==31706== by 0x6FC9273: apr_bucket_alloc (in /misc/nethome/kobi/kobi_MCMS-V7.8_int/vob/MCMS/Main/Bin/libaprutil-1.so.0) ==31706== by 0x6FC8AFF: apr_brigade_writev (in /misc/nethome/kobi/kobi_MCMS-V7.8_int/vob/MCMS/Main/Bin/libaprutil-1.so.0) ==31706== by 0x80C8213: basic_http_header (in /misc/nethome/kobi/kobi_MCMS-V7.8_int/vob/MCMS/Main/Bin/httpd) ==31706== by 0x80C9930: ap_http_header_filter (in /misc/nethome/kobi/kobi_MCMS-V7.8_int/vob/MCMS/Main/Bin/httpd) ==31706== by 0x807A80E: ap_pass_brigade (in /misc/nethome/kobi/kobi_MCMS-V7.8_int/vob/MCMS/Main/Bin/httpd) ==31706== by 0x80800D1: ap_content_length_filter (in /misc/nethome/kobi/kobi_MCMS-V7.8_int/vob/MCMS/Main/Bin/httpd) ==31706== by 0x807A80E: ap_pass_brigade (in /misc/nethome/kobi/kobi_MCMS-V7.8_int/vob/MCMS/Main/Bin/httpd) ==31706== by 0x80CC4B7: ap_byterange_filter (in /misc/nethome/kobi/kobi_MCMS-V7.8_int/vob/MCMS/Main/Bin/httpd) ==31706== by 0x807A80E: ap_pass_brigade (in /misc/nethome/kobi/kobi_MCMS-V7.8_int/vob/MCMS/Main/Bin/httpd) -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
