如何调试超时错误?

如何调试超时错误?

商店在 Linode 8 GB RAM 4 核、Magento 2、Nginx、PHP-FPM 7.2 上运行。我使用 1000 个客户端运行了一分钟的测试,发现错误率很高。magento 或 nginx 错误日志中没有太多内容。请指点一下?

pm = dynamic
pm.max_children = 125
pm.max_requests = 500
pm.start_servers = 37
pm.min_spare_servers = 25
pm.max_spare_servers = 75

innodb_buffer_pool_size = 4G
innodb_log_file_size = 256M
innodb_flush_log_at_trx_commit = 1 # may change to 2 or 0
innodb_flush_method = O_DIRECT
innodb_buffer_pool_instances = 4
innodb_thread_concurrency = 8
innodb_io_capacity = 1000
innodb_read_io_threads = 8
innodb_write_io_threads = 8
innodb_lru_scan_depth=256

在此处输入图片描述

相关内容