nginx – 磁盘I/O和每小时加载平均峰值一次

前端之家收集整理的这篇文章主要介绍了nginx – 磁盘I/O和每小时加载平均峰值一次前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

我们已经将我们的服务器从Debian Wheezy更新到Jessie,从PHP5.6更新到PHP7.0,但现在我们每小时都有一个磁盘I / O和负载平均峰值.确切的时间取决于系统的启动时间.

在这台服务器上,我们有:

> Nginx / 1.10.1
> PHP 7.0.8-1~docdeb 8.1
> Percona MysqL服务器5.6.30-76.3-log
> dovecot 2.2.devel
>后缀2.11.3-1
> java 1.7.0_101

我们试图回到PHP5.6,禁用cron,禁用postfix和dovecot,停止我们的Java应用程序,但没有任何帮助.

峰值如下所示:

iotop如下所示:

我怎么才能确切地知道导致这些峰值的原因并消除它们?

最佳答案
也许你每小时有一些MySQL scheduled events

MysqL Events are tasks that run according to a schedule. Therefore,we
sometimes refer to them as scheduled events. When you create an event,
you are creating a named database object containing one or more sql
statements to be executed at one or more regular intervals,beginning
and ending at a specific date and time. Conceptually,this is similar
to the idea of the Unix crontab (also known as a “cron job”) or the
Windows Task Scheduler.

猜你在找的Nginx相关文章