Docker komponieren Java -Container nicht mit "fehlgeschlagener Thread 'VM -Thread' - pthread_create fehlgeschlagen (eperJava

Java-Forum
Anonymous
 Docker komponieren Java -Container nicht mit "fehlgeschlagener Thread 'VM -Thread' - pthread_create fehlgeschlagen (eper

Post by Anonymous »

Ich versuche, eine Mehrkontineranwendung mit Docker Compose auszuführen, die Java-Dienste enthält, aber ich stehe auf ein Problem mit den Java-Containern. Der Webcontainer (next.js) beginnt gut, aber beide Java -Dienste initialisieren nicht mit dem folgenden Fehler: < /p>
[0.103s][warning][os,thread] Failed to start thread "VM Thread" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
Error occurred during initialization of VM
Cannot create VM thread. Out of system resources.
< /code>
Hier ist die Ausgabe von Docker-Compose-Protokollen: < /p>
Attaching to compass-admin_resource_1, compass-admin_api_1, compass-admin_web_1
api_1 | [0.103s][warning][os,thread] Failed to start thread "VM Thread" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
api_1 | Error occurred during initialization of VM
api_1 | Cannot create VM thread. Out of system resources.
resource_1 | [0.046s][warning][os,thread] Failed to start thread "VM Thread" - pthread_create failed (EPERM) for attributes: stacksize: 1024k, guardsize: 4k, detached.
resource_1 | Error occurred during initialization of VM
resource_1 | Cannot create VM thread. Out of system resources.
web_1 | ▲ Next.js 14.2.16
web_1 | - Local: http://af26e35c0d2b:3000
web_1 | - Network: http://192.168.128.4:3000
web_1 |
web_1 | ✓ Starting...
web_1 | ✓ Ready in 73ms
< /code>
Der Fehler legt nahe, dass es möglicherweise Berechtigungsprobleme oder Ressourcenbeschränkungen gibt, aber ich bin mir nicht sicher, wie ich es beheben soll. Der Fehlercode -Eperm gibt normalerweise Berechtigungsprobleme an.>

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post