IO dalays

raila

Verified User
Joined
Apr 9, 2011
Messages
11
Hi everybody. I have problem with IO delays, all day my IO is 1%~ but in 00:00H my server IO dalys up to 60% and about 30min or more not drop down... I cant find where is the problem :confused: I know its in webhosting becouse when i restart my hosting IO disappears.. Directadmin or other program have some process or cron then he doing some very difficult work..

Anyone has ever have this problem?
 
What does free shows? Is swap used?

Code:
cat /proc/swaps

???

Are you running a VPS or a dedicated/own server? If th first, then the hardware node might be oversolled, and you might need to change hosting company. If the second, then it's hard to say anything defenete, because we are short of information.

Depending on your Linux (of course if you're using Linux) Kernel version you might want to install some additional software to get more detailed information about your server. Try iotop.
 
I use my own dediticated server, but i created vps for hosting

4 x Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz
Physical Memory 11.68GB

In vps i use :
debian 5.0-2 standard
3072 mb of RAM
1024 mb of Swap
80.00 GB DISKSPACE 7200rmp
I have about 600 users in directadmin


Tasks: 97 total, 1 running
Load average: 0.13 0.20 0.19
Mem[ 549/4096MB ]
Swp[ 0/0MB ]
CPU Utilization: 1.00%
Disk space (GB): 15.85 80.00 /// 19.81%

swaps is empty

--------------------------


Can may be that DirectAdmin runs program in midnight? some like cron what using IO ?
 
And what about Hardware Node? Does it use swap?

What virtualization type are you using: XEN? KVM? etc?

Usually (if it is enabled) directadmin is making backups nightly. And of course taring makes some more or less hard load on HDDs.
 
Check your /etc/crontab file to see when it runs the items in the cron.daily directory.

Jeff
 
OpenVZ with proxmox. Swap is not used.
In deditacted swap space (11.00GB/177MB).

I dont doing any backups, directAdmin user crontabs are empty.


------

I detect, always in 24:00 start this

PID USER DISK READ DISK WRITE SWAPIN IO> COMMAND
20679 root 900.35 K/s 15.39 K/s 0.00 % 56.46 % dataskq

then i kill this process

6882 root 20 0 13548 7104 1748 D 31.3 0.2 1:14.70 /usr/local/directadmin/dataskq

And all my IO delays come back to normal 0%-1%..

I look my logs and i find this..

2011:08:17-00:11:56: Unable to create directory /home/csfragas/domains/xxx.xxx.xx/stats as user csfragas: <b>Parent directory does not allow write, or one of the directories didn't allow search (execution) permission</b><br>

This process can do big delays?
 
Last edited:
So I'd rather say it's a nightly tally: log rotation, bandwidth and space usage calculation, stats (awstats/webalizer) updating.

In certain cases it might do a load on HDDs... How big are your apache logs? How many hits do you have on your sites daily?
 
I dont know how many click i have, but i have 700 users..
So its from many users, yes?

If i turn off this, whats happin for my server?
This funcion „action=tally&value=all“ very important?
If i do this action in every 2nd days?

Do you meen this logs: /var/log/httpd ?

All /var/log/httpd dir is 21M
Only in /var/log/httpd/domains is 17M
 
Last edited:
So its from many users, yes?

How do I know? I can not tell you anything specific without logging into the server. I've made some suppositions and gave you some hints. So it's up to you, what you gonna do with that. Read logs (crontab logs, directadmin logs) and try to understand what exact task dataskq is running.

If you want a detailed answer towards your issue, you might need to get a commerce service.


If i turn off this, whats happin for my server?

The best way is to try yourself. There can be many variants, and since you're using OpenVZ most of them can be resolved within 5-30 minutes, I guess.

Do you meen this logs: /var/log/httpd ?

All /var/log/httpd dir is 21M
Only in /var/log/httpd/domains is 17M

Yes, when saying about logs rotating I meant exactly those logs files.

17M is not a very big number I'd rather say.... but who knows what is it in your particular case?!
 
Back
Top