shark-horse commented on issue #231: Failsafe: Killing self fork JVM. PING 
timeout elapsed.
URL: https://github.com/apache/maven-surefire/pull/231#issuecomment-485921034
 
 
   1. Logging a warning to console would be very helpful. To be more precise, 
the problem I encountered was not that `ps` wasn't installed, but that only a 
stripped-down `ps` from BusyBox was installed (comes with Alpine):
   ```
   # ps -p
   ps: unrecognized option: p
   BusyBox v1.26.2 (2017-06-11 06:38:32 GMT) multi-call binary.
   
   Usage: ps [-o COL1,COL2=HEADER]
   
   Show list of processes
   
        -o COL1,COL2=HEADER     Select columns for display
   ```
   2. I don't know about others' experiences, but we had VM exits due to this 
problem with only a 3g heap, and we know just reading the code that a GC pause 
is not the only possible cause of a problem: lots of threads on few CPU cores 
or waiting on swap file can cause the problem too. This should be less of a 
problem over time with GCs that don't pause very long and seldom 
stop-the-world. So I would not go that route.
   
   I think the work you've started to mitigate the problem is going to help at 
least. :+1: 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to