Skip to content
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

Cannot start server at all static_pool_allocate_workers: WorkerAllocate: EOF #59

Closed
FluffyDiscord opened this issue Jul 1, 2023 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@FluffyDiscord
Copy link
Contributor

I am not sure what is going on since my first buggregator service in a different docker compose works fine, but this one is failing to start. The exposed ports are different.

buggregator  | handle_serve_command: Serve error:
buggregator  |   endure_start:
buggregator  |   endure_serve_internal: Function call error:
buggregator  |   endure_call_serve_fn: got initial serve error from the Vertex tcp.Plugin, stopping execution, error: static_pool_allocate_workers: WorkerAllocate: EOF
version: "3.8"

networks:
  my-network:
    driver: bridge

services:
  buggregator:
    stop_grace_period: 1s
    stop_signal: SIGKILL
    image: ghcr.io/buggregator/server:latest
    networks:
      - my-network
    ports:
      - "8065:8000"
@FluffyDiscord
Copy link
Contributor Author

Any updates on this please? I can't debug my RoadRunner app properly...

@butschster
Copy link
Member

Hi! Sorry for a long response. Do you have an ability to open filesystem of docker container and check logs?

@FluffyDiscord
Copy link
Contributor Author

Hi! Sorry for a long response. Do you have an ability to open filesystem of docker container and check logs?

What am I looking for? I have root access on the host machine

@rustatian
Copy link

Hey guys 👋🏻
Would be nice to see:

  • RR debug logs (you may change the level in the configuration)
  • RR version and running environment

@butschster
Copy link
Member

image

@FluffyDiscord
Copy link
Contributor Author

FluffyDiscord commented Jul 22, 2023

used docker-compose.yaml

version: "3.8"

networks:
  my-network:
    driver: bridge

services:
  buggregator:
    stop_grace_period: 1s
    stop_signal: SIGKILL
    image: ghcr.io/buggregator/server:latest
    networks:
      - my-network
    ports:
      - "2065:8000"
    volumes:
      - /mnt/user0/appdata-array/test/snaps:/app/runtime/snapshots

22.07.2023-2003.48-ErrorException.txt

[ErrorException]
socket_connect(): unable to connect [111]: Connection refused in vendor/spiral/goridge/src/SocketRelay.php:269

1. Spiral\Exceptions\ExceptionHandler->handleError() at vendor/spiral/goridge/src/SocketRelay.php:269
2. Spiral\Exceptions\ExceptionHandler->handleError() at vendor/spiral/framework/src/Exceptions/src/ExceptionHandler.php:135
3. Spiral\Exceptions\ExceptionHandler->handleShutdown()

22.07.2023-2003.48-WriteErrorException.txt

[Spiral\Files\Exception\WriteErrorException]
mkdir(): File exists in vendor/spiral/framework/src/Files/src/Files.php:127

 1. Spiral\Files\Files->write() at vendor/spiral/framework/src/Files/src/Files.php:127
 2. Spiral\Files\Files->write() at vendor/spiral/framework/src/Boot/src/Memory.php:50
 3. Spiral\Boot\Memory->saveData() at vendor/spiral/framework/src/Tokenizer/src/Listener/CachedClassesLoader.php:44
 4. Spiral\Tokenizer\Listener\CachedClassesLoader->loadClasses() at vendor/spiral/framework/src/Tokenizer/src/Bootloader/TokenizerListenerBootloader.php:62
 5. Spiral\Tokenizer\Bootloader\TokenizerListenerBootloader->Spiral\Tokenizer\Bootloader\{closure}()
 6. ReflectionFunction->invokeArgs() at vendor/spiral/framework/src/Core/src/Internal/Invoker.php:75
 7. Spiral\Core\Internal\Invoker->invoke() at vendor/spiral/framework/src/Core/src/Container.php:275
 8. Spiral\Core\Container->invoke() at vendor/spiral/framework/src/Boot/src/AbstractKernel.php:330
 9. Spiral\Boot\AbstractKernel->fireCallbacks() at vendor/spiral/framework/src/Boot/src/AbstractKernel.php:351
10. Spiral\Boot\AbstractKernel->bootload() at vendor/spiral/framework/src/Boot/src/AbstractKernel.php:172
11. Spiral\Boot\AbstractKernel->Spiral\Boot\{closure}() at vendor/spiral/framework/src/Core/src/ContainerScope.php:39
12. Spiral\Core\ContainerScope::runScope() at vendor/spiral/framework/src/Core/src/Container.php:173
13. Spiral\Core\Container->runScope() at vendor/spiral/framework/src/Boot/src/AbstractKernel.php:176
14. Spiral\Boot\AbstractKernel->run() at app.php:28

[ErrorException]
mkdir(): File exists in vendor/spiral/framework/src/Files/src/Files.php:75

 1. Spiral\Exceptions\ExceptionHandler->handleError() at vendor/spiral/framework/src/Files/src/Files.php:75
 2. Spiral\Exceptions\ExceptionHandler->handleError()
mkdir at vendor/spiral/framework/src/Files/src/Files.php:75
 4. Spiral\Files\Files->ensureDirectory() at vendor/spiral/framework/src/Files/src/Files.php:108
 5. Spiral\Files\Files->write() at vendor/spiral/framework/src/Boot/src/Memory.php:50
 6. Spiral\Boot\Memory->saveData() at vendor/spiral/framework/src/Tokenizer/src/Listener/CachedClassesLoader.php:44
 7. Spiral\Tokenizer\Listener\CachedClassesLoader->loadClasses() at vendor/spiral/framework/src/Tokenizer/src/Bootloader/TokenizerListenerBootloader.php:62
 8. Spiral\Tokenizer\Bootloader\TokenizerListenerBootloader->Spiral\Tokenizer\Bootloader\{closure}()
 9. ReflectionFunction->invokeArgs() at vendor/spiral/framework/src/Core/src/Internal/Invoker.php:75
10. Spiral\Core\Internal\Invoker->invoke() at vendor/spiral/framework/src/Core/src/Container.php:275
11. Spiral\Core\Container->invoke() at vendor/spiral/framework/src/Boot/src/AbstractKernel.php:330
12. Spiral\Boot\AbstractKernel->fireCallbacks() at vendor/spiral/framework/src/Boot/src/AbstractKernel.php:351
13. Spiral\Boot\AbstractKernel->bootload() at vendor/spiral/framework/src/Boot/src/AbstractKernel.php:172
14. Spiral\Boot\AbstractKernel->Spiral\Boot\{closure}() at vendor/spiral/framework/src/Core/src/ContainerScope.php:39
15. Spiral\Core\ContainerScope::runScope() at vendor/spiral/framework/src/Core/src/Container.php:173
16. Spiral\Core\Container->runScope() at vendor/spiral/framework/src/Boot/src/AbstractKernel.php:176
17. Spiral\Boot\AbstractKernel->run() at app.php:28

@FluffyDiscord
Copy link
Contributor Author

probably race condition, it works like 1 out of 6 restarts

@butschster
Copy link
Member

Hmmm. Looks like a bug!

@FluffyDiscord
Copy link
Contributor Author

would it be possible to look into this error ? its been quite some time and i would reaaaaaly love to use this as mail trap and var dumper server, pretty please?

@butschster butschster self-assigned this Aug 7, 2023
@butschster butschster added the bug Something isn't working label Aug 7, 2023
@butschster
Copy link
Member

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants