Better handling of static files while IO is high.

optize

Well-Known Member
#1
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?

Config: http://pastebin.com/Ux7NxGaF
 

webizen

Well-Known Member
#2
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.
 

mistwang

LiteSpeed Staff
#3
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.
 
Top