Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ctrlaltdelme's avatar

Octane 500 errors?

I installed Octane locally yesterday to see what it can do and yeah, it's fast. However, I noticed that if I click around fairly quickly on my site, I will end up getting a 500 too many requests error. I've tried changing worker numbers to no avail. Anyone had this before and know how to fix it?

0 likes
6 replies
JussiMannisto's avatar

500 (Internal Server Error) and 429 (Too Many Requests) are two very different errors. Which one did you get?

ctrlaltdelme's avatar

@JussiMannisto Here's the proper error. I think I just took what I wanted to hear from it lol.

Looks like there’s a problem with this site

http://localhost:8000/known-places/create might have a temporary problem or it could have moved.

Error code: 500 Internal Server Error

    The site could be temporarily unavailable or too busy. Try again in a few moments.

It happens when I'm clicking around fairly quickly. It isn't always this page (I don't have many routes with views). I'm using Livewire as well.

I'm using FrankenPHP with no real other configuration. Here is my composer dev script.

"dev": [
            "Composer\\Config::disableProcessTimeout",
            "npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74,#a3e635\" \"php artisan octane:start --watch\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" \"php artisan reverb:start\" --names=octane,queue,logs,vite,reverb"
        ]

Further testing reveals I don't have to be clicking around fast either. Giving a second or two between navigations will cause it too.

I'm developing in WSL (because it's the only way I could install everything I needed on my work laptop lol), if that matters.

Database: Postgres

Using Reverb with Echo for Websocket and live notifications

ctrlaltdelme's avatar

@JussiMannisto Where is FrankenPHPs log? I can't find it in PHP Storm searching with a wildcard *.log

EDIT: I did just clear my laravel.log and don't see anything in it that indicates what's causing the problem :(

ctrlaltdelme's avatar

I think it's a PHP Memory or FrankenPHP CPU usage issue. I'm running this locally on a 16 GB RAM laptop with 16 CPU Cores and still having problems. It's been a nightmare to debug and try to fix.

I've tried adjusting my memory_amount in my php.ini and that didn't fix it. I probably have some issues in the code that I'm just not that good of a programmer to figure out lol. I think I'll call this done and just use the regular nginx server. My app will definitely not be getting that much traffic anyway. And trying to deploy this on an even smaller Ploi server will be a nightmare

Please or to participate in this conversation.