[Gluster-users] thread model of glusterfs brick server?

Mingfan Lu mingfan.lu at gmail.com
Sat Feb 8 09:13:32 UTC 2014


use pstree to get the threads of a brick server process
I got something like below, could we know which threads are io-threads
which are threads to run self-heal? how about others?
(just according to the tid and know the sequence when to create)

[root at 10.121.56.105 ~]# pstree -p 6226
glusterfsd(6226)ââ¬â{glusterfsd}(6227)
                 ââ{glusterfsd}(6228)
                 ââ{glusterfsd}(6229)
                 ââ{glusterfsd}(6230)
                 ââ{glusterfsd}(6243)
                 ââ{glusterfsd}(6244)
                 ââ{glusterfsd}(6247)
                 ââ{glusterfsd}(6262)
                 ââ{glusterfsd}(6314)
                 ââ{glusterfsd}(6315)
                 ââ{glusterfsd}(6406)
                 ââ{glusterfsd}(6490)
                 ââ{glusterfsd}(6491)
                 ââ{glusterfsd}(6493)
                 ââ{glusterfsd}(6494)
                 ââ{glusterfsd}(6506)
                 ââ{glusterfsd}(6531)
                 ââ{glusterfsd}(6532)
                 ââ{glusterfsd}(6536)
                 ââ{glusterfsd}(6539)
                 ââ{glusterfsd}(6540)
                 ââ{glusterfsd}(9127)
                 ââ{glusterfsd}(22470)
                 ââ{glusterfsd}(22471)
                 ââ{glusterfsd}(22472)
                 ââ{glusterfsd}(22473)
                 ââ{glusterfsd}(22474)
                 ââ{glusterfsd}(22475)
                 ââ{glusterfsd}(22476)
                 ââ{glusterfsd}(23217)
                 ââ{glusterfsd}(23218)
                 ââ{glusterfsd}(23219)
                 ââ{glusterfsd}(23220)
                 ââ{glusterfsd}(23221)
                 ââ{glusterfsd}(23222)
                 ââ{glusterfsd}(23223)
                 ââ{glusterfsd}(23328)
                 ââ{glusterfsd}(23329)

my volume is:

Volume Name: prodvol
Type: Distributed-Replicate
Volume ID: f3fc24b3-23c7-430d-8ab1-81a646b1ce06
Status: Started
Number of Bricks: 17 x 3 = 51
Transport-type: tcp
Bricks:
...
Options Reconfigured:
performance.io-thread-count: 32
auth.allow: *,10.121.48.244,10.121.48.82
features.limit-usage: /:400TB
features.quota: on
server.allow-insecure: on
features.quota-timeout: 5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140208/955def6c/attachment.html>


More information about the Gluster-users mailing list