Hi, I'm having some strange issues with a somewhat big $avp value, when it reaches a size of about 4K I get this error:
29(47) ERROR: <core> [core/pvapi.c:1452]: pv_printf(): no more space for spec value 29(47) ERROR: <core> [core/pvapi.c:1461]: pv_printf(): buffer overflow – increase the buffer size...
In the docs I read that the default pv_buffer_size is 8K, I still tried to enforce it to something bigger and checked the logs to be sure it was set:
0(384) DEBUG: <core> [core/pvapi.c:2062]: pv_init_buffer(): PV print buffer initialized to [40][16384]
But still when reaching the 4K size inside the $avp that error comes out, is there any limit I'm not aware of?
Thanks, Enrico.
Hello,
where do you use that avp, because for the avp value itself, that buffer is not used -- avp values are stored in shared memory.
Do you use that avp in xlog() or other functions parameters?
Cheers, Daniel
On 13.02.19 09:10, Enrico Bandiera wrote:
Hi, I'm having some strange issues with a somewhat big $avp value, when it reaches a size of about 4K I get this error:
29(47) ERROR: <core> [core/pvapi.c:1452]: pv_printf(): no more space for spec value 29(47) ERROR: <core> [core/pvapi.c:1461]: pv_printf(): buffer overflow – increase the buffer size...
In the docs I read that the default pv_buffer_size is 8K, I still tried to enforce it to something bigger and checked the logs to be sure it was set:
0(384) DEBUG: <core> [core/pvapi.c:2062]: pv_init_buffer(): PV print buffer initialized to [40][16384]
But still when reaching the 4K size inside the $avp that error comes out, is there any limit I'm not aware of?
Thanks, Enrico.
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users