Better handling of static files while IO is high.

Discussion in 'General' started by optize, May 6, 2013.

  1. optize

    optize Well-Known Member

    I have a box that spikes up to 100% available IO for 5 seconds at a time, every 10 minutes or so.

    During these spikes, Litespeed doesn't really respond, even for a plain text file that says 'HI', no PHP, No MySQL.

    I've attached my configuration, is there anything you can suggest to help improve litespeed's response time while disk utilization is very busy?

  2. webizen

    webizen Well-Known Member

    run 'top -c' to see what process consume the most iowait during the time. When disk is occupied (high iowait), everything on that disk will be slow no matter what. consider move whatever hold the disk to a separate disk.
  3. mistwang

    mistwang LiteSpeed Staff

    there is no good solution for high disk I/O situation like that.
    Any disk I/O operation in lshttpd will block the whole process, you need to move log, swap etc to memory disk if the server has spare memory.

    You should trouble shoot why disk I/O is so high, and reduce it as much as you can.

Share This Page