Support the ongoing development of Laravel.io →
Session Cache

I tried to implement my website build from Laravel 4.1.28

  • Cache: File
  • Session: File
  • Debug: FALSE
  • DB: MySQL
  • Total File: 5124 (from "/vendor") + 200 File (from "/app")
  • Optimize (php artisan optimize)

##[VPS (VM) + CentOS 6.5/7 + 1 Core CPU + 1GB RAM + PHP 5.4.16 + MySQL 5.6.21 + Apache 2.4/Nginx 1.0.15]

  • First implementation it works. But after 10 - 20 request simultanously, my host server is hang up (cause a 503 response code on Nginx server, on Apache only run out of CPU resource)

##[Physical shared hosting server + OS Linux/unknown-distro + 1 Core CPU + 1GB RAM + PHP 5.3.28 + MySQL 5.1.73 + Apache 2.x]

  • Work normal. To many request simultanously on cause my webstie look busy but the server performance is stable.

I have read about Stackoverflow question (e.g. http://stackoverflow.com/questions/25767246/laravel-high-cpu-load-using-file-based-sessions), it can be file based sessions.

If anyone have any suggestion to help me out of this problem?

##I'm sorry for my bad english Thanx in advance

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

vafrcor vafrcor Joined 1 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.