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

Frankenphp always restart after a few numbers of requests #1191

Open
withinboredom opened this issue Nov 22, 2024 Discussed in #1190 · 0 comments
Open

Frankenphp always restart after a few numbers of requests #1191

withinboredom opened this issue Nov 22, 2024 Discussed in #1190 · 0 comments

Comments

@withinboredom
Copy link
Collaborator

Discussed in #1190

Originally posted by gabgabb November 22, 2024
Hello !

I am making a back-end application with an api platform and frankenphp. As well as a front with next-js.

So I communicate via REST API for everything.

I have not encountered any problems during development, however I encounter difficulties during deployment on platform.sh

I use docker for development with the help of Api platform demo.

For deployment I use this command to launch my frankenphp server.

start: ./frankenphp php-server --listen=localhost:$PORT --root=$PLATFORM_DOCUMENT_ROOT --worker=$WORKER --debug --access-log

with the frankenphp app runtime et le mode worker :

env: PORT: '8888' APP_RUNTIME: 'Runtime\FrankenPhpSymfony\Runtime' WORKER: './public/index.php'

and this script provided by platform.sh to install frankenphp on the host machine : script

I don't have any issues when using the backend normally, however I think frankenphp restarts after I ask it for too many simultaneous requests.

Here are the logs from frankenphp when calling multiple api platform endpoints :

