Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] more than 2000 threads

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] more than 2000 threads


Chronological Thread 
  • From: Pete Siemsen <>
  • To: Mark Feit <>
  • Cc: Marian Babik <>, "" <>
  • Subject: Re: [perfsonar-user] more than 2000 threads
  • Date: Thu, 7 Dec 2017 14:28:30 -0700
  • Ironport-phdr: 9a23:F4deEBxoEKEmt6/XCy+O+j09IxM/srCxBDY+r6Qd2+gQIJqq85mqBkHD//Il1AaPBtSLraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze6/9pnQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDtU7s6RSqt4LtqSB/wiScIKTg58H3MisdtiK5XuQ+tqwBjz4LRZoyeKfhwcb7Hfd4CR2VBUMZfWSJCDI2hcYUAE/EMMvxEo4TnvVYCsQeyCAuqCejyyjFInHj23agi3uo7Dw7GwBIvFM8TvnTVstr1MbwSXv6zzKLVyjjDdPJW1in46IjTbB8hp+qBXa9sfsXL00kjDR3KgUiNqYH8OT6ey+oDs2+e7+V6VOKvjXYqqwFtojiz3scjl5PFhoQSyl3C6C53w541KMWmREN6fdKpEp5dty+ZOoRtXs8vRm5ltDomxrIYvJO0YDQGxIgiyhPadfCKfYaF7xT+X+iLOzh4nmhqeLenihay70egzur8W9Gx0FlQrypFlsDAtmgD1xDP88SGReVx80mv1DqV2ADT7eZEIU8wlaXFMZIu3rkwlp8LvUTCGC/5hln2gbeIekgl5uSl6eHqYrvlq5CHK4N5jw7zPrgylsOhBOk3LhQCU3Se9Om5yrHu80P0TK1PjvIsk6nZtJ7aJd4cpq68GwJVyYcj5Ai6Dze9ztsYm2IKLE9Zdx2dlYjlIU/BL+3lDfunmVSjjC9rx+zaPr3mGpjNNmbMkK3vfbZm7E5czhA8zcpG65JJEbEOPujzV1T1tNzZFR85Lxe0z/j9BNV80IMeRXyAArWfMKzMrV+E+PgjLPeRa48I637BLK0A7uTtxVE0mENVKayn0JoLQHG+Avl8JUiFOzzhjspXQkkQuQ9rdOH2hRW5UDNWfHu0F/Yn5zw+E4+gJZrIT5rrjbCcinToVqZKb3xLXwjfWUzjcJ+JDrJVMHqf

Thanks for all the replies. To answer a few questions...

Just to check if this is perhaps OS specific, are you machines on centOS7 or still on SL6/or something else ?
I'm running CentOS 6.9.

Do you have any suggestion about the rest of the processes?
perfsonar-1850$ ps -ef | wc -l
1124
perfsonar-1850$ ps -ef | grep owampd | wc -l
313
perfsonar-1850$ ps -ef | grep pscheduler | wc -l
282
perfsonar-1850$ ps -ef | grep powstream | wc -l
257
perfsonar-1850$ ps -ef | grep defunct | wc -l
254
perfsonar-1850$ ps -ef | grep http | wc -l
63

Please share the type of pS installation you have / a test-point or a toolkit deployment
It's a toolkit, network install.

> What else is on the system? I assume esmond.
Just the vanilla install.
> Does it have maddash as well? That could also put some pressure on httpd.
No maddash.

From Marian's commands...

perfsonar-1850$ ps -eTf | grep 501 | grep "powstream" | wc -l
4
perfsonar-1850$ ps -eTf | grep 501 | grep httpd | wc -l
8
perfsonar-1850$ ps -eTf | grep 501 | grep owamp | wc -l
0
perfsonar-1850$ ps -eTf | grep 501 | grep runner | wc -l
1
perfsonar-1850$ ps -eTf | grep 501 | grep pscheduler | wc -l
4
perfsonar-1850$ ps -eTf | grep 501 | grep "\[run\]" | wc -l
1
perfsonar-1850$ ps -eTf | grep 501 | wc -l
15

The system is set to selfupdate, and is running 4.0.2. I suppose I should consider upgrading the OS to CentOS 7.

I rebooted again, and the warning about too many threads is gone. I expect it to reappear in a few days. Perhaps 2000 threads is reasonable, and I should just raise the Nagios threshold to, say, 3000? Before I rebooted, I noticed that the Nagios alarm message said the thread count was 2074.



-- Pete


On Thu, Dec 7, 2017 at 1:36 PM, Mark Feit <> wrote:
Marian Babik writes:

     …as stopping pscheduler runner leaves quite a number of powstream processes around…

4.0.2 includes some changes to the way the daemons and forked programs are started and stopped that should improve that situation.  Runners started by older versions won’t get swept up during upgrades because those versions don’t include the clean-ups, so you may have to go in and kill off the stragglers manually or just reboot.

If you continue to see that on 4.0.2 systems after a flush-out of the old processes, drop me a line and we can have a look at it.

--Mark






Archive powered by MHonArc 2.6.19.

Top of Page