S
S
ShamblerR2015-05-14 13:42:11
linux
ShamblerR, 2015-05-14 13:42:11

Is it possible to limit IO to a process in linux?

It is necessary to limit the loading of IO because the screws barely manage to keep up, and with a regular zip, IO rises to 100%.

nice -20 zip -r -0 archive.zip . -x /bitrix/backup/*

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
ldv, 2015-05-14
@ShamblerR

linux.die.net/man/1/pv can limit the rate of transmission through a pipe.
You can use an archiver that receives data via stdin.

I
Igor, 2015-05-14
@merryjane

1. ionice. Doesn't work very well.
2. /etc/security/limits.conf. They don't actually work either.
3.cgroup. They work, but you need to delve into and configure.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question