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

hsntngr's avatar

Laravel Php 7.1 high cpu usage

When I started laravel project in ubuntu 17.10, php 7.1 use cpu almost %100. I dont have a problem something like that before ? How can I fix that ?

0 likes
2 replies
bobbybouwmann's avatar

You need to give us more information than that. What kind of things does your application run? There can be many things that can higher up the CPU. The database can suck up a lot as well!

Cronix's avatar

What are you doing when it hammers the cpu? As @bobbybouwmann mentioned, we really need more info. It could be a lot of different things. The ONLY time I've had this happen, is when using a VM (homestead) and running npm run watch while ssh'd into the VM. If I run it from the mac terminal (not ssh'd into the vm), it doesn't.

Please or to participate in this conversation.