]> sourceware.org Git - lvm2.git/commit
Limit thread stack
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 11 Oct 2011 09:18:49 +0000 (09:18 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 11 Oct 2011 09:18:49 +0000 (09:18 +0000)
commite9bdc318fdf7e6f7925d36c18cac73858de772f9
tree9db77f94a2a12457a08416489f7050e4acb8da29
parentd2cd3f4b7614099f059c8269ac37c066246d1568
Limit thread stack

Since default thread stack size is around 8MB and clvmd creates for now thread
for message, clvmd may easily reach multi GB size of in-memory locked pages
(runs with mlockall()).

This patch significantly reduces memory usage to just tens of MB,
and now different reasons are the cause of server overloading.
Now we are running out of free file descriptors mostly.
daemons/clvmd/clvmd.c
This page took 0.037254 seconds and 5 git commands to generate.