试图了解网络服务器性能瓶颈

发布于 2025-01-29 23:10:06 字数 730 浏览 2 评论 0原文

我在CentOS 7(CWP Pro)上运行了一家本地服务器。它主要用作网络服务器(php/fpm + mariadb)

硬件规格

  • Intel Xeon E5-2689 @ 2.60GHz X 16核
  • 12GB DDR3 RAM
  • 100GB NVME存储
  • 1GB/s以太网连接

当前有1个网站托管(WOOCommerce)(WOOCommerce)当我尝试一次不用锯齿端缓存的情况下一次打开多个网页时,感觉很慢。 虽然页面加载缓慢,但CPU / RAM / SSD的使用似乎根本不高。< / strong> (根据CWP的说法,CPU永远不会超过20%,RAM永远不会超过30%)

我运行了一些命令来检查资源使用情况,但是我仍然对瓶颈在哪里感到非常困惑。

有人可以看看这些原木并将我指向正确的方向吗?或告诉我是否应该运行其他命令来找到问题。

谢谢

命令:top

​1

命令:iostat -m 2

I have a local server running on CentOS 7 (CWP pro). It's primarily used as a web-server (PHP/FPM + MariaDB)

Hardware specs

  • Intel Xeon E5-2689 @ 2.60GHz x 16 Cores
  • 12GB of DDR3 RAM
  • 100GB of NVME storage
  • 1Gb/s ethernet connection

Currently there is 1 website hosted (WooCommerce) and it feels pretty slow when I try to open multiple web pages at once without serer-side cache.
While the pages load slowly, CPU / RAM / SSD usage do not seem to be high at all.
(according to CWP, CPU never goes over 20%, RAM never goes over 30%)

I've run a few commands to check resource usage, but I'm still very confused about where the bottleneck is.

Can someone please look at these logs and point me in the right direction? Or tell me if I should run some other command to find the issue.

Thanks

command: top

command: mpstat -P ALL 1

command: vmstat 1

command: iostat -m 2

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文