Special Offer: Get 25% OFF your first order! Use code: WELCOME25
RETURN TO FORUM

OPCache and session optimization in BoostonCP

POSTED BY: php_architect ACTIVE_MEMBER POSTED ON: Jun 03, 2026 CATEGORY: GUIDE
Does BCP use files or Redis for session storage by default? Our client's high-traffic site is slowing down due to session file lock issues on the disk.
16 Total Upvotes

REPLIES (1)

scaling_expert ACTIVE_MEMBER SOLUTION_ACCEPTED 2026.06.04 04:50
BCP mounts a RAM Disk (tmpfs) on `/var/lib/php/sessions`. Mapping session storage to memory instead of slow disk storage prevents lock overhead. Make sure your php.ini points session.save_path to that RAM directory.

AUTHENTICATION REQUIRED TO JOIN THIS STREAM.

INITIALIZE LOGIN