[OpenSIPS-Users] Huge DB query causes pv_printf error
Răzvan Crainea
razvan at opensips.org
Tue Jul 14 08:58:47 CEST 2015
Hi, Patrick!
You should increase the avpops buffer size by using the buf_size
parameter[1].
[1] http://www.opensips.org/html/docs/modules/1.11.x/avpops.html#id293698
Best regards,
Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com
On 07/13/2015 09:50 PM, Patrick Wakano wrote:
> Hello List,
> In my script I am doing a very huge SQL query using avp_db_query()
> which is causing me this error:
> ERROR:core:pv_printf: no more space for spec value
> ERROR:core:pv_printf: buffer overflow -- increase the buffer size from
> [1023]... ERROR:avpops:ops_dbquery_avps: cannot print the query
> I already tried what was pointed in this tread
> (http://opensips.org/pipermail/devel/2008-January/011344.html) but
> with no luck... The problem remains....
> Is there any other place where I should increase some buffer?
> I am using version 1.11.3
> Regards,
> Patrick
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150714/a4a6c91c/attachment.htm>
More information about the Users
mailing list