[Users] AVPOPS error

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Sep 28 12:21:28 CEST 2006


ok -super :)

bogdan

Jose Silva wrote:

> Thanks!!! your solution worked out fine.
>
> Thank you very mutch.
> Jose Silva
>
> 2006/9/28, Bogdan-Andrei Iancu <bogdan at voice-system.ro>:
>
>> maybe your query is about 1024 char len, bot exceeding it all the 
>> time....
>>
>> try to increase the buffer size - see  modules/avpops/avpops_impl.c line
>> 66 for
>>     #define AVP_PRINTBUF_SIZE 1024
>>
>> note you need to recompile and re-install.
>>
>> regards,
>> bogdan
>>
>>
>> Jose Silva wrote:
>>
>> > Yes it's a very long query!
>> > But the query works for the first messages, but after a while it fails
>> > to work.
>> > How can I correct this?
>> >
>> > thanks,
>> > Jose Silva
>> >
>> >
>> > 2006/9/28, Bogdan-Andrei Iancu <bogdan at voice-system.ro>:
>> >
>> >> Hi Jose,
>> >>
>> >> maybe you are trying to form a very long query...by default, the used
>> >> buffer to build the query has a length of 1024 chars...
>> >> is this the case??
>> >>
>> >> regards,
>> >> bogdan
>> >>
>> >> Jose Silva wrote:
>> >>
>> >> > Hi I'm using avpops module to do some DB queries, everything 
>> goes fine
>> >> > and all the queries are executed correctly for the first 
>> messages, but
>> >> > after receiving allot of messages what I get on my log for one 
>> of the
>> >> > queries (just one of the queries, the other ones are executed
>> >> > correctly) is the following.
>> >> >
>> >> > (...)
>> >> > xl_printf: no more space for text [175]
>> >> > 3(4820) xl_printf: buffer overflow -- increase the buffer size...
>> >> > 3(4820) avpops:ops_dbquery_avps: error - cannot print the query
>> >> > (...)
>> >> >
>> >> > How can I solve this problem?
>> >> >
>> >> > Thanks in advance,
>> >> > Jose Silva
>> >> >
>> >> > _______________________________________________
>> >> > Users mailing list
>> >> > Users at openser.org
>> >> > http://openser.org/cgi-bin/mailman/listinfo/users
>> >> >
>> >>
>> >>
>>
>>





More information about the sr-users mailing list