SharePoint 2007 Central Admin w3wp.exe process consumin 99% CPU - sharepoint-2007

I have been running an intranet using SharePoint 2007 for over a year and all has been working fine. However, after some time, I realized that the intranet portal was slow. Trying to access the Central Admin over another computer not the SharePoint server also became an issue. So I logged onto the real SharePoint Server and it took some ages to login and then was so slow even on the server unlike other times.
When I checked the Task Manager, I found out that w3wp.exe was consuming 99% of the CPU speed. When I restarted the Central Admin App Pool, everything came back to normal and all was running well but after a few minutes (15 or so), it again became slow.
I have checked the Event Logs and nothing conclusive was there to help me out. Anyone who has had this experience? or has any good resource? Please help. Thanks in advance

Are you having any problems with OWSTIMER.EXE by any chance? Have you considered using Process Explorer to monitor CPU usage? Specifically, this would help you determine which Web Application was slowing you down provided that it is a single Web App. What do your logs say in the C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS folder?
I've had similar problems. Let me know more about your problem and I'll show you what I've found.

For those who might be interested and facing the same problem. I was using SharePoint 2007 RTM and when I upgraded it to SharePoint 2007 SP2. The problem was resolved. I am not sure what was causing it but SP2 has many performance improvements and possibly it had the fix.

Related

TFS 2018 Update 2 RC. Slow perfomance in Web

we have an on premises TFS 2018 Server with Update 2 RC.
The perfomance of the web is very slow. We work with kanban and scrum boards and it take a few seconds to load, furthermore, moving a task to one column to another can take a few seconds
The operating system is Windows 2016 Server. 16GB RAM, and 4 processors of 2.6ghz. It´s a virtual machine. It has been working propertly until the last month.
I have checked and changed:
The elastic search extension has been deactivated because it takes more than 5GB of memory
The antivirus has been disabled.
The processor is below 15% and the memory is around 50%
IIS Worker Process is taking 1.2GB of RAM
I have deleted the "TfsData\ApplicationTier_fileCache" with no success
We are out of ideas, any help would be really appreciated.
Thanks in advance
It's difficult to know what's going on there with this information, an approach to let you perform a best analysis could be the typical divide an conquer approach, in your case:
Put the Agent in other machine.
Install the TFS and MsSql Server in different machines, you can try a clean install of TFS using your current MsSql.
Once you did this you will:
- Have a more stable system.
- Be able to analyze which part is creating problems.

TFS 2015 Intermittent connection issues

For the last few weeks our office has experienced intermittent and fairly crippling connection issues to our on premises TFS 2015 (w/update3). When it occurs visual studio basically becomes useless and web view pages of TFS either don't load the page, load the header toolbars or take several minutes and eventually open. Queries take minutes to run and so on. Then suddenly all will be well and it works again perfectly.
There are no errors shown when this happens, either to the user or in the TFS application event logs. The system is not overloaded on any resources. I have tried various things like; rebooting (obviously!), iisrest, cleared cache on app tier and who knows what else at this point.
Are there any other logs I could be looking at or things I could try to diagnose?
Worth noting: Users have all recently migrated to a new domain but the TFS servers are still on the old domain. However we had migrated in my office long before these issues occurred. Other offices who connect in have only recently migrated into new domain.
System setup is VMware 6.0, TFS app tier with separate SQL data tier and analysis database.
According to your description: There are no errors shown when this happens, either to the user or in the TFS application event logs.
Agree with Daniel in the comment, this kind of issue should not related to TFS server side. If the server always be slowly, this should be a performance issue. However, you said suddenly all will be well and it works again perfectly. Then the most possibility should be network related issue. Suggest your team use some Network Analyzer Tools to trouble shoot it.
For example, double check the DNS related area. Your TFS server is on one domain and some users are on another. First make sure the domains are trusted each other, double check that if the slow performance was being caused by an authentication issue.
One of the fix is to have users log in using the full domain name. A sample: if they are currently logging in with DEV\MyUserAccount, then they should instead log in with DEV.COM\MyUserAccount.
It has something to so with how the TFS server is looking up the accounts when a short domain name is used. It is pre-pending the name to all of the dns suffixes which in turn ends up creating bad ones and causes delays as it's not finding any valid domains.
Besides, about the performance issue, you could also take a look at this great answer from jessehouwing.

CEF / Chromium render process CPU usage

I have used CEF4Delphi to embed CEF / Chromium in my Delphi XE 10.1 application. I am currently at CEF Version 3.2987.1597.gffc5773 (Chromium Version 57.0.2987.110), 32 bit.
I can see the render process in the Windows Task Manager normally staying at 0% CPU usage when customers are not browsing, but then sometimes the render process seems to get stuck and grabs all the CPU it can get (100% of a single CPU, 16% of total since I have 6 available), even when the user is doing nothing and the browser window is not visible. When stuck it seems to remain stuck until I end the process, several hours has been observed. I have turned on verbose logging but nothing gets logged as long as the user is not doing anything. I do get lots of logging at startup and when the user is actively browsing.
Any tips on how to resolve this? I only see this issue on my Terminal Server and have not been able to reproduce the behaviour myself either on dev machines or the TS. Last time I saw this behaviour was about two hours after start up of the application.
Any help appreciated.
Thanks,
Sjur
Sorry for the late answer.
Close your app and clear the cache and cookies directories.

ASP.NET MVC site takes too much time to load probably because of a Windows service running on the same server

I have a dedicated Windows 2008 server with several websites and 1 windows service running.
The service runs every 30 seconds and is pretty CPU intensive. However all sites are loaded really fast except for the one that is closely connected with the service. This website project dll is referenced from the service, and I think this is the reason it is so slow.
Has anyone had any experience with this? How can I improve the loading time of the site?
Update
Here's more information:
Only the first time load is slow. Subsequent loads are fast. The website and the service access the same MongoDB database. The service also references the website's dll and uses a lot of classes including UsersRepository.
Stopping the service makes the application run normal.
Yes, it was the service's fault. I solved the problem by making a clone of the bin folder which is used for the service only.

Windows Azure WebRole stuck in a deployment loop

I've been struggling with this one for a couple of days now. My current Windows Azure WebRole is stuck in a loop where the status keeps changing between Initializing, Busy, Stopping and Stopped.
It never goes live, and I can can never see the website as a result. The WebRole is an "out of the box" MVC 2 application with Copy Local set to true on the Mvc dll and I haven't even tried hooking up a storage or WorkerRole yet, and there is nothing really happening inside the Start method that I can see would crash.
I've really tried going back to basics to ensure nothing can complicate the process and the website launches without a problem on the Dev Fabric and yes it looks just like the standard "Home", "About" MVC app - just can't get it running in the cloud!
Funny thing is, a few days ago, this exact package worked on the staging area in the cloud, and I could even see it in the browser - but could never get it swapped over to production, so I deleted everything and started from scratch, and now I can't even get it running on staging...
Does anyone have any ideas on what I could do to diagnose this problem myself because since logging this problem on the forums 2 days ago, there has been no improvement or feedback.
Any help appreciated,
Regards,
Rob G
Turns out there are a number of things that can cause this to happen. A full thread on the Microsoft forums goes through most of them and details my adventures in the arena.
http://social.msdn.microsoft.com/Forums/en-US/windowsazure/thread/1482c1af-16e3-46ca-846e-14f511c35750
Hope this helps...
I think the best starting point is enabling remote desktop on all role instances.
Saves a lot of heart ache wondering why the heck isn't the diagnostics aren't logging anything.
By remoting in you can eye ball the event logs and find lots of reasons for azure unhappness

Resources