安装centos,使用不到一月。根目录50多G。
今天提示,/目录满了。经过查看,发现 /var/log/messages-"日期" 的几个巨大文件。每个有20多G。
删除之后,空间回来了。
但是查看messages文件,发现每时每秒都有网卡信息写入messages中。求教,怎么回事,怎么解决这个问题。
贴一段日志信息:
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_handle_tx_irq: TX[0]: consume_reg[0x15f6] = 0x222, tpq.consume_idx = 0x221.
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x0, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x10000, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_refresh_rx_buffer: RX[0]: prod_reg[0x15e0] = 0x1a9, rfq.produce_idx = 0x1a9
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x0, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x10000, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_refresh_rx_buffer: RX[0]: prod_reg[0x15e0] = 0x1aa, rfq.produce_idx = 0x1aa
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x0, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x10000, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_refresh_rx_buffer: RX[0]: prod_reg[0x15e0] = 0x1ab, rfq.produce_idx = 0x1ab
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x0, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_start_xmit_queue: Before XMIT: TX[0]: tpq.consume_idx = 0x222, tpq.produce_idx = 0x222
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_start_xmit_queue: TX[0]: Produce Reg[0x15f2] = 0x223.
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x8000, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_handle_tx_irq: TX[0]: consume_reg[0x15f6] = 0x223, tpq.consume_idx = 0x222.
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x0, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x10000, mask = 0x4004600
今天提示,/目录满了。经过查看,发现 /var/log/messages-"日期" 的几个巨大文件。每个有20多G。
删除之后,空间回来了。
但是查看messages文件,发现每时每秒都有网卡信息写入messages中。求教,怎么回事,怎么解决这个问题。
贴一段日志信息:
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_handle_tx_irq: TX[0]: consume_reg[0x15f6] = 0x222, tpq.consume_idx = 0x221.
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x0, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x10000, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_refresh_rx_buffer: RX[0]: prod_reg[0x15e0] = 0x1a9, rfq.produce_idx = 0x1a9
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x0, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x10000, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_refresh_rx_buffer: RX[0]: prod_reg[0x15e0] = 0x1aa, rfq.produce_idx = 0x1aa
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x0, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x10000, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_refresh_rx_buffer: RX[0]: prod_reg[0x15e0] = 0x1ab, rfq.produce_idx = 0x1ab
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x0, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_start_xmit_queue: Before XMIT: TX[0]: tpq.consume_idx = 0x222, tpq.produce_idx = 0x222
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_start_xmit_queue: TX[0]: Produce Reg[0x15f2] = 0x223.
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x8000, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_handle_tx_irq: TX[0]: consume_reg[0x15f6] = 0x223, tpq.consume_idx = 0x222.
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x0, mask = 0x4004600
Jun 12 12:05:34 linsir kernel: alx: eth0: alx_interrupt: status = 0x10000, mask = 0x4004600