-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does CTR ends his work correct? insufficient memory for the Java Runtime Environment appears. #2667
Comments
If you run jps on the server, what java apps are running? |
@cppwfs |
Hi, @Rostish. Thank you for your update. It is a bit odd to see that you've seven instances of CTR running. Do you have seven different Composed Task pipelines running simultaneously? It'd help if you could open up the logs for those seven instances, and share the last bit of logs/exception messages here for review. We will attempt to reproduce it on our side as well. |
Good day for you @sabbyanandan. UPDATE: |
That seems like a bug (in 2.0.2). We are in the middle of 2.0 M1 release of SCDF, so please bear with us, and we will get back to you. We will also use spring-attic/spring-cloud-task-app-starters-composed-task-runner#60 to troubleshoot it. |
Was able to resolve this issue with the closeContextEnabled flag. For more information please review: spring-attic/spring-cloud-task-app-starters-composed-task-runner#60 |
Description:
Today i tried to launch my graph what contains about 30 task for 90 days.
I noticed that the server gradually runs out of memory, and then in one of the tasks next error was appeared:
I checked memory state using "htop" command and saw next:
On screenshot you could see about 20% of messages. There are more of them. In the begining there were about 25GB of free space, after about 30 executions become 3-4GB of free space. After dataflow-server reboot memory is back.
I checked logs of CTR, last line says:
There are no words about shutdown.I can not be sure that CTR will report about shutdown as Spring Boot, but with insufficient of memory it look likes smt going wrong.
Release versions:
Local Server - 1.7.2 Snapshot
CTR-2.0.2
Custom apps:
My apps end their work coorectly, dataflow server says all jobs has completed status. In logs i can see shutdown messages.
Steps to reproduce:
Additional context
My server has 48GB of RAM. There are a docker with about 10 running container. Dataflow-server is working locally not via container. I run it from my ssh session.
The text was updated successfully, but these errors were encountered: