Skip to content

Containers are restarting in loop | Bug #2334

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

Open
sidjad opened this issue Apr 11, 2025 · 1 comment
Open

Containers are restarting in loop | Bug #2334

sidjad opened this issue Apr 11, 2025 · 1 comment

Comments

@sidjad
Copy link

sidjad commented Apr 11, 2025

After composed and run the AKTO containers, akto-api-security-testing-1 and akto-api-Dashboard-1 containers go in loop restarting. Nither get proper access not able to debug the containers. @raianand, Please have look into it.

Image

akto-1565-akto-api-security-dashboard-1 logs:
2025-04-13 20:47:07 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:47:07 JAVA_OPTIONS set to: -XX:+ExitOnOutOfMemoryError -Xmx7036874417765m
2025-04-13 20:47:07 2025-04-13 15:17:07.000:INFO:docker-entrypoint:jetty start from /var/lib/jetty/jetty.start
2025-04-13 20:47:07 Error occurred during initialization of VM
2025-04-13 20:47:07 Could not reserve enough space for 7205759403792384KB object heap
2025-04-13 20:47:32 Running memory detection script...
2025-04-13 20:47:32 Detected container memory limit: 8796093022207 MB
2025-04-13 20:47:32 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:47:32 JAVA_OPTIONS set to: -XX:+ExitOnOutOfMemoryError -Xmx7036874417765m
2025-04-13 20:47:32 2025-04-13 15:17:32.000:INFO:docker-entrypoint:jetty start from /var/lib/jetty/jetty.start
2025-04-13 20:47:32 Error occurred during initialization of VM
2025-04-13 20:47:32 Could not reserve enough space for 7205759403792384KB object heap
2025-04-13 20:48:24 Running memory detection script...
2025-04-13 20:48:24 Detected container memory limit: 8796093022207 MB
2025-04-13 20:48:24 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:48:24 JAVA_OPTIONS set to: -XX:+ExitOnOutOfMemoryError -Xmx7036874417765m
2025-04-13 20:48:24 2025-04-13 15:18:24.000:INFO:docker-entrypoint:jetty start from /var/lib/jetty/jetty.start
2025-04-13 20:48:24 Error occurred during initialization of VM
2025-04-13 20:48:24 Could not reserve enough space for 7205759403792384KB object heap
2025-04-13 20:49:24 Running memory detection script...
2025-04-13 20:49:24 Detected container memory limit: 8796093022207 MB
2025-04-13 20:49:24 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:49:24 JAVA_OPTIONS set to: -XX:+ExitOnOutOfMemoryError -Xmx7036874417765m
2025-04-13 20:49:24 2025-04-13 15:19:24.000:INFO:docker-entrypoint:jetty start from /var/lib/jetty/jetty.start
2025-04-13 20:49:24 Error occurred during initialization of VM
2025-04-13 20:49:24 Could not reserve enough space for 7205759403792384KB object heap
2025-04-13 20:50:25 Running memory detection script...
2025-04-13 20:50:25 Detected container memory limit: 8796093022207 MB
2025-04-13 20:50:25 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:50:25 JAVA_OPTIONS set to: -XX:+ExitOnOutOfMemoryError -Xmx7036874417765m
2025-04-13 20:50:25 2025-04-13 15:20:25.000:INFO:docker-entrypoint:jetty start from /var/lib/jetty/jetty.start
2025-04-13 20:50:25 Error occurred during initialization of VM
2025-04-13 20:50:25 Could not reserve enough space for 7205759403792384KB object heap
2025-04-13 20:51:25 Running memory detection script...
2025-04-13 20:51:25 Detected container memory limit: 8796093022207 MB
2025-04-13 20:51:25 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:51:25 JAVA_OPTIONS set to: -XX:+ExitOnOutOfMemoryError -Xmx7036874417765m
2025-04-13 20:51:25 2025-04-13 15:21:25.000:INFO:docker-entrypoint:jetty start from /var/lib/jetty/jetty.start
2025-04-13 20:51:25 Error occurred during initialization of VM
2025-04-13 20:51:25 Could not reserve enough space for 7205759403792384KB object heap

akto-1565-akto-api-security-testing-1

2025-04-13 20:46:42 Could not reserve enough space for 7205759403792384KB object heap
2025-04-13 20:46:45 Detected container memory limit: 8796093022207 MB
2025-04-13 20:46:45 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:46:45 Error occurred during initialization of VM
2025-04-13 20:46:45 Could not reserve enough space for 7205759403792384KB object heap
2025-04-13 20:46:52 Detected container memory limit: 8796093022207 MB
2025-04-13 20:46:52 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:46:52 Error occurred during initialization of VM
2025-04-13 20:46:52 Could not reserve enough space for 7205759403792384KB object heap
2025-04-13 20:47:05 Detected container memory limit: 8796093022207 MB
2025-04-13 20:47:05 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:47:05 Error occurred during initialization of VM
2025-04-13 20:47:05 Could not reserve enough space for 7205759403792384KB object heap
2025-04-13 20:47:31 Detected container memory limit: 8796093022207 MB
2025-04-13 20:47:31 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:47:31 Error occurred during initialization of VM
2025-04-13 20:47:31 Could not reserve enough space for 7205759403792384KB object heap
2025-04-13 20:48:23 Detected container memory limit: 8796093022207 MB
2025-04-13 20:48:23 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:48:23 Error occurred during initialization of VM
2025-04-13 20:48:23 Could not reserve enough space for 7205759403792384KB object heap
2025-04-13 20:49:23 Detected container memory limit: 8796093022207 MB
2025-04-13 20:49:23 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:49:23 Error occurred during initialization of VM
2025-04-13 20:49:23 Could not reserve enough space for 7205759403792384KB object heap
2025-04-13 20:50:23 Detected container memory limit: 8796093022207 MB
2025-04-13 20:50:23 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:50:23 Error occurred during initialization of VM
2025-04-13 20:50:23 Could not reserve enough space for 7205759403792384KB object heap
2025-04-13 20:51:23 Detected container memory limit: 8796093022207 MB
2025-04-13 20:51:23 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:51:23 Error occurred during initialization of VM
2025-04-13 20:51:23 Could not reserve enough space for 7205759403792384KB object heap
2025-04-13 20:52:24 Detected container memory limit: 8796093022207 MB
2025-04-13 20:52:24 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:52:24 Error occurred during initialization of VM
2025-04-13 20:52:24 Could not reserve enough space for 7205759403792384KB object heap
2025-04-13 20:53:24 Detected container memory limit: 8796093022207 MB
2025-04-13 20:53:24 Calculated -Xmx value: 7036874417765 MB
2025-04-13 20:53:24 Error occurred during initialization of VM
2025-04-13 20:53:24 Could not reserve enough space for 7205759403792384KB object heap

My System Configuration:
Windows Version Microsoft Windows 11 Professional (x64), Version 24H2, Build 26100.3476
Windows Installation Date 10/27/2024
CPU CORE - 12
RAM - 32 GB
SSD - 200 GB @

@sidjad sidjad changed the title Containers are restarting in loop Containers are restarting in loop | Bug Apr 13, 2025
@Chaim12345
Copy link

you can fix this by adding
_JAVA_OPTIONS=-Xms512m -Xmx4096m
to your docker.env file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants