du31992 2019-06-17 08:19 采纳率: 0%
浏览 81

如何在Nginx + php-fpm服务器上解决网站速度问题(一页500条记录)

I moved me shop to new server and I have problem with loading time. I have 500 products in one page (no pagination), first loading takes about 8 seconds (in old server was 2 sec maximum). Then website works very fast because cache plugin is working.

I have Prestashop 1.7.5.2 with very good cache plugin and two powerful servers: Only with database: Apache, phpMyAdmin (RAM 60 GB, Processor 16 vCores, SSD) Nginx, php-fpm 7.2 (RAM 60 GB, Processor 16 vCores, SSD)

Only page with products have this problem. I know, 500 products without pagination is not perfect idea but it have to be like that. Maybe can be wrong php-fpm config? Currently I have this:

pm = ondemand
pm.max_children = 16
pm.max_requests = 4000
pm.process_idle_timeout = 30s

I will be very grateful for your help.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥100 set_link_state
    • ¥15 虚幻5 UE美术毛发渲染
    • ¥15 CVRP 图论 物流运输优化
    • ¥15 Tableau online 嵌入ppt失败
    • ¥100 支付宝网页转账系统不识别账号
    • ¥15 基于单片机的靶位控制系统
    • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
    • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
    • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
    • ¥15 手机接入宽带网线,如何释放宽带全部速度