
I am answering my own question here. I found the problem.
On installation of SharePoint, the config wizard sets permissions on the
directory C:\Documents and Settings\All Users\Application
Data\Microsoft\SharePoint for the the accounts WSS_ADMIN_WPG and the WSS_WPG
groups. When the server is new, there is nothing in this folder, so the
problem is not noticed. However, everytime you add a site to the server,
another file gets dropped into this folder. So whenever you run a task either
manually or automatically, such as the search crawl task or when you setup a
new site, sharepoint access all those files. The more files in this folder,
the more cpu is used. It seems sharepoint tries to access all those files at
the same time and when it does, cpu shoots up on the farm application pool
and the application pools used for all the sites. I do not know what these
files even do yet.
I discovered this problem accidently a few weeks ago as I messed up the
permissions on my 1st sharepoint server. I manually fixed all the permissions
except I forgot about that folder. But I also noticed my high cpu problem
went away. I still had this high CPU problem on my 2nd sharepoint server. I
had been fighting this 2nd server for weeks. I finally decided to open each
server side by side and compare all permissions on the server. This is when I
discovered the folder on the 1st server did not have the permissions set for
the groups WSS_ADMIN_WPG and WSS_WPG. I had forgot to add those user groups
back to that folder.
So I decided on an experiment. I went to the 2nd server still having cpu
problems and removed the WSS_ADMIN_WPG and WSS_WPG group from this folder and
all files and folders below it. I ran a few tests, kicked off the crawl task,
created a few sites and wow and behold, the problem was gone. CPU usage is
now back to normal.
All this said, I am still investigating what the files in that folder do. I
will report back here if I find that answer. My servers seem to be working
fine though without these user groups assigned to that folder.
I am curious if anyone else has run across a problem such as this. I would
be interested in hearing what others have to say.
--
Edward York