[OpenSER-Devel] ERROR:core:pv_printf: buffer overflow (doing a long SQL query)
Iñaki Baz Castillo
ibc at in.ilimit.es
Mon Jan 7 17:06:41 UTC 2008
On Monday 07 January 2008 17:30:23 Bogdan-Andrei Iancu wrote:
> Hi Iñaki,
>
> You need to increase PV_PRINT_BUF_SIZE which is the size of the buffer
> used for printing the end result. PV_PRINT_BUF_NO is the number of
> buffers to be used in case of nested calls, but it is not your case.
Thanks Bogdan, but Ive increased it (from 1024 to 4096):
#define PV_PRINT_BUF_SIZE 4096
and the problem still occurs in exactly the same way:
----------------------------
Jan 7 18:08:13 [31284] ERROR:core:pv_printf: no more space for text [34]
Jan 7 18:08:13 [31284] ERROR:core:pv_printf: buffer overflow -- increase the
buffer size...
Jan 7 18:08:13 [31284] ERROR:avpops:ops_dbquery_avps: cannot print the query
-----------------------------
Should I do anyhting else?
Really thanks a lot for any help.
--
Iñaki Baz Castillo
ibc at in.ilimit.es
More information about the Devel
mailing list