github-actions[bot] commented on issue #16559:
URL: 
https://github.com/apache/dolphinscheduler/issues/16559#issuecomment-2322826586

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   Version: 3.2.1, deployed using docker
   
   1. At the beginning, the worker was given 4G of memory (JAVA_OPTS=-server 
-Xms4g -Xmx4g -Xmn2g). After running for a period of time, the task was not 
executed due to memory protection. The log is as follows:
   `Worker node is BUSY: WorkerHeartBeat(startupTime=1725065068089, 
reportTime=1725065701918, cpuUsage=0.2319117335030766, 
jvmMemoryUsage=0.028848838806152344, memoryUsage=0.724853508 2157362, 
diskUsage=0.0, serverStatus=BUSY, processId=8, host=172.26.22.7, port=1234, 
workerHostWeight=100, threadPoolUsage=0)`
   
   2. Later, I was given 8G memory (JAVA_OPTS=-server -Xms8g -Xmx8g -Xmn4g), 
but the above error was reported immediately after restarting.
   3. Observe that the actual memory used is inconsistent with the display of 
dolphinschdueler
   
![Picture](https://github.com/user-attachments/assets/cd217fb1-cc3b-4b9a-b669-2533dfef8d09)
   
![Picture](https://github.com/user-attachments/assets/319b6169-ebb2-47b0-b077-be98bf04801b)
   
   
   ### What you expected to happen
   
   1. After doubling the memory, why does the value of memoryUsage remain 
unchanged (no tasks are currently running)
   2. Is the system memory usage memoryUsage calculated based on the entire jvm 
process? (I know that the max-system-memory-usage-percentage-thresholds 
parameter can be increased, but the current phenomenon is unreasonable)
   3. Why does it show that more than 0.7 memory is used after startup 
(continues)
   
   ### How to reproduce
   
   Version: 3.2.1
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   3.2.x
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to