Tested with r12317, slow-down to appr. one second per request still occurs, however, it seems that there are appr. 30-40 more instances that can be created before slowing down and quickly dropping down to a little bit more than one second per request.
Maybe one observation with regards to Tomcat 9: it usually uses the same thread to service client requests for the same JSP (which is the case in the test here). ---rony On 23.11.2021 16:12, Rony G. Flatscher wrote: > Tested 64-bit Tomcat+ooRexx on Linux using the same Java 17LTS as on Windows > and a debug build of > ooRexx from trunk (r12316) and the same web application that uses ooRexx in > JSPs as on the Windows > Tomcat server. > > The test will request constantly the same ooRexx JSP page from the Linux > server for ten seconds and > repeat it once. Each request will cause a Rexx interpreter instance RII to be > created in the Tomcat > server to execute all Rexx scripts in the requested JSP. (This rii will also > have its .output > redirected to the 'out'-Java object for that JSP run, such that output of say > statements will get > sent back as normal text to the client.) > > After restarting Tomcat, the very first run of fetching as quickly as > possible the ooRexx test JSP > will be rather quick up (appr. 13 msecs/req) to request # 400 (sometimes up > to # 600) after which > the requests get visually slower and slower and then (after appr. 30 more > requests) start to need a > little bit more than a second for each request (e.g. 1179 msecs/req) to > return as if something > blocks ooRexx serving the JSP. From this point on each request will need a > little bit more than a > second (a timeout?) until Tomcat gets restarted. > > Not sure how to debug this, so any advice, ideas and hints very welcome! > > ---rony > > P.S.: Did test with three builds of ooRexx from trunk, release, > relWithDebInfo, debug, all > exhibiting the same behaviour. > P.P.S.: There are no errors in the various Linux Tomcat log files. > P.P.P.S.: Tomcat on the Windows server, since yesterday's fix, remains > responsive no matter how many > requests with ooRexx in JSPs get sent to it. > _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
