laravel / octane

Supercharge your Laravel application's performance.
https://laravel.com/docs/octane
MIT License
3.71k stars 284 forks source link

Maximum execution time exceeded #886

Closed rafailml closed 2 months ago

rafailml commented 2 months ago

Octane Version

2.3.10

Laravel Version

10.48.10

PHP Version

8.3.7

What server type are you using?

FrankenPHP

Server Version

dunglas/frankenphp

Database Driver & Version

MariaDB:lts

Description

I'm running Laravel with octane and FrankenPHP in Docker. FROM dunglas/frankenphp

The server starts, but after max_execution_time exceeds, I'm getting: Fatal error: Maximum execution time of 300 seconds exceeded in /app/vendor/laravel/octane/src/Commands/Concerns/InteractsWithServers.php on line 31

I increased max_execution_time to 300, but still getting same error.

Steps To Reproduce

Nothing special, in Dockerfile: ENTRYPOINT ["php", "artisan", "octane:frankenphp"]

in Docker-compose.yaml: entrypoint: php artisan octane:frankenphp --max-requests=1 --port=8000

command 'php artisan octane:status' (until running) returns: INFO Octane server is running.

rafailml commented 2 months ago

This is somehow related to my app. I installed new Laravel and it works. Sorry for that.