sensu-Client have a lot of process children


#1

Hi,

I’m using sensu-client with ruby embedded

/opt/sensu/bin/sensu-client --version
0.20.0
/opt/sensu/embedded/bin/ruby --version
ruby 2.0.0p645 (2015-04-13 revision 50299) [x86_64-linux]
And My pstree have 21 children
pstree -l -s -p | grep sensu | egrep -o '[0-9]+'
5363
5364
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
The ubuntu version is:

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS”

uname -a Linux magoo 3.2.0-44-virtual #69-Ubuntu SMP Thu May 16 17:54:14 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


#2

Can you show us the actual output of your ps-tree or ps -ef --forest ?

···

On Wed, Jul 22, 2015 at 1:11 PM, João Martins <jcmartins@gmail.com> wrote:

Hi,

I'm using sensu-client with ruby embedded

/opt/sensu/bin/sensu-client --version
0.20.0

/opt/sensu/embedded/bin/ruby --version
ruby 2.0.0p645 (2015-04-13 revision 50299) [x86_64-linux]

And My pstree have 21 children

pstree -l -s -p | grep sensu | egrep -o '[0-9]+'
5363
5364
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385

The ubuntu version is:

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS”

uname -a Linux magoo 3.2.0-44-virtual #69-Ubuntu SMP Thu May 16 17:54:14
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux