[OpenSIPS-Users] Benchmark not working on V2.4.6
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Jun 6 08:46:52 UTC 2023
Hi,
Maybe the overall log_level prevents the logging, see
https://opensips.org/html/docs/modules/2.4.x/benchmark.html#param_loglevel
Be sure that the benchmark log_level is below (or equal) to the overall
log_level
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 5/30/23 6:22 PM, Li Cai wrote:
>
> Hi,
>
> I’m trying to use Benchmark tool to investigate a database performance
> issue on OpenSIPs v2.4.6, but no matter what the configurations I
> tried, I can’t see the log printed out by Benchmark.
>
> Here are the scripts I’m using:
>
> loadmodule "benchmark.so"
>
> modparam("benchmark", "enable", 1)
>
> modparam("benchmark", "granularity", 1) # To make the benchmark
> enabled for every call
>
> …..
>
> Route {
>
> ……
>
> bm_start_timer("test");
>
> cache_store("sql:1st-mysql", "$tU-$fU-ru", "$ru", 43200);
>
> bm_log_timer("test");
>
> cache_store("sql:1st-mysql", "$tU-$fU-tu", "$tu", 43200);
>
> bm_log_timer("test");
>
> ……..
>
> }
>
> Any idea will be highly appreciated.
>
> Thanks,
>
> Li
>
>
> _______________________________________________
> 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/20230606/cef0977c/attachment.html>
More information about the Users
mailing list