[Bug 68868] New: Log rotation in a Spring Boot application leaves threads in timed_waiting state

2024-04-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=68868

Bug ID: 68868
   Summary: Log rotation in a Spring Boot application leaves
threads in timed_waiting state
   Product: Tomcat 10
   Version: unspecified
  Hardware: PC
OS: Mac OS X 10.1
Status: NEW
  Severity: normal
  Priority: P2
 Component: Authentication
  Assignee: dev@tomcat.apache.org
  Reporter: namanniga...@gmail.com
  Target Milestone: --

Have detailed the issue as observed over
https://stackoverflow.com/questions/78127250/unusual-spike-in-thread-counts-every-midnight-in-springboot-application,
but to share a gist of the issue as observed: 

One of our applications has enabled daily log rotation over a log file from
multiple pods writing to the same. Apparently during the time of rotation at
midnight, multiple threads of our application were left timed_waiting, these
over days resulted in OOM and application restarts.

Sample stacktrace from the thread dump looked like:

"http-nio-8080-exec-61" #37660 [37664] daemon prio=5 os_prio=0 cpu=38462.67ms
elapsed=46889.40s tid=0x7f2e0c0557b0 nid=37664 waiting on condition
[0x7f2ddf2fe000]
java.lang.Thread.State: TIMED_WAITING (parking)
at jdk.internal.misc.Unsafe.park(java.base@21/Native Method)
- parking to wait for <0x000684f26058> (a
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at
java.util.concurrent.locks.LockSupport.parkNanos(java.base@21/LockSupport.java:269)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(java.base@21/AbstractQueuedSynchronizer.java:1758)
at
java.util.concurrent.LinkedBlockingQueue.poll(java.base@21/LinkedBlockingQueue.java:460)
at org.apache.tomcat.util.threads.TaskQueue.poll(TaskQueue.java:99)
at org.apache.tomcat.util.threads.TaskQueue.poll(TaskQueue.java:33)
at
org.apache.tomcat.util.threads.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1113)
at
org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176)
at
org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.runWith(java.base@21/Thread.java:1596)
at java.lang.Thread.run(java.base@21/Thread.java:1583)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: April releases

2024-04-06 Thread Mark Thomas

5 Apr 2024 14:18:49 Rémy Maucherat :


On Fri, Apr 5, 2024 at 2:02 PM Mark Thomas  wrote:


Hi all,

Just a heads up that I have a lot on my plate at the moment and the 
April

tag for 11.0.x is unlikely to happen for a couple of weeks.

There are changes I'd like to see in a release but I don't think there 
is

anything urgent.


I can help by doing the 11 M release. I would probably skip the
localization update for this round though.


That would be great if you could.

I'm hoping to get some Commons FileUpload changes finished over the 
weekend if you can wait until Monday.


Mark




Rémy

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 68866] WebSocket reading

2024-04-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=68866

Brigade Citrine  changed:

   What|Removed |Added

URL||https://www.brigadecitrine.
   ||live/
 OS||All

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[Bug 68866] New: WebSocket reading

2024-04-06 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=68866

Bug ID: 68866
   Summary: WebSocket reading
   Product: Tomcat 10
   Version: unspecified
  Hardware: PC
Status: NEW
  Severity: normal
  Priority: P2
 Component: WebSocket
  Assignee: dev@tomcat.apache.org
  Reporter: citrinebrig...@gmail.com
  Target Milestone: --

Visit my WebSocket Reading bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org