{"id":52701,"date":"2025-09-30T21:15:41","date_gmt":"2025-09-30T18:15:41","guid":{"rendered":"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/"},"modified":"2025-09-30T21:15:42","modified_gmt":"2025-09-30T18:15:42","slug":"common-vps-problems-and-how-to-solve-them","status":"publish","type":"post","link":"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/","title":{"rendered":"Common Vps Problems and How to Solve Them"},"content":{"rendered":"<p><\/p>\n<p>Running <a href=\"https:\/\/infinitydomainhosting.com\/kb\/how-to-configure-2fa-step-by-step\/\">a<\/a> <a href=\"https:\/\/www.a2hosting.com\/vps-hosting\/\" target=\"_blank\" rel=\"noopener\">vps<\/a> means dealing with a few recurring problems. Below I walk through the common issues you\u2019ll encounter and give clear, practical fixes you can apply right away.<\/p>\n<p><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_80 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/#Quick_checklist_before_you_start\" >Quick checklist before you start<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/#Common_vps_problems_and_how_to_solve_them\" >Common vps problems and how to solve them<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/#1_High_CPU_or_memory_usage\" >1. High CPU or memory usage<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/#2_Disk_full_or_low_disk_space\" >2. Disk full or low disk space<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/#3_ssh_wont_connect\" >3. ssh won\u2019t connect<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/#4_Service_wont_start_or_keeps_crashing\" >4. Service won\u2019t start or keeps crashing<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/#5_Network_problems_and_high_latency\" >5. Network problems and high latency<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/#6_DNS_and_domain_resolution_issues\" >6. DNS and domain resolution issues<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/#7_Security_incidents_and_unauthorized_access\" >7. Security incidents and unauthorized access<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/#8_Backup_failures_or_missing_restores\" >8. Backup failures or missing restores<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/#9_Outdated_software_and_missing_security_patches\" >9. Outdated software and missing security patches<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/#10_Resource_limits_file_descriptors_processes\" >10. Resource limits (file descriptors, processes)<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/#Troubleshooting_workflow_simple_and_repeatable\" >Troubleshooting workflow (simple and repeatable)<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/#Monitoring_and_prevention\" >Monitoring and prevention<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/infinitydomainhosting.com\/kb\/common-vps-problems-and-how-to-solve-them\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Quick_checklist_before_you_start\"><\/span>Quick checklist before you start<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><\/p>\n<ul><\/p>\n<li>Check your provider\u2019s status page for outages.<\/li>\n<p><\/p>\n<li>Take a snapshot or backup before major changes.<\/li>\n<p><\/p>\n<li>Have console access (serial\/console in the <a href=\"https:\/\/infinitydomainhosting.com\/kb\/how-to-use-cpanel-or-other-control-panel\/\">control panel<\/a>) in case <a href=\"https:\/\/www.a2hosting.com\/kb\/getting-started-guide\/accessing-your-account\/using-ssh-secure-shell\/\" target=\"_blank\" rel=\"noopener\">ssh<\/a> fails.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Common_vps_problems_and_how_to_solve_them\"><\/span>Common <a href=\"https:\/\/www.a2hosting.com\/vps-hosting\/\" target=\"_blank\" rel=\"noopener\">vps<\/a> problems and how to solve them<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><\/p>\n<h3><span class=\"ez-toc-section\" id=\"1_High_CPU_or_memory_usage\"><\/span>1. High CPU or memory usage<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>Symptoms: slow responses, processes stuck, or sudden spikes in load.<\/p>\n<p><\/p>\n<p>How to diagnose:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Run <code>top<\/code> or <code>htop<\/code> to see which processes use CPU\/RAM.<\/li>\n<p><\/p>\n<li>Use <code>ps aux --sort=-%mem | head<\/code> to list top memory consumers.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<p>How to fix:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Restart or stop the runaway process: <code>systemctl restart SERVICE<\/code> or <code>kill -9 PID<\/code> if necessary.<\/li>\n<p><\/p>\n<li>Tune services (<a href=\"https:\/\/www.hostinger.com\/tutorials\/what-is-php\/\" target=\"_blank\" rel=\"noopener\">php<\/a>-FPM, database) to use fewer workers or smaller buffers.<\/li>\n<p><\/p>\n<li>Consider <a href=\"https:\/\/infinitydomainhosting.com\/kb\/understanding-website-caching-and-website-performance-optimization\/\">caching<\/a>, adding swap (careful with SSD wear), or upgrading the plan if usage is sustained.<\/li>\n<p><\/p>\n<li>Use resource limits: systemd <code>LimitCPU\/LimitMEM<\/code> or cgroups to contain hungry processes.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h3><span class=\"ez-toc-section\" id=\"2_Disk_full_or_low_disk_space\"><\/span>2. Disk full or low disk space<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>Symptoms: cannot write files, services fail, email bounce, package installs fail.<\/p>\n<p><\/p>\n<p>How to diagnose:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Check usage: <code>df -h<\/code> and <code>du -sh \/var\/* | sort -h<\/code>.<\/li>\n<p><\/p>\n<li>Check <a href=\"https:\/\/www.a2hosting.com\/kb\/developer-corner\/linux\/inode-count\/\" target=\"_blank\" rel=\"noopener\">inodes<\/a> (too many small files): <code>df -i<\/code>.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<p>How to fix:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Clean package cache: <code>apt-get clean<\/code> or <code>yum clean all<\/code>.<\/li>\n<p><\/p>\n<li>Rotate and trim logs: configure <code>logrotate<\/code> and run <code>journalctl --vacuum-size=200M<\/code>.<\/li>\n<p><\/p>\n<li>Remove old kernels: <code>apt autoremove<\/code> on Debian\/<a href=\"https:\/\/www.hostinger.com\/tutorials\/what-is-ubuntu\" target=\"_blank\" rel=\"noopener\">ubuntu<\/a>.<\/li>\n<p><\/p>\n<li>Find large directories with <code>du -sh *<\/code> and remove what\u2019s not needed.<\/li>\n<p><\/p>\n<li>If <a href=\"https:\/\/www.infinitivehost.com\/blog\/what-is-the-inode-number-in-linux\/\" target=\"_blank\" rel=\"noopener\">inode<\/a> exhaustion, remove many small temp files or rotate app caches; consider increasing disk or using different storage.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h3><span class=\"ez-toc-section\" id=\"3_ssh_wont_connect\"><\/span>3. <a href=\"https:\/\/www.a2hosting.com\/kb\/getting-started-guide\/accessing-your-account\/using-ssh-secure-shell\/\" target=\"_blank\" rel=\"noopener\">ssh<\/a> won\u2019t connect<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>Symptoms: timed out, connection refused, authentication failed.<\/p>\n<p><\/p>\n<p>How to diagnose:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Try provider console access to bypass network issues.<\/li>\n<p><\/p>\n<li>Check SSH status: <code>systemctl status sshd<\/code> and logs <code>\/var\/log\/auth.log<\/code> or <code>\/var\/log\/secure<\/code>.<\/li>\n<p><\/p>\n<li>Verify firewall or cloud security group rules allow port 22 (or your custom port).<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<p>How to fix:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Correct file permissions for keys: <code>chmod 600 ~\/.ssh\/authorized_keys<\/code>.<\/li>\n<p><\/p>\n<li>Restart SSH: <code>systemctl restart sshd<\/code>.<\/li>\n<p><\/p>\n<li>If misconfigured SSH, revert changes via console or boot into single-user mode.<\/li>\n<p><\/p>\n<li>Enable password auth temporarily only if you must, then restore key-based auth immediately.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h3><span class=\"ez-toc-section\" id=\"4_Service_wont_start_or_keeps_crashing\"><\/span>4. Service won\u2019t start or keeps crashing<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>Symptoms: web server, database, or other daemons fail to run or crash repeatedly.<\/p>\n<p><\/p>\n<p>How to diagnose:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Check <code>systemctl status SERVICE<\/code> and <code>journalctl -u SERVICE -b<\/code>.<\/li>\n<p><\/p>\n<li>Run service-specific checks: <code><a href=\"https:\/\/www.a2hosting.com\/kb\/developer-corner\/nginx-web-server\/installing-the-nginx-web-server\/\" target=\"_blank\" rel=\"noopener\">nginx<\/a> -t<\/code> or <code>apachectl configtest<\/code>.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<p>How to fix:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Fix configuration errors found by the test <a href=\"https:\/\/www.hostinger.com\/tutorials\/linux-commands\" target=\"_blank\" rel=\"noopener\">commands<\/a>.<\/li>\n<p><\/p>\n<li>Look for port conflicts (use <code>ss -tulpn<\/code> or <code>netstat -plnt<\/code>).<\/li>\n<p><\/p>\n<li>Increase timeouts or adjust memory limits if the service fails under load.<\/li>\n<p><\/p>\n<li>If logs are flooded, rotate them and free space so services can write logs again.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h3><span class=\"ez-toc-section\" id=\"5_Network_problems_and_high_latency\"><\/span>5. Network problems and high <a href=\"https:\/\/www.hostinger.com\/tutorials\/what-is-network-latency\" target=\"_blank\" rel=\"noopener\">latency<\/a><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>Symptoms: slow page loads, packet loss, intermittent connectivity.<\/p>\n<p><\/p>\n<p>How to diagnose:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Ping and <a href=\"https:\/\/www.hostinger.com\/tutorials\/traceroute-command\" target=\"_blank\" rel=\"noopener\">traceroute<\/a> to check paths and packet loss: <code>ping -c 10 example.com<\/code>, <code>traceroute<\/code>.<\/li>\n<p><\/p>\n<li>Check interface and routes: <code>ip addr<\/code>, <code>ip route<\/code>.<\/li>\n<p><\/p>\n<li>Check provider network status and firewall rules.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<p>How to fix:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Restart networking or reset the interface: <code>systemctl restart networking<\/code> or provider console.<\/li>\n<p><\/p>\n<li>Adjust MTU if fragmentation is causing problems.<\/li>\n<p><\/p>\n<li>Contact your provider if their network or upstream is the issue.<\/li>\n<p><\/p>\n<li>Use monitoring and synthetic checks to spot intermittent latency before customers do.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h3><span class=\"ez-toc-section\" id=\"6_DNS_and_domain_resolution_issues\"><\/span>6. <a href=\"https:\/\/infinitydomainhosting.com\/index.php?rp=\/knowledgebase\/128\/How-to-manage-your-DNS-settings-for-your-domain.html\">DNS<\/a> and <a href=\"https:\/\/www.a2hosting.com\/domains\/\" target=\"_blank\" rel=\"noopener\">domain<\/a> resolution issues<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>Symptoms: <a href=\"https:\/\/www.a2hosting.com\/domains\/\" target=\"_blank\" rel=\"noopener\">domain<\/a> not resolving, pointing to old IP, propagation delays.<\/p>\n<p><\/p>\n<p>How to diagnose:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Use <code>dig +short yourdomain.com<\/code> and <code><a href=\"https:\/\/hostadvice.com\/blog\/domains\/what-is-nslookup\/\" target=\"_blank\" rel=\"noopener\">nslookup<\/a> yourdomain.com<\/code>.<\/li>\n<p><\/p>\n<li>Check TTLs at your <a href=\"https:\/\/www.hostinger.com\/tutorials\/what-is-dns\" target=\"_blank\" rel=\"noopener\">dns<\/a> provider and confirm A\/AAAA\/<a href=\"https:\/\/hostadvice.com\/blog\/domains\/what-is-a-cname\/\" target=\"_blank\" rel=\"noopener\">cname records<\/a> are correct.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<p>How to fix:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Correct DNS records at the registrar or DNS <a href=\"https:\/\/www.a2hosting.com\/\" target=\"_blank\" rel=\"noopener\">host<\/a> and wait for TTL to expire.<\/li>\n<p><\/p>\n<li>Flush local <a href=\"https:\/\/www.a2hosting.com\/kb\/getting-started-guide\/internet-and-networking\/clearing-the-dns-cache-on-your-computer\/\" target=\"_blank\" rel=\"noopener\">dns cache<\/a> if needed: <code>systemd-resolve --flush-caches<\/code> or restart local DNS resolver.<\/li>\n<p><\/p>\n<li>Use temporary hosts file entries for immediate testing via <code>\/etc\/hosts<\/code> (remember to remove later).<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h3><span class=\"ez-toc-section\" id=\"7_Security_incidents_and_unauthorized_access\"><\/span>7. Security incidents and unauthorized access<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>Symptoms: unknown processes, suspicious logins, changed files, crypto-mining activity.<\/p>\n<p><\/p>\n<p>How to diagnose:<\/p>\n<p><\/p>\n<ul><\/p>\n<li><a href=\"https:\/\/support.hostinger.com\/en\/articles\/2152545-how-to-inspect-website-elements-in-your-browser\" target=\"_blank\" rel=\"noopener\">inspect<\/a> logs: <code>\/var\/log\/auth.log<\/code>, <code>\/var\/log\/syslog<\/code>, and web server logs.<\/li>\n<p><\/p>\n<li>Check running processes (<code>ps aux<\/code>) and network connections (<code>ss -tulpn<\/code>).<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<p>How to fix and recover:<\/p>\n<p><!--KB_CAT_BLOCK--><\/p>\n<figure class=\"kb-cat-placeholder\" style=\"margin:1.75rem 0;display:block;\">\n<div class=\"kb-cat-wrap\" style=\"position:relative; overflow:hidden; border-radius:12px; box-shadow:0 10px 36px rgba(0,0,0,0.14);\"><img src=\"https:\/\/infinitydomainhosting.com\/kb\/assets\/img\/cat-default.webp\" alt=\"Common Vps Problems and How to Solve Them\" loading=\"lazy\" decoding=\"async\" style=\"max-width:100%;height:auto;display:block;border-radius:12px;box-shadow:0 8px 28px rgba(0,0,0,0.12);\" \/><\/p>\n<div class=\"kb-cat-gradient\" style=\"position:absolute; inset:0; background:linear-gradient(180deg, rgba(9,23,60,0.66) 0%, rgba(11,30,70,0.45) 40%, rgba(11,30,70,0.15) 100%);\"><\/div>\n<div class=\"kb-cat-textbox\" style=\"position:absolute; inset:auto 5% 7% 5%; color:#fff; text-align:center; display:flex; flex-direction:column; gap:.4rem; align-items:center; justify-content:flex-end;\">\n<div class=\"kb-cat-title\" style=\"font-weight:800; font-size:clamp(20px,3.6vw,34px); line-height:1.2; letter-spacing:.2px; text-shadow:0 1px 2px rgba(0,0,0,.35);\">Common Vps Problems and How to Solve Them<\/div>\n<div class=\"kb-cat-meta\" style=\"opacity:1; font-weight:600; font-size:clamp(13px,2.6vw,16px); line-height:1.45; text-shadow:0 1px 2px rgba(0,0,0,.28);\">Running a vps means dealing with a few recurring problems. Below I walk through the common issues you\u2019ll encounter and give clear, practical fixes you can apply right away.Quick checklist\u2026<\/div>\n<div class=\"kb-cat-desc\" style=\"opacity:1; font-weight:500; font-size:clamp(12px,2.4vw,15px); line-height:1.5; max-width:900px; text-wrap:balance; text-shadow:0 1px 2px rgba(0,0,0,.25);\">AI<\/div>\n<\/div>\n<\/div>\n<\/figure>\n<p><\/p>\n<ul><\/p>\n<li>Isolate the VPS: block external access at the provider firewall and restore from a known-good backup.<\/li>\n<p><\/p>\n<li>Rotate all keys and passwords, disable unused accounts, and remove malicious <a href=\"https:\/\/www.hostinger.com\/tutorials\/cron-job\" target=\"_blank\" rel=\"noopener\">cron<\/a> jobs.<\/li>\n<p><\/p>\n<li>Harden SSH: disable password login, use keys, change default port if desired, and restrict IPs where possible.<\/li>\n<p><\/p>\n<li>Install and configure <a href=\"https:\/\/www.a2hosting.com\/kb\/security\/hardening-a-server-with-fail2ban\/\" target=\"_blank\" rel=\"noopener\">fail2ban<\/a> or similar intrusion prevention tools.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h3><span class=\"ez-toc-section\" id=\"8_Backup_failures_or_missing_restores\"><\/span>8. Backup failures or missing restores<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>Symptoms: backups incomplete, failing uploads, restore produces errors.<\/p>\n<p><\/p>\n<p>How to diagnose:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Check backup logs and verify backup integrity with test restores.<\/li>\n<p><\/p>\n<li>Ensure offsite backups are being transferred successfully and storage quotas aren\u2019t hit.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<p>How to fix:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Automate backups with timestamps and retention policy. Use snapshots for quick full-system recovery and <a href=\"https:\/\/www.a2hosting.com\/kb\/developer-corner\/linux\/using-rsync\/\" target=\"_blank\" rel=\"noopener\">rsync<\/a> or object storage for file backups.<\/li>\n<p><\/p>\n<li>Test restores regularly , a backup you can\u2019t restore is useless.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h3><span class=\"ez-toc-section\" id=\"9_Outdated_software_and_missing_security_patches\"><\/span>9. Outdated software and missing security patches<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>Symptoms: known vulnerabilities shown by scanners, or software behaving oddly after age.<\/p>\n<p><\/p>\n<p>How to diagnose:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Run package updates in a test environment first: <code>apt update && apt list --upgradable<\/code>.<\/li>\n<p><\/p>\n<li>Use vulnerability scanners or <a href=\"https:\/\/www.a2hosting.com\/wordpress-hosting\/managed\/\" target=\"_blank\" rel=\"noopener\">managed<\/a> patching tools.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<p>How to fix:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Keep the system updated on a schedule. Apply critical patches immediately and non-critical ones during maintenance windows.<\/li>\n<p><\/p>\n<li>Use configuration management (Ansible, Puppet) to make upgrades repeatable.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h3><span class=\"ez-toc-section\" id=\"10_Resource_limits_file_descriptors_processes\"><\/span>10. Resource limits (file descriptors, processes)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><\/p>\n<p>Symptoms: &#8220;too many open files&#8221;, inability to spawn new processes, web server hitting limits under load.<\/p>\n<p><\/p>\n<p>How to diagnose:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Check ulimits: <code>ulimit -a<\/code>. Check systemd limits for services.<\/li>\n<p><\/p>\n<li>Review <code>journalctl<\/code> and service logs for &#8220;too many open files&#8221; messages.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<p>How to fix:<\/p>\n<p><\/p>\n<ul><\/p>\n<li>Increase limits in <code>\/etc\/security\/limits.conf<\/code> or add a systemd drop-in file for the service (e.g., <code>LimitNOFILE=65536<\/code>).<\/li>\n<p><\/p>\n<li>Tune application connection pools and close idle connections.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Troubleshooting_workflow_simple_and_repeatable\"><\/span>Troubleshooting workflow (simple and repeatable)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><\/p>\n<ul><\/p>\n<li>1) Reproduce the issue or collect logs. 2) Check provider status and console. 3) Narrow down to service, network, or resource problem. 4) Apply a safe fix (restart, free space, revert config). 5) Test, then document the fix and add monitoring or automation to catch it earlier.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Monitoring_and_prevention\"><\/span>Monitoring and prevention<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><\/p>\n<ul><\/p>\n<li>Set up basic alerts for disk, CPU, memory, and service health (Prometheus, Datadog, UptimeRobot).<\/li>\n<p><\/p>\n<li>Automate backups and test restores.<\/li>\n<p><\/p>\n<li>Use configuration management to make changes reproducible and reversible.<\/li>\n<p><\/p>\n<li>Harden routinely: patch, rotate credentials, limit access, and run intrusion detection.<\/li>\n<p>\n<\/ul>\n<p><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><\/p>\n<p>Most VPS problems fall into a few categories: resource exhaustion, disk and <a href=\"https:\/\/www.infinitivehost.com\/blog\/what-is-the-inode-number-in-linux\/\" target=\"_blank\" rel=\"noopener\">inode<\/a> limits, network and DNS issues, SSH or service misconfigurations, backups, and security incidents. Start by checking provider status and console access, gather logs, then apply focused fixes like freeing disk space, restarting or tuning services, fixing configs, and patching systems. Add monitoring, automated backups, and basic hardening so the same problem is less likely to happen again.<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Running a vps means dealing with a few recurring problems. Below I walk through the common issues you\u2019ll encounter and give clear,&hellip;<\/p>\n","protected":false},"author":1,"featured_media":52702,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","_lmt_disableupdate":"","_lmt_disable":"","footnotes":""},"categories":[88,9405,86,4593,9,1,4594,87,3,5,10,11,8,2],"tags":[486,13514,811,10797,2451,1781,467,10571,10668,10633,866,6201,689,13515,13517,13516],"class_list":["post-52701","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-hosting","category-ai","category-computer-security","category-databases","category-domains","category-general","category-networking","category-online-marketing","category-php-scripts","category-seo","category-servers","category-support","category-website-security","category-wordpress","tag-backups","tag-common-vps-problems-and-how-to-solve-them","tag-configuration","tag-hosting-issues","tag-monitoring","tag-networking","tag-optimization","tag-server-performance","tag-server-security","tag-server-administration","tag-uptime","tag-virtual-private-server","tag-vps","tag-vps-problems","tag-vps-solutions","tag-vps-troubleshooting"],"_links":{"self":[{"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/posts\/52701","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/comments?post=52701"}],"version-history":[{"count":1,"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/posts\/52701\/revisions"}],"predecessor-version":[{"id":52703,"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/posts\/52701\/revisions\/52703"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/media\/52702"}],"wp:attachment":[{"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/media?parent=52701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/categories?post=52701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/infinitydomainhosting.com\/kb\/wp-json\/wp\/v2\/tags?post=52701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}