samedi 7 juillet 2018

php 7.2 service consumes 100% resources

I have been working on a project but came across this really annoying memory leak or whatever it is, where php 7.2 service starts consuming 100% CPU (i5) and memory (8 gigs + 1 gig swap) when encountered a specific get() route (which is single request, no stress test and other stuff) which serves me a blade file with some data from the database other routes which consists of much complex queries works fine!.

I cannot provide the screenshots of task manager since my pc becomes unusable.

I am using kubuntu 18.04, laravel development server, php version 7.2.7 (no FPM, and with opcache enabled ofcourse) and Laravel version 5.6.

Note: No Queues are used.

I tried searching for a solution but none helped.

Thanks in advance.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire