maximum query time is exceeding the limit imposed

Stimulsoft Reports.JAVA discussion
Post Reply
TecnologiaMV
Posts: 53
Joined: Mon May 30, 2022 7:35 pm

maximum query time is exceeding the limit imposed

Post by TecnologiaMV »

Hello.

We identified that the maximum query time is exceeding the limit imposed on the configured parameters, which results in excessive consumption of memory and processing by the service. Consequently, the system is overloaded and may generate a denial of service message.

In the prints we set a query with the maximum time and we are faced with an infinite query that is not stopped by the maximum query time.

What would be expected would be that the query time configured in the timeout is the value to be respected and that the system does not exceed this limit and that it is possible to send a message informing the user that the query time has been exceeded.
Attachments
codigo 0002.png
codigo 0002.png (332.72 KiB) Viewed 8072 times
Codigo 0001.png
Codigo 0001.png (332.15 KiB) Viewed 8072 times
Lech Kulikowski
Posts: 6291
Joined: Tue Mar 20, 2018 5:34 am

Re: maximum query time is exceeding the limit imposed

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
TecnologiaMV
Posts: 53
Joined: Mon May 30, 2022 7:35 pm

Re: maximum query time is exceeding the limit imposed

Post by TecnologiaMV »

Awaiting.
Vadim
Posts: 363
Joined: Tue Apr 23, 2013 11:23 am

Re: maximum query time is exceeding the limit imposed

Post by Vadim »

Hello.

StiWebViewerOptions options.getServer().setRequaestTimeout() restrict JavaScript XMLHttpRequest timeout.
If you want to restrict server requests you need to do it in server configuration, for example for Tomcat in web.xml <session-timeout> element.
TecnologiaMV
Posts: 53
Joined: Mon May 30, 2022 7:35 pm

Re: maximum query time is exceeding the limit imposed

Post by TecnologiaMV »

We will perform the adjustments and continue with the tests.
Thanks.
Max Shamanov
Posts: 794
Joined: Tue Sep 07, 2021 10:11 am

Re: maximum query time is exceeding the limit imposed

Post by Max Shamanov »

Hello,

Ok.
Let us know if you need our help.

Thank you.
Post Reply