Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Re: meshconfig-agent-tasks not scheduling tasks regularly

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Re: meshconfig-agent-tasks not scheduling tasks regularly


Chronological Thread 
  • From: Casey Russell <>
  • To: Mark Feit <>
  • Cc: Larry Blunk <>, "" <>
  • Subject: Re: [perfsonar-user] Re: meshconfig-agent-tasks not scheduling tasks regularly
  • Date: Tue, 17 Oct 2017 14:44:03 -0500
  • Ironport-phdr: 9a23:JesRxRT2V4NbL4Km1mF6+D5W3Npsv+yvbD5Q0YIujvd0So/mwa6ybRyN2/xhgRfzUJnB7Loc0qyN4vCmATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSijewZbB/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4rx1QxH0ligIKz858HnWisNuiqJbvAmhrAF7z4LNfY2ZKOZycqbbcNgHR2ROQ9xRWjRDDYOyb4UBAekPM/tGoYbhvFYBtweyCBO2Ce/z1jNFhHn71rA63eQ7FgHG2RQtEswUv3TPstr0NLoZX/yozKnT1jXMcfdW2TPg44XPbh8hu+yMXalrccXPzUkvExjIjlaKpozjJTOayOINv3Kd7+V+SeKikmgqoBx/rDiow8cjkIjJhoQNx1DA9CV5xoU1KsOlR056Z96oCodftyafN4duXsMjTWBouDomyrIYo563ZjQFyJMixxLHaPyIaY6I4gj9W+aXOzt4gmxqeK65ih2v8kag0vXxWte13VpWrCdIl9fMu3MW2BDP78WKRedx8luv1DuKyw/f9uBJLEUxmKbFJZMsw7g9nYcJv0vZBC/5gkD2gbeWdko6/uio7PzqYrD8qZ+dM494kwb+MqUylsCmDuU0LAYDUmmB9eSz073j+kL5QLFUgfEsjqbZt5XaKdwapq6/HQBVzp4u5wi+Aju60tkVmHcHIVFedx6bioXkNE3CLOz2APq6n1ugjDZmyvXDM7H/DJjAL2DPkLL7crZ8705cxhAzzdda559MFr4BOu/zWlTqtNPGCh85Nxe5w+X9B9V7zIMRR2SPDrWfMKzMrV+E/vgvLPWUZI8JpDb9LOAo5+bwgn8jl18dZq6p3Z0NZ3CiB/hmPl6ZbmT2gtoaFWcKvxE+TPDxiFGcSzJTZnCyX74i6TEhDoKpE5vDSp63jLOfwSi7A84eWmcTL1mWEj/GeoSYE6MJZi+TPudglCAJT76sV9Vn2B2z4lzU0b1ie8Hd4SAJ/aj+z8N44+mbwRoo6CdvAsCZ+2KESXt5mCUOSiNgj/M3mlB01lrWifswuPdfD9EGoqoRCgo=

Mark and Larry,

     I have seen this occasionally on my lower powered hosts, (and maybe on others, although I've been watching these lower powered hosts much closer, so I'm much more likely to have noticed it there.

     I don't have a host where that error is active, but here you can see where one of my hosts encountered the error yesterday (this was just before I installed the 4.0.2 beta on it and rebooted it). 

[root@ps-washburn-bw crussell]# cat /var/log/httpd/error_log | grep Max
[Mon Oct 16 16:50:42 2017] [error] server reached MaxClients setting, consider raising the MaxClients setting
[root@ps-washburn-bw crussell]# 

You can see that (today at least) these hosts do have a lot of connections open (sparing you the detailed output, although it's available if you want it).  Although that in an of its self is not necessarily a problem

[root@ps-washburn-bw crussell]# netstat -tan | wc -l
1238
(that's 1238 active TCP connections)

(Another of my lower powered hosts)
[crussell@ps-esu-bw ~]$ netstat -tan | wc -l
1903

Out of curiosity, I checked to see how many of those were hitting Apache on tcp port 80:
[root@ps-washburn-bw crussell]# netstat -an | grep ':80' | wc -l
78

[crussell@ps-esu-bw ~]$ netstat -tan | grep ':80' | wc -l
66

It doesn't seem too out of whack, but today may be entirely non-representative of what it looks like when the "MaxClients" problem was occurring.  Again, I installed the 4.0.2 beta on both of these hosts yesterday and the problem hasn't recurred since, so today's netstat results may not reflect what it looks like on an affected host.


Sincerely,
Casey Russell
Network Engineer
KanREN
phone785-856-9809
2029 Becker Drive, Suite 282
Lawrence, Kansas 66047
linkedin twitter twitter

On Tue, Oct 17, 2017 at 12:32 PM, Mark Feit <> wrote:

Larry Blunk writes:

 


Has anyone experienced Apache hitting the MaxClients limit and hanging?   We've had this happen on several boxes
since upgrading to 4.01.   We've had to restart Apache to get them functioning again.  We've upped the
MaxClients limit on them, but it still occurs even after doubling the setting to 512.   These are high perfomance
boxes, so it doesn't seem like it should be a CPU issue.

 

There shouldn’t be a lot of connections to the HTTP server during normal operations; MeshConfig and task setup from remote nodes are the only things that should be connecting.  The internal parts of pScheduler poke the database directly.

 

If you encounter that again, I’d be interested to see what the process table and netstat say about what’s connected and from where and if there are old processes that connect and aren’t dying.

 

--Mark

 





Archive powered by MHonArc 2.6.19.

Top of Page