try adding this to the war web.xml or the root server.xml
<filter>
<filter-name>RateLimitFilter</filter-name>
<filter-class>org.apache.catalina.filters.RateLimitFilter</filter-class>
<init-param>
<param-name>bucketDuration</param-name>
<param-value>60</param-value> <!-- Time window in seconds -->
</init-param>
<init-param>
<param-name>bucketRequests</param-name>
<param-value>300</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>RateLimitFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
On Sat, Nov 21, 2026 at 3:45 PM Alex O'Ree <[email protected]> wrote:
>
> i can whip up a rate limiter. shouldn't be too hard
>
> On Sat, Nov 21, 2026 at 3:03 PM Juan Pablo Santos Rodríguez
> <[email protected]> wrote:
> >
> > Hi,
> >
> > so it seems that a spike of 32K requests stormed the server, causing
> > an OOM, there were more requests than tomcat was able to handle. Logs
> > show that the same pages / attachments were requested over and over,
> > so probably it was bot traffic.
> >
> > Upgraded the memory used by tomcat to take as much as the VM allows,
> > and configured to dump memory and exit tomcat instead of hang, so it
> > can be restarted next time this happens
> >
> > best regards,
> > juan pablo
> >
> > On Sat, Nov 21, 2026 at 5:56 PM Jürgen Weber <[email protected]> wrote:
> > >
> > > Apache httpd before the Wiki would only take away the SSL load, which
> > > shouldn't be much. But one could add several Wiki instances and have
> > > httpd round-robin them. Or a static front page, which links to the
> > > download.
> > >
> > > But if JSPWiki indeed can't stand the load, one should search for the
> > > cause. Jira?
> > > Don't think it is Tomcat's fault.
> > >
> > > At least the wiki instance could be monitored. If curl fails, send mail.
> > >
> > > Greetings,
> > > Juergen
> > >
> > > Am Sa., 21. Nov. 2026 um 14:44 Uhr schrieb Juan Pablo Santos Rodríguez
> > > <[email protected]>:
> > > >
> > > > Hi!
> > > >
> > > > I won't be at home until a few hours, but will check as I'm able to.
> > > > Will
> > > > also try to update to 2.12.6 too.
> > > >
> > > > Last time the wiki instance died b/c of just too many requests, perhaps
> > > > it
> > > > is time to put some httpd to cache requests.
> > > >
> > > >
> > > > best regards,
> > > > juan pablo
> > > >
> > > > El sáb, 21 nov 2026, 14:26, Arturo Bernal via dev
> > > > <[email protected]>
> > > > escribió:
> > > >
> > > > > Hi Alex,
> > > > >
> > > > > Sorry, I do not have access to the VM either ("Permission denied
> > > > > (publickey)"). I have opened INFRA-28701 to ask Infra for access.
> > > > >
> > > > > Juan Pablo, can you check the Tomcat logs if you have access? Please
> > > > > save the last lines before any restart.
> > > > >
> > > > > Arturo
> > > > >
> > > > > On 11/21/26 2:14 PM, Alex O'Ree via dev wrote:
> > > > > > I don't believe i have access to the VM. Can someone with access
> > > > > > check
> > > > > > the logs to see what's going on?
> > > > >
> > > > >