{"level":"debug","ts":1732296368.6755393,"logger":"http.handlers.rewrite","msg":"rewrote request","request":{"remote_ip":"127.0.0.1","remote_port":"40544","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site","uri":"/api/movie_theaters/pathe-atlantia-boost","headers":{"X-Client-Verify":["NONE"],"Accept":["*/*"],"Client-Asn":["5410"],"Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"Sec-Fetch-Dest":["empty"],"X-Forwarded-Proto":["https"],"X-Client-Ip":["176.187.231.250"],"Priority":["u=1, i"],"X-Forwarded-For":["176.187.231.250"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Sec-Fetch-Mode":["cors"],"Client-Country":["fr"],"Referer":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/"],"Sec-Ch-Ua-Mobile":["?0"],"Connection":["close"],"X-Client-Ssl":["on"],"X-Original-Route":["https://api.ozzak.com/"],"Accept-Language":["fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Sec-Fetch-Site":["same-site"],"Traceparent":["00-180a5a5e848883c57bd44353025bf5c5-22a08bc836001ffb-01"]}},"method":"GET","uri":"/index.php"}
{"level":"debug","ts":1732296368.6757202,"msg":"request handling started","worker":"/app/public/index.php","url":"/index.php"}
{"level":"debug","ts":1732296368.6900258,"msg":"request handling finished","url":"/index.php"}
{"level":"debug","ts":1732296368.6900525,"msg":"request handling finished","worker":"/app/public/index.php","url":"/index.php"}
{"level":"info","ts":1732296368.6938868,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"127.0.0.1","remote_port":"40544","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site","uri":"/api/movie_theaters/pathe-atlantia-boost","headers":{"X-Client-Verify":["NONE"],"Accept":["*/*"],"Client-Asn":["5410"],"Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"Sec-Fetch-Dest":["empty"],"X-Forwarded-Proto":["https"],"X-Client-Ip":["176.187.231.250"],"Priority":["u=1, i"],"X-Forwarded-For":["176.187.231.250"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Sec-Fetch-Mode":["cors"],"Client-Country":["fr"],"Referer":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/"],"Sec-Ch-Ua-Mobile":["?0"],"Connection":["close"],"X-Client-Ssl":["on"],"X-Original-Route":["https://api.ozzak.com/"],"Accept-Language":["fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Sec-Fetch-Site":["same-site"],"Traceparent":["00-180a5a5e848883c57bd44353025bf5c5-22a08bc836001ffb-01"]}},"bytes_read":0,"user_id":"","duration":0.018515075,"size":329,"status":200,"resp_headers":{"Server":["Caddy"],"Cache-Control":["no-cache, private"],"Etag":["\"912f13ba4caaec4a-zstd\""],"X-Debug-Token":["6cf398"],"X-Content-Type-Options":["nosniff"],"Access-Control-Allow-Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"X-Debug-Token-Link":["http://api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/_profiler/6cf398"],"Content-Type":["application/ld+json; charset=utf-8"],"Content-Location":["/api/movie_theaters/pathe-atlantia-boost.jsonld"],"Date":["Fri, 22 Nov 2024 17:26:08 GMT"],"Link":["<http://api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""],"Vary":["Accept","Content-Type","Authorization","Origin","Accept-Encoding"],"X-Frame-Options":["deny"],"Access-Control-Expose-Headers":["link"],"Set-Cookie":["REDACTED"],"Content-Encoding":["zstd"]}}
{"level":"debug","ts":1732296368.7450686,"logger":"http.handlers.rewrite","msg":"rewrote request","request":{"remote_ip":"127.0.0.1","remote_port":"40644","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site","uri":"/api/address/172","headers":{"X-Original-Route":["https://api.ozzak.com/"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Priority":["u=1, i"],"Accept":["*/*"],"Accept-Language":["fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Client-Asn":["5410"],"Client-Country":["fr"],"Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Referer":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"Connection":["close"],"X-Client-Verify":["NONE"],"Sec-Fetch-Site":["same-site"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Traceparent":["00-180a5a5e88a85d4dcb0ed510a9e1d4e0-283105720cdf6e37-01"],"X-Forwarded-For":["176.187.231.250"],"X-Client-Ip":["176.187.231.250"],"X-Client-Ssl":["on"],"Sec-Fetch-Dest":["empty"],"Sec-Fetch-Mode":["cors"],"X-Forwarded-Proto":["https"]}},"method":"GET","uri":"/index.php"}
{"level":"debug","ts":1732296368.7451441,"msg":"request handling started","worker":"/app/public/index.php","url":"/index.php"}
{"level":"debug","ts":1732296368.7812696,"msg":"request handling finished","url":"/index.php"}
{"level":"debug","ts":1732296368.7813046,"msg":"request handling finished","worker":"/app/public/index.php","url":"/index.php"}
{"level":"info","ts":1732296368.7817924,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"127.0.0.1","remote_port":"40644","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site","uri":"/api/address/172","headers":{"Traceparent":["00-180a5a5e88a85d4dcb0ed510a9e1d4e0-283105720cdf6e37-01"],"X-Forwarded-For":["176.187.231.250"],"X-Client-Ip":["176.187.231.250"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Ch-Ua-Platform":["\"Windows\""],"X-Forwarded-Proto":["https"],"X-Client-Ssl":["on"],"Sec-Fetch-Dest":["empty"],"Sec-Fetch-Mode":["cors"],"X-Original-Route":["https://api.ozzak.com/"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Priority":["u=1, i"],"Client-Country":["fr"],"Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Referer":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"Connection":["close"],"Accept":["*/*"],"Accept-Language":["fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Client-Asn":["5410"],"Sec-Fetch-Site":["same-site"],"X-Client-Verify":["NONE"]}},"bytes_read":0,"user_id":"","duration":0.036853834,"size":263,"status":200,"resp_headers":{"Access-Control-Allow-Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"X-Debug-Token":["dc5838"],"X-Content-Type-Options":["nosniff"],"Access-Control-Expose-Headers":["link"],"Content-Location":["/api/address/172.jsonld"],"Date":["Fri, 22 Nov 2024 17:26:08 GMT"],"Link":["<http://api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""],"Etag":["\"20b1c4617373a509\""],"Server":["Caddy"],"Content-Type":["application/ld+json; charset=utf-8"],"Vary":["Accept","Content-Type","Authorization","Origin"],"X-Frame-Options":["deny"],"X-Debug-Token-Link":["http://api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/_profiler/dc5838"],"Set-Cookie":["REDACTED"],"Cache-Control":["no-cache, private"]}}
{"level":"debug","ts":1732296368.8304415,"logger":"http.handlers.rewrite","msg":"rewrote request","request":{"remote_ip":"127.0.0.1","remote_port":"40670","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site","uri":"/api/offers/019344b5-ee5a-8723-16f4-42315b3e092d","headers":{"X-Client-Ssl":["on"],"Sec-Ch-Ua-Platform":["\"Windows\""],"X-Client-Ip":["176.187.231.250"],"Accept-Language":["fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Client-Country":["fr"],"Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"X-Client-Verify":["NONE"],"X-Forwarded-For":["176.187.231.250"],"X-Forwarded-Proto":["https"],"X-Original-Route":["https://api.ozzak.com/"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"],"Client-Asn":["5410"],"Referer":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/"],"Sec-Fetch-Dest":["empty"],"Sec-Fetch-Mode":["cors"],"Traceparent":["00-180a5a5e8db8cd95ec194cb2e9be3aba-973004084ef382cf-01"],"Connection":["close"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Priority":["u=1, i"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Site":["same-site"]}},"method":"GET","uri":"/index.php"}
{"level":"debug","ts":1732296368.831628,"msg":"request handling started","worker":"/app/public/index.php","url":"/index.php"}
{"level":"debug","ts":1732296368.8317354,"logger":"http.handlers.rewrite","msg":"rewrote request","request":{"remote_ip":"127.0.0.1","remote_port":"40678","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site","uri":"/api/offers/019344b5-ee5a-8723-16f4-42315b3e092e","headers":{"Client-Country":["fr"],"Sec-Ch-Ua-Platform":["\"Windows\""],"X-Client-Verify":["NONE"],"X-Original-Route":["https://api.ozzak.com/"],"Client-Asn":["5410"],"Priority":["u=1, i"],"Referer":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/"],"Traceparent":["00-180a5a5e8db99f9ae16839a6e1317538-ed7581768716c833-01"],"X-Client-Ssl":["on"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"],"Accept":["*/*"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"Sec-Fetch-Dest":["empty"],"Sec-Fetch-Site":["same-site"],"Connection":["close"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Accept-Language":["fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Mode":["cors"],"X-Forwarded-For":["176.187.231.250"],"X-Forwarded-Proto":["https"],"X-Client-Ip":["176.187.231.250"]}},"method":"GET","uri":"/index.php"}
{"level":"debug","ts":1732296368.8312945,"logger":"http.handlers.rewrite","msg":"rewrote request","request":{"remote_ip":"127.0.0.1","remote_port":"40674","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site","uri":"/api/offers/019344b5-ee5a-8723-16f4-42315b3e092c","headers":{"X-Forwarded-Proto":["https"],"Client-Country":["fr"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"Sec-Fetch-Dest":["empty"],"Sec-Fetch-Mode":["cors"],"X-Client-Ip":["176.187.231.250"],"X-Original-Route":["https://api.ozzak.com/"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Sec-Fetch-Site":["same-site"],"Traceparent":["00-180a5a5e8db913f8dcbd6fbbe25d28f5-82cb5d3fd472ce73-01"],"Connection":["close"],"Accept":["*/*"],"Referer":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/"],"Sec-Ch-Ua-Platform":["\"Windows\""],"X-Client-Ssl":["on"],"Accept-Language":["fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Client-Asn":["5410"],"Priority":["u=1, i"],"Sec-Ch-Ua-Mobile":["?0"],"X-Client-Verify":["NONE"],"X-Forwarded-For":["176.187.231.250"]}},"method":"GET","uri":"/index.php"}
{"level":"debug","ts":1732296368.831879,"msg":"request handling started","worker":"/app/public/index.php","url":"/index.php"}
{"level":"debug","ts":1732296368.831936,"logger":"http.handlers.rewrite","msg":"rewrote request","request":{"remote_ip":"127.0.0.1","remote_port":"40654","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site","uri":"/api/offers/019344b5-ee5a-8723-16f4-42315b3e0935","headers":{"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"],"Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Traceparent":["00-180a5a5e8db8c8ffbf57865e52ce2b54-20f96067334b4d86-01"],"X-Forwarded-Proto":["https"],"Accept":["*/*"],"Client-Country":["fr"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Sec-Fetch-Dest":["empty"],"X-Forwarded-For":["176.187.231.250"],"Sec-Fetch-Site":["same-site"],"X-Client-Ip":["176.187.231.250"],"X-Client-Ssl":["on"],"Client-Asn":["5410"],"Referer":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Mode":["cors"],"Connection":["close"],"X-Original-Route":["https://api.ozzak.com/"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Accept-Language":["fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Priority":["u=1, i"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"X-Client-Verify":["NONE"]}},"method":"GET","uri":"/index.php"}
{"level":"debug","ts":1732296368.831517,"logger":"http.handlers.rewrite","msg":"rewrote request","request":{"remote_ip":"127.0.0.1","remote_port":"40692","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site","uri":"/api/offers/019344b5-ee5a-8723-16f4-42315b3e0939","headers":{"X-Client-Ip":["176.187.231.250"],"Referer":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"Sec-Ch-Ua-Platform":["\"Windows\""],"Sec-Fetch-Site":["same-site"],"Connection":["close"],"X-Client-Ssl":["on"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"],"Accept":["*/*"],"Accept-Language":["fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Sec-Ch-Ua-Mobile":["?0"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Client-Asn":["5410"],"Sec-Fetch-Mode":["cors"],"X-Client-Verify":["NONE"],"Sec-Fetch-Dest":["empty"],"Traceparent":["00-180a5a5e8dba232b54f7a95a276a0160-619cd9d20ede5ed7-01"],"X-Forwarded-Proto":["https"],"X-Original-Route":["https://api.ozzak.com/"],"Client-Country":["fr"],"Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Priority":["u=1, i"],"X-Forwarded-For":["176.187.231.250"]}},"method":"GET","uri":"/index.php"}
{"level":"debug","ts":1732296368.8325517,"msg":"request handling started","worker":"/app/public/index.php","url":"/index.php"}
{"level":"debug","ts":1732296368.832971,"msg":"request handling started","worker":"/app/public/index.php","url":"/index.php"}
{"level":"debug","ts":1732296368.8338501,"msg":"request handling started","worker":"/app/public/index.php","url":"/index.php"}
{"level":"debug","ts":1732296368.8343625,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296368.917856,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296368.9687448,"msg":"request handling finished","url":"/index.php"}
{"level":"debug","ts":1732296368.968772,"msg":"request handling finished","worker":"/app/public/index.php","url":"/index.php"}
{"level":"info","ts":1732296368.9693437,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"127.0.0.1","remote_port":"40674","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site","uri":"/api/offers/019344b5-ee5a-8723-16f4-42315b3e092c","headers":{"Sec-Fetch-Mode":["cors"],"X-Forwarded-Proto":["https"],"Client-Country":["fr"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"Sec-Fetch-Dest":["empty"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Sec-Fetch-Site":["same-site"],"Traceparent":["00-180a5a5e8db913f8dcbd6fbbe25d28f5-82cb5d3fd472ce73-01"],"X-Client-Ip":["176.187.231.250"],"X-Original-Route":["https://api.ozzak.com/"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"],"Connection":["close"],"Accept":["*/*"],"Referer":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Sec-Ch-Ua-Mobile":["?0"],"X-Client-Verify":["NONE"],"X-Forwarded-For":["176.187.231.250"],"X-Client-Ssl":["on"],"Accept-Language":["fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Client-Asn":["5410"],"Priority":["u=1, i"]}},"bytes_read":0,"user_id":"","duration":0.138135017,"size":333,"status":200,"resp_headers":{"X-Frame-Options":["deny"],"Content-Location":["/api/offers/019344b5-ee5a-8723-16f4-42315b3e092c.jsonld"],"Etag":["\"5f88b754cfead279\""],"Access-Control-Expose-Headers":["link"],"Set-Cookie":["REDACTED"],"Server":["Caddy"],"X-Content-Type-Options":["nosniff"],"Date":["Fri, 22 Nov 2024 17:26:08 GMT"],"Link":["<http://api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""],"Access-Control-Allow-Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"X-Debug-Token":["a3f8a3"],"Content-Type":["application/ld+json; charset=utf-8"],"Vary":["Accept","Content-Type","Authorization","Origin"],"Cache-Control":["no-cache, private"],"X-Debug-Token-Link":["http://api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/_profiler/a3f8a3"]}}
{"level":"debug","ts":1732296368.9734614,"msg":"request handling finished","url":"/index.php"}
{"level":"debug","ts":1732296368.973493,"msg":"request handling finished","worker":"/app/public/index.php","url":"/index.php"}
{"level":"info","ts":1732296368.9854293,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"127.0.0.1","remote_port":"40670","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site","uri":"/api/offers/019344b5-ee5a-8723-16f4-42315b3e092d","headers":{"X-Client-Ssl":["on"],"Sec-Ch-Ua-Platform":["\"Windows\""],"X-Client-Verify":["NONE"],"X-Client-Ip":["176.187.231.250"],"Accept-Language":["fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Client-Country":["fr"],"Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"Sec-Fetch-Dest":["empty"],"Sec-Fetch-Mode":["cors"],"X-Forwarded-For":["176.187.231.250"],"X-Forwarded-Proto":["https"],"X-Original-Route":["https://api.ozzak.com/"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"],"Client-Asn":["5410"],"Referer":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Site":["same-site"],"Traceparent":["00-180a5a5e8db8cd95ec194cb2e9be3aba-973004084ef382cf-01"],"Connection":["close"],"Accept":["*/*"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Priority":["u=1, i"]}},"bytes_read":0,"user_id":"","duration":0.155029488,"size":389,"status":200,"resp_headers":{"Vary":["Accept","Content-Type","Authorization","Origin"],"X-Frame-Options":["deny"],"Date":["Fri, 22 Nov 2024 17:26:08 GMT"],"Access-Control-Allow-Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Cache-Control":["no-cache, private"],"Link":["<http://api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""],"Access-Control-Expose-Headers":["link"],"Content-Type":["application/ld+json; charset=utf-8"],"Etag":["\"59d9960a3a99fb9b\""],"X-Debug-Token":["ebddf2"],"Set-Cookie":["REDACTED"],"Server":["Caddy"],"X-Content-Type-Options":["nosniff"],"Content-Location":["/api/offers/019344b5-ee5a-8723-16f4-42315b3e092d.jsonld"],"X-Debug-Token-Link":["http://api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/_profiler/ebddf2"]}}
{"level":"debug","ts":1732296368.990277,"msg":"request handling finished","url":"/index.php"}
{"level":"info","ts":1732296368.990344,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"127.0.0.1","remote_port":"40678","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site","uri":"/api/offers/019344b5-ee5a-8723-16f4-42315b3e092e","headers":{"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Mode":["cors"],"X-Forwarded-For":["176.187.231.250"],"X-Forwarded-Proto":["https"],"X-Client-Ip":["176.187.231.250"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Accept-Language":["fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"X-Original-Route":["https://api.ozzak.com/"],"Client-Asn":["5410"],"Client-Country":["fr"],"Sec-Ch-Ua-Platform":["\"Windows\""],"X-Client-Verify":["NONE"],"X-Client-Ssl":["on"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"],"Priority":["u=1, i"],"Referer":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/"],"Traceparent":["00-180a5a5e8db99f9ae16839a6e1317538-ed7581768716c833-01"],"Sec-Fetch-Site":["same-site"],"Connection":["close"],"Accept":["*/*"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"Sec-Fetch-Dest":["empty"]}},"bytes_read":0,"user_id":"","duration":0.158731588,"size":352,"status":200,"resp_headers":{"X-Content-Type-Options":["nosniff"],"Link":["<http://api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""],"Access-Control-Expose-Headers":["link"],"Cache-Control":["no-cache, private"],"Date":["Fri, 22 Nov 2024 17:26:08 GMT"],"Etag":["\"7e4304c84b8a965e\""],"Access-Control-Allow-Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"X-Debug-Token":["c16f94"],"Server":["Caddy"],"Content-Type":["application/ld+json; charset=utf-8"],"X-Frame-Options":["deny"],"X-Debug-Token-Link":["http://api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/_profiler/c16f94"],"Vary":["Accept","Content-Type","Authorization","Origin"],"Content-Location":["/api/offers/019344b5-ee5a-8723-16f4-42315b3e092e.jsonld"],"Set-Cookie":["REDACTED"]}}
{"level":"debug","ts":1732296368.990763,"msg":"request handling finished","worker":"/app/public/index.php","url":"/index.php"}
{"level":"debug","ts":1732296369.0254638,"logger":"http.handlers.rewrite","msg":"rewrote request","request":{"remote_ip":"127.0.0.1","remote_port":"40702","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site","uri":"/api/movies/dune","headers":{"Client-Asn":["5410"],"X-Client-Verify":["NONE"],"X-Forwarded-Proto":["https"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Sec-Fetch-Mode":["cors"],"Traceparent":["00-180a5a5e98cc0d8433ea5411dc29fa71-9a2a579fb82a68bf-01"],"X-Forwarded-For":["176.187.231.250"],"X-Original-Route":["https://api.ozzak.com/"],"Accept-Language":["fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"Priority":["u=1, i"],"Sec-Fetch-Dest":["empty"],"X-Client-Ssl":["on"],"Accept":["*/*"],"Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Client-Country":["fr"],"Referer":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Site":["same-site"],"Connection":["close"],"X-Client-Ip":["176.187.231.250"]}},"method":"GET","uri":"/index.php"}
{"level":"debug","ts":1732296369.025539,"msg":"request handling started","worker":"/app/public/index.php","url":"/index.php"}
{"level":"debug","ts":1732296369.0264816,"msg":"request handling finished","url":"/index.php"}
{"level":"debug","ts":1732296369.0265222,"msg":"request handling finished","worker":"/app/public/index.php","url":"/index.php"}
{"level":"info","ts":1732296369.0265312,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"127.0.0.1","remote_port":"40654","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site","uri":"/api/offers/019344b5-ee5a-8723-16f4-42315b3e0935","headers":{"Sec-Ch-Ua-Mobile":["?0"],"Sec-Fetch-Mode":["cors"],"Sec-Fetch-Site":["same-site"],"X-Client-Ip":["176.187.231.250"],"X-Client-Ssl":["on"],"Client-Asn":["5410"],"Referer":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"X-Client-Verify":["NONE"],"Connection":["close"],"X-Original-Route":["https://api.ozzak.com/"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Accept-Language":["fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Priority":["u=1, i"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"],"Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Traceparent":["00-180a5a5e8db8c8ffbf57865e52ce2b54-20f96067334b4d86-01"],"X-Forwarded-For":["176.187.231.250"],"X-Forwarded-Proto":["https"],"Accept":["*/*"],"Client-Country":["fr"],"Sec-Ch-Ua-Platform":["\"Windows\""],"Sec-Fetch-Dest":["empty"]}},"bytes_read":0,"user_id":"","duration":0.195966339,"size":348,"status":200,"resp_headers":{"X-Content-Type-Options":["nosniff"],"Content-Type":["application/ld+json; charset=utf-8"],"Vary":["Accept","Content-Type","Authorization","Origin"],"Content-Location":["/api/offers/019344b5-ee5a-8723-16f4-42315b3e0935.jsonld"],"X-Debug-Token-Link":["http://api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/_profiler/345b77"],"Etag":["\"49ac1b05b472adbf\""],"Access-Control-Allow-Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Set-Cookie":["REDACTED"],"Server":["Caddy"],"X-Frame-Options":["deny"],"Date":["Fri, 22 Nov 2024 17:26:09 GMT"],"Link":["<http://api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""],"Cache-Control":["no-cache, private"],"Access-Control-Expose-Headers":["link"],"X-Debug-Token":["345b77"]}}
{"level":"debug","ts":1732296369.0280316,"msg":"request handling finished","url":"/index.php"}
{"level":"debug","ts":1732296369.028049,"msg":"request handling finished","worker":"/app/public/index.php","url":"/index.php"}
{"level":"info","ts":1732296369.028871,"logger":"http.log.access","msg":"handled request","request":{"remote_ip":"127.0.0.1","remote_port":"40692","client_ip":"127.0.0.1","proto":"HTTP/1.1","method":"GET","host":"api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site","uri":"/api/offers/019344b5-ee5a-8723-16f4-42315b3e0939","headers":{"Sec-Fetch-Site":["same-site"],"Connection":["close"],"X-Client-Ssl":["on"],"User-Agent":["Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"],"Accept":["*/*"],"Accept-Language":["fr,fr-FR;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6"],"Sec-Ch-Ua-Mobile":["?0"],"Accept-Encoding":["gzip, deflate, br, zstd"],"Client-Asn":["5410"],"Sec-Fetch-Mode":["cors"],"X-Client-Verify":["NONE"],"Sec-Fetch-Dest":["empty"],"Traceparent":["00-180a5a5e8dba232b54f7a95a276a0160-619cd9d20ede5ed7-01"],"X-Forwarded-Proto":["https"],"X-Original-Route":["https://api.ozzak.com/"],"Client-Country":["fr"],"Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Priority":["u=1, i"],"X-Forwarded-For":["176.187.231.250"],"X-Client-Ip":["176.187.231.250"],"Referer":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/"],"Sec-Ch-Ua":["\"Microsoft Edge\";v=\"131\", \"Chromium\";v=\"131\", \"Not_A Brand\";v=\"24\""],"Sec-Ch-Ua-Platform":["\"Windows\""]}},"bytes_read":0,"user_id":"","duration":0.19743301,"size":384,"status":200,"resp_headers":{"X-Debug-Token-Link":["http://api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/_profiler/d3c19e"],"X-Content-Type-Options":["nosniff"],"Cache-Control":["no-cache, private"],"Server":["Caddy"],"Content-Location":["/api/offers/019344b5-ee5a-8723-16f4-42315b3e0939.jsonld"],"Link":["<http://api.ozzak.com.feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site/api/docs.jsonld>; rel=\"http://www.w3.org/ns/hydra/core#apiDocumentation\""],"Access-Control-Allow-Origin":["https://feature-next-ozzak-4pkbyua-egsgdc4lcj7i4.eu-5.platformsh.site"],"Access-Control-Expose-Headers":["link"],"X-Debug-Token":["d3c19e"],"Set-Cookie":["REDACTED"],"Vary":["Accept","Content-Type","Authorization","Origin"],"Date":["Fri, 22 Nov 2024 17:26:08 GMT"],"Etag":["\"f28dbffde9138992\""],"Content-Type":["application/ld+json; charset=utf-8"],"X-Frame-Options":["deny"]}}
// Cleaning old PHP session files //
// Reusing existing Symfony cache //
Reusing existing Symfony cache (executed in 0 seconds)
{"level":"warn","ts":1732296372.2452395,"logger":"admin","msg":"admin endpoint disabled"}
{"level":"debug","ts":1732296372.2453728,"logger":"http.auto_https","msg":"adjusted config","tls":{"automation":{"policies":[{}]}},"http":{"servers":{"php":{"listen":["localhost:8888"],"read_header_timeout":10000000000,"idle_timeout":30000000000,"max_header_bytes":10240,"routes":[{"handle":[{"handler":"subroute","routes":[{"handle":[{"encodings":{"br":{},"gzip":{},"zstd":{}},"handler":"encode","prefer":["zstd","br","gzip"]}]},{"handle":[{"handler":"static_response","headers":{"Location":["{http.request.orig_uri.path}/"]},"status_code":308}],"match":[{"file":{"root":"/app/public","try_files":["{http.request.uri.path}/index.php"]},"not":[{"path":["*/"]}]}]},{"handle":[{"handler":"rewrite","uri":"{http.matchers.file.relative}"}],"match":[{"file":{"root":"/app/public","split_path":[".php"],"try_files":["{http.request.uri.path}","{http.request.uri.path}/index.php","index.php"]}}]},{"handle":[{"handler":"php","resolve_root_symlink":true,"root":"/app/public","split_path":[".php"]}],"match":[{"path":["*.php"]}]},{"handle":[{"handler":"file_server","root":"/app/public"}]}]}]}],"automatic_https":{},"logs":{}}}}}
{"level":"info","ts":1732296372.245606,"logger":"tls.cache.maintenance","msg":"started background certificate maintenance","cache":"0xc000521980"}
{"level":"debug","ts":1732296372.2463984,"logger":"http","msg":"starting server loop","address":"127.0.0.1:8888","tls":false,"http3":false}
{"level":"info","ts":1732296372.2464244,"logger":"http.log","msg":"server running","name":"php","protocols":["h1","h2","h3"]}
{"level":"debug","ts":1732296372.2467477,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.246776,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.2467902,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.2468002,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.2468107,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.246806,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.2468207,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.2468224,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.2468321,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.2468376,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.246843,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.2468486,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.2468681,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.246885,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.2470698,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.2468498,"msg":"starting","worker":"/app/public/index.php","num":16}
{"level":"debug","ts":1732296372.888107,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296372.8881845,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296372.8891542,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296372.8892584,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296372.8894155,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296372.8895135,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296372.8898375,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296372.8898947,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296372.8899205,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296372.8901217,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296372.8903198,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296372.8904612,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296372.891308,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296372.8922558,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296372.9060814,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"debug","ts":1732296372.9066944,"msg":"waiting for request","worker":"/app/public/index.php"}
{"level":"info","ts":1732296372.9067364,"msg":"FrankenPHP started 🐘","php_version":"8.3.14","num_threads":17}
{"level":"info","ts":1732296372.9068148,"msg":"Caddy serving PHP app on localhost:8888"}
{"level":"info","ts":1732296372.9204123,"logger":"tls","msg":"storage cleaning happened too recently; skipping for now","storage":"FileStorage:/app/.local/share/caddy","instance":"71f72102-66cf-4ea2-a24d-20855563a51a","try_again":1732382772.9204094,"try_again_in":86399.99999915}
{"level":"info","ts":1732296372.920544,"logger":"tls","msg":"finished cleaning storage units"}

I don't get any errors in the application itself when calling.

I know that frankenphp is supposed to start by itself after a certain number of requests but I'm not sure if this is the desired behavior here.

In addition to this I ran tests on my endpoints: :

seq 1 15 | xargs -n1 -P10 -I{} curl -s -o /dev/null -w "Request {}: %{http_code}, Time: %{time_total}s\n" https://endpoint/api/movies
Request 5: 200, Time: 0.836003s
Request 4: 200, Time: 0.959996s
Request 7: 200, Time: 1.022603s
Request 3: 200, Time: 1.022831s
Request 8: 200, Time: 1.103894s
Request 1: 200, Time: 1.204442s
Request 12: 502, Time: 0.289281s
Request 11: 502, Time: 0.413909s
Request 6: 502, Time: 1.261281s
Request 2: 502, Time: 1.262206s
Request 9: 502, Time: 1.261805s
Request 10: 502, Time: 1.262984s
Request 13: 502, Time: 0.239083s
Request 14: 502, Time: 0.238837s
Request 15: 502, Time: 0.200379s

we see that the server is not accessible after a certain number of requests.

Finnaly here is my php.ini :

phpinfo()
PHP Version => 8.3.13

System => Linux api.0 6.6.30-0psh1 #0psh1 SMP PREEMPT_DYNAMIC Fri, 3 May 2024 03:02:25 +0000 x86_64
Build System => Linux runner-48b03d10-project-389-concurrent-0 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php/8.3/cli
Loaded Configuration File => /etc/php/8.3/cli/php.ini
Scan this dir for additional .ini files => /etc/php/8.3/cli/conf.d
Additional .ini files parsed => (none)
PHP API => 20230831
PHP Extension => 20230831
Zend Extension => 420230831
Zend Extension Build => API420230831,NTS
PHP Extension Build => API20230831,NTS
Debug Build => no
Thread Safety => disabled
Zend Signal Handling => enabled
Zend Memory Manager => enabled
Zend Multibyte Support => provided by mbstring
Zend Max Execution Timers => disabled
IPv6 Support => enabled
DTrace Support => available, disabled

Registered PHP Streams => https, ftps, compress.zlib, php, file, glob, data, http, ftp, compress.bzip2, phar, zip
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters => zlib.*, string.rot13, string.toupper, string.tolower, convert.*, consumed, dechunk, bzip2.*, convert.iconv.*

This program makes use of the Zend Scripting Language Engine:
Zend Engine v4.3.13, Copyright (c) Zend Technologies
    with Zend OPcache v8.3.13, Copyright (c), by Zend Technologies
    with blackfire v1.92.17~linux-x64-non_zts83, https://blackfire.io, by Blackfire


 _______________________________________________________________________


Configuration

apcu

APCu Support => Enabled
Version => 5.1.24
APCu Debugging => Disabled
MMAP Support => Enabled
MMAP File Mask =>
Serialization Support => php
Build Date => Sep 22 2024 04:02:40

Directive => Local Value => Master Value
apc.coredump_unmap => Off => Off
apc.enable_cli => On => On
apc.enabled => On => On
apc.entries_hint => 4096 => 4096
apc.gc_ttl => 3600 => 3600
apc.mmap_file_mask => no value => no value
apc.preload_path => no value => no value
apc.serializer => php => php
apc.shm_segments => 1 => 1
apc.shm_size => 32M => 32M
apc.slam_defense => Off => Off
apc.smart => 0 => 0
apc.ttl => 0 => 0
apc.use_request_time => Off => Off

bcmath

BCMath support => enabled

Directive => Local Value => Master Value
bcmath.scale => 0 => 0

blackfire

Blackfire => enabled
Blackfire => 1.92.17~linux-x64-non_zts83
Timing measurement => cgt
Sessions support => enabled
Num of CPU => 8
Profiling heap memory => 0 Kb
Main instance trigger mode => CLI autotriggered
Main instance => disabled

                   Blackfire runtime active environment
BLACKFIRE_LOG_LEVEL => 2
BLACKFIRE_LOG_FILE => stderr
BLACKFIRE_SERVER_ID => 1f4d3bb6-5287-47ee-9e19-406419aec68e
BLACKFIRE_SERVER_TOKEN => 6cebca70ea16a36f35fb290ec2f78d01df8b361daabcbfedbdfeda07d0e85aee
                        Blackfire runtime headers
                           No headers detected

Directive => Local Value => Master Value
blackfire.agent_socket => unix:///var/run/blackfire/agent.sock => unix:///var/run/blackfire/agent.sock
blackfire.apm_agent_timeout_ms => 300 => 300
blackfire.apm_browser_collector_endpoint => no value => no value
blackfire.apm_browser_key => no value => no value
blackfire.apm_browser_probe_url => no value => no value
blackfire.apm_connect_at_startup => 0 => 0
blackfire.apm_enable_automatic_browser_probe => 1 => 1
blackfire.apm_enabled => 1 => 1
blackfire.apm_lock_duration => 300 => 300
blackfire.debug.sigsegv_handler => 0 => 0
blackfire.env_id => no value => no value
blackfire.env_token => no value => no value
blackfire.experimental.observer_api => 0 => 0
blackfire.features.auto_profiling => 1 => 1
blackfire.features.curl => 1 => 1
blackfire.features.embedded_code => 1 => 1
blackfire.hostname => no value => no value
blackfire.log_file => stderr => no value
blackfire.log_level => 2 => 1
blackfire.server_id => 1f4d3bb6-5287-47ee-9e19-406419aec68e => no value
blackfire.server_token => 6cebca70ea16a36f35fb290ec2f78d01df8b361daabcbfedbdfeda07d0e85aee => no value


Blackfire developed by Blackfire


bz2

BZip2 Support => Enabled
Stream Wrapper support => compress.bzip2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.8, 13-Jul-2019

calendar

Calendar support => enabled

Core

PHP Version => 8.3.13

Directive => Local Value => Master Value
allow_url_fopen => On => On
allow_url_include => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => UTF-8 => UTF-8
default_mimetype => text/html => text/html
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => Off => Off
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => Off => Off
enable_post_data_reading => On => On
error_append_string => no value => no value
error_log => no value => no value
error_log_mode => 0644 => 0644
error_prepend_string => no value => no value
error_reporting => 22527 => 22527
expose_php => Off => Off
extension_dir => /usr/lib/php/20230831 => /usr/lib/php/20230831
fiber.stack_size => no value => no value
file_uploads => On => On
hard_timeout => 2 => 2
highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .: => .:
input_encoding => no value => no value
internal_encoding => no value => no value
log_errors => On => On
mail.add_x_header => Off => Off
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
mail.mixed_lf_and_crlf => Off => Off
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
max_input_vars => 5000 => 5000
max_multipart_body_parts => -1 => -1
memory_limit => -1 => -1
open_basedir => no value => no value
output_buffering => 0 => 0
output_encoding => no value => no value
output_handler => no value => no value
post_max_size => 4088M => 4088M
precision => 14 => 14
realpath_cache_size => 4096K => 4096K
realpath_cache_ttl => 600 => 600
register_argc_argv => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
request_order => GP => GP
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => 17 => 17
short_open_tag => Off => Off
SMTP => localhost => localhost
smtp_port => 25 => 25
sys_temp_dir => no value => no value
syslog.facility => LOG_USER => LOG_USER
syslog.filter => no-ctrl => no-ctrl
syslog.ident => php => php
unserialize_callback_func => no value => no value
upload_max_filesize => 4088M => 4088M
upload_tmp_dir => no value => no value
user_dir => no value => no value
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
variables_order => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
zend.assertions => -1 => -1
zend.detect_unicode => Off => Off
zend.enable_gc => On => On
zend.exception_ignore_args => Off => Off
zend.exception_string_param_max_len => 15 => 15
zend.max_allowed_stack_size => 0 => 0
zend.multibyte => Off => Off
zend.reserved_stack_size => 0 => 0
zend.script_encoding => no value => no value
zend.signal_check => Off => Off

I searched a lot but I did not find the answer that could help me. I may have my lconfiguré frankenphp for a pre-prod environment. It would be a pleasure to exchange!

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

1 participant