-
An impression many people get is that servers are static and inviolable. They are computers that are orders of magnitude more powerful than your typical desktop, and as such, they rarely if ever experience issues. Problems might be blamed on “the servers” when they have nothing to do with your actual server infrastructure.
The reality is that servers are just big computers, often running specialized software. They can have all of the same sorts of issues that regular computers do, except they tend to be more regimented in their operation. They don’t have a user installing browser toolbars or opening sketchy emails, but they can still be infected with malware just like any other machine.
More importantly, they can have just as many hardware and software issues as any other machine. A server running Windows Server 2012 R2 can have a wide range of configuration problems, settings that hinder performance, and even simple memory leak problems. Likewise, their RAM is still RAM, their hard drives are still hard drives, and their processors are still processors. A fault in any of those components can lead to all manner of problems.
Below, we’ve compiled a list of potential problems you can check for so that you can troubleshoot a slow server. Before you dig in, though, we recommend backing up your data and configurations. Note down any changes you make and when, so you can diagnose if those changes cause problems down the line. And, of course, don’t change anything you don’t have the authority to change; if you need to talk to your IT staff, do that instead.
Table of ContentsSwitch to High-Performance Power
Power plans for servers dynamically scale the clock speed of the processors to meet the needs of the server at any given time. When load changes, this can cause slow performance and delays as the server adjusts. By changing to a high-performance power plan, you can guarantee the processors run at 100% at all times, so all resources are ready and available when needed.
You can set the power plan per-device as a local machine policy, or for all of your servers as part of a group policy. Either way, the option is found in the local computer policy menu under power options.
Disable DOS 8.3 Short File Names
Short File Names for DOS 8.3 is a backwards compatibility feature. If you don’t require support for legacy equipment or short names, you can disable this compatibility option to speed up file indexing and creation.
In the command prompt, type fsutil 8dot3name query followed by your volume designation, such as D: – this will show you whether or not you have this option enabled. If it’s enabled, and you’ve confirmed you don’t need it, you can disable it by typing fsutil 8dot3name set d: 1, where d: is your volume name again. You can also strip existing names from compatible files, though doing so might not affect performance.
Check for CPU or RAM Consuming Processes
Every Windows computer, whether it’s a server or a PC, has a task manager. Your task manager shows, among other things, all of the processes running on your machine. Along with the process name, it can show additional information, including the RAM and CPU usage that process is consuming at any given time.
A common cause of a slow Windows Server 2012 R2 installation is a process that is consuming exceptionally large amounts of resources. To check this, open up your task manager the usual way, such as with CTRL-SHIFT-ESC or by right-clicking the taskbar and choosing task manager from the menu.
First, check the bottom of the window. Under CPU usage and Physical Memory, there are percentages. Are either of those options maxed out at 100% or otherwise higher than you expect them to be? If so, you may have a problem. Check the Processes tab and sort it by CPU usage or by memory usage, to see which processes are taking up so many resources.
When you identify a problem process, you can investigate what it is and determine if it can be killed and restarted, if it’s malicious software, or what the problem may be. If necessary, contact the employee responsible for the offending application.
You may also want to check the tasks on your virtual machines (if you’re running any). If one of your VMs is maxing out on CPU or memory, and if you’ve configured them to use a flexible amount of processing power, they may be sapping a lot of your server’s resources.
Scan for Malware
Servers are just as vulnerable to malware as personal computers. If they’re accessible to the internet, roving malware can find its access point. If it’s on a network, any infected device on that network could spread malware to it. You will want to have some form of antivirus protection on your server. Usually, Windows Defender is good, but in some cases, you may need something more powerful as an enterprise-grade solution.
If you notice any odd processes consuming resources, or odd behavior, or signs of malware, scan for it. You should also routinely scan, as well as keeping active protection engaged at all times. Avoid making exceptions for individual users or applications, as these can be exploited. Also, keep in mind that some malware is insidious and difficult to spot. Not everything is an obvious piece of ransomware – the truth is, the worst viruses are the ones that are perfectly invisible.
Check Network Speeds
It’s also possible that the cause of slow server speeds has nothing to do with the server itself, and everything to do with the connection used to access it.
There are a lot of different ways in which a server can slow down due to a poor connection.
- Check to make sure all relevant cords are plugged in tight.
- Check any relevant cables to make sure they’re modern, high-speed cables.
- Check with the user reporting problems to make sure they aren’t having personal speed issues.
- Check with the ISP to see if they are having uptime or connection issues.
- Check your network controller to make sure its hardware and software are up to date.
In some cases, you’ll be chasing down reported “slow server speeds” when the actual problem is an issue with the user’s VPN or their ISP. It can also be an issue with DNS. In fact, DNS issues are so common and so varied that many IT workers default to checking for DNS issues before looking elsewhere.
Update Relevant Drivers
If you don’t perform regular maintenance on your servers, it’s possible that you may have an issue that would normally be solved with an update you have not applied. Software issues are common, but you may also consider updating drivers for the hardware in your machine. Driver updates are often overlooked until they cause a problem, but it can be difficult to identify when a problem is caused by a driver issue.
The most relevant drivers to update are typically network card drivers, but graphics and other drivers can cause problems as well.
Before updating any driver, check to make sure the server can be temporarily decommissioned, or that you’re within a designated maintenance window. Driver updates often require a restarted machine, and you don’t want to take down a critical part of your business during operations for a driver update.
Check for Signs of Attack
As mentioned above, servers can be vulnerable to both malware and malicious attack from an outside source. If your server is accessible at all from the internet, it can be subject to attack, even when the way to access it is hidden. There are scripts and bots that exist solely to try every possible IP address in sequence just to see what’s on the other end. Obscurity is not security.
Attacks come and go. A lone bot spamming login attempts can slow down your server as it has to process those attempts. This is why implementing a lockout policy is always a good idea. You may have to deal with unlocking accounts from users who frequently forget their passwords, but it’s better than allowing bots to hammer at your system until they get in.
Additionally, DDoS attacks can eat up server resources and slow down an entire machine. Check network activity and look for unusual spikes or anything that might max out resources. There are many ways to protect a server against a DDoS attack, but it depends on the kind of attack. If you identify an attack, you can investigate further.
Disable SMB Packet Signing
Server Message Block Packet Signing is a security measure used in Windows servers. Each packet of information passed between a server and a user or back is digitally signed to verify its authenticity. This helps prevent malicious users or devices from inserting themselves in the middle to scrape data or otherwise alter messages.
Unfortunately, in some cases, SMB packet signing can slow down a server, particularly with large file transfers. This is because each packet needs to be signed and authenticated, and this process takes time. Often, it can time out mid-operation as well, further delaying the transfer of a file.
You can check to see if this might be an issue by attempting to transfer a large file and watching the graph of progress. If it’s flat and smooth, this isn’t a problem. If it has abrupt peaks and valleys, time-outs may be the problem.
You can disable packet signing in the security settings for your group policy. Be aware, however, that packet signing is a security measure. Only disable it if you have other security measures in place to prevent man in the middle attacks. A bit more performance isn’t worth a compromised network, after all.
Run SFC /Scannow
Over time and with use, a hard drive – particularly spinning platter drives, though SSDs can have issues as well – degrades. This degradation can result in corrupted blocks of storage, which may or may not be otherwise occupied. Servers can run into issues if system files or other infrequently-accessed files are corrupted, making certain processes error or time out. Sometimes this results in hard-locks or system crashes, and other times it simply causes a time-out or other process failure.
One way to check for such errors is to use the System File Checker. Running SFC with /Scannow will perform a full system scan looking for filesystem errors or corrupted system files. If it finds any, it will offer you the option to repair them, which should help resolve the issue.
Review Hardware for Faults
If your system file scan found faults, you might have a drive that is on the verge of failure. If this is the case, you should consider scanning the entire disc to look for other faults, and repair them. Then, you should swap out the drive. If your drives are properly mirrored, you should be able to hot-swap an individual drive without causing issues. Do not, however, yank a drive if you don’t know that it’s safe to do so. It’s much more common to have a system that needs to be taken down for maintenance and the hardware swapped.
Reference the Performance Tuning Guide
There are approximately a million different settings within the overall Windows Server 2012 R2 system that can be tweaked to improve performance. Often times, the standard settings out of the box are good enough, but in some situations they are no longer adequate. You can tweak and tune these settings to improve the overall performance of your system.
We’re not going to reproduce the entire tuning guide here, because it’s 181 pages long. You can find the full guide in PDF form here.
Consider a Migration to a Cloud Platform
Tweaking and dealing with system issues is a core part of running an on-premises server infrastructure. If you’re continually having issues with them, particularly if those issues are related to hardware limitations, updates, or maintenance, you might benefit from migrating your system to the cloud. We’ve talked extensively about when a cloud system is right for a business, and we’d be more than happy to discuss the entire premise with you if you give us a call.
Contact an Expert for Remote Assistance
If basic troubleshooting hasn’t identified the issue for you, and you don’t want to transfer to a cloud system, it might be worthwhile to contact a company like us to do a remote overview of your system.
Remote assistance can diagnose a lot of potential issues with your server, and we can both offer assistance with fixing them and with managing the servers moving forward. Again, feel free to contact us for more information.
About The Author
Herman
Herman is the lead team member here at Computertech.com. He’s been in IT for over 20 years and has expertise in our various IT Services including Microsoft Azure, Microsoft 365, Microsoft Teams and even Computer Security.
No related posts.