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

Corvin's avatar
Level 8

Laravel Website unresponsive

Hi everyone, I have a website hosted in INMOTION VPS. The websites works fine when not on peak hours. But there are days where the website will not be loaded and I need to start the apache from the server's web host manager. I did check the database status during those outage using workbench but it seems fine. I also increase the php fpm to 128.

Here are some information about the config of laravel website:

Uses a session database Runs a js polling that checks if the session is active Database queries seems fine base from clockwork Concurrent users are 500+ to 3000+ during peak hours Website is more of streaming platform, getting the stream from 3rd party platform, so users are idle during watching time, except for polling.

What could be the culprit for the unresponsive website? I'm planning to change the session to redis, but I dont think that session is causing the problem.

0 likes
3 replies
Snapey's avatar

how much memory and cpu is available to php on the server?

how often do you check the session is active/refresh the session

1 like
Corvin's avatar
Level 8

@Snapey Hi, vps specs is 4gb RAM and 4vCPU Cores. As for the polling, it checks every minute.

martinbean's avatar

@corvin You need to actually identify the problem. Check for things like number of active processes on your web server. If your web server (Apache, nginx, etc) is unable to create threads, then it’s not going to be able to serve requests.

1 like

Please or to participate in this conversation.