On Thu, Aug 02, 2007 at 11:48:19AM -0400, Lon Hohberger wrote: > On Tue, Jul 31, 2007 at 05:54:41PM +0300, Janne Peltonen wrote: > > > > I did the same, with the same results. It seems to me that the clurgmgrd > > process isn't calling the complete script any more times than it's > > supposed to. What I'm seeing are the execs of fs.sh, that is, it > > includes each () and `` and so on. Each fs.sh invocation seems to create > > quite an amount of subshells. > > > > I'm sorry for having misled you. And this all means, there isn't > > probably much reason to read the cluster.conf and rg_test rules output - > > I'll attach them anyway. > > Yeah, it does hit a lot of subshells. Awks, seds, and the like. Some > pattern substitution and matching can be done in pure bash. Perhaps a *lot* more than you likely think... Sadly, this is the common case. Probably 99.99% of all shell scripts that I see are still Bourne scripts or very close to it. The bash shell is SO MUCH more powerful than Bourne, but it gets used in such a clumsy and trivial manner that wastes far too many processes and far too many cycles. And yes, I have submitted patches when the abuse was truly egregious, but such updates are universally ignored as there is no actual error to point to. Sigh... -- David N. Lombard, Intel, Irvine, CA I do not speak for Intel Corporation; all comments are strictly my own. -- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster