{"id":2453,"date":"2018-05-19T06:58:55","date_gmt":"2018-05-19T06:58:55","guid":{"rendered":"http:\/\/docs.creativegigs.net\/docs\/gullu-wp\/faqs\/how-to-change-the-transition-time-of-gullu-slider\/"},"modified":"2026-02-07T11:36:59","modified_gmt":"2026-02-07T11:36:59","slug":"how-to-restart-lsws-or-mysql-from-cyberpanel","status":"publish","type":"docs","link":"https:\/\/www.bigcloudy.com\/knowledge-base\/docs\/webpanel-faq\/cyberpanel\/how-to-restart-lsws-or-mysql-from-cyberpanel\/","title":{"rendered":"How to Restart LSWS or MySQL from CyberPanel ?"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2453\" class=\"elementor elementor-2453\" data-elementor-post-type=\"docs\">\n\t\t\t\t<div class=\"elementor-element elementor-element-17bcd49d e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"17bcd49d\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-332e75a3 elementor-widget elementor-widget-text-editor\" data-id=\"332e75a3\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2><strong>Introduction<\/strong><\/h2><p>CyberPanel is a user-friendly hosting control panel that simplifies server management for web hosting professionals. Whether you need to restart your LiteSpeed Web Server (LSWS) or MySQL database server, CyberPanel provides an intuitive interface to perform these essential server management tasks. This guide walks you through the process of restarting both LSWS and MySQL from your CyberPanel dashboard.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-650d8681 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"650d8681\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-6c04dbbd elementor-widget elementor-widget-text-editor\" data-id=\"6c04dbbd\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2><strong>Why Restart LSWS and MySQL?<\/strong><b><br \/><\/b><\/h2><p>Restarting LSWS and MySQL servers is essential for maintaining optimal server performance. Here are the main reasons why you might need to restart these services:<\/p><p>Performance Optimization: Over time, services may consume additional memory or encounter resource bottlenecks. A restart helps free up resources and improves overall server performance.<\/p><p>Applying Configuration Changes: After modifying configuration files for LSWS or MySQL, a restart is required to apply the changes.<\/p><p>Resolving Service Issues: If a service is experiencing issues or becoming unresponsive, restarting often resolves temporary problems.<\/p><p>Memory Leak Resolution: A restart clears any memory leaks that may have accumulated during the service operation.<\/p><p>Updates and Patches: After installing updates or security patches, restarting ensures the new versions are active.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-33583dfe e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"33583dfe\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7e3db967 elementor-widget elementor-widget-text-editor\" data-id=\"7e3db967\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2><strong>How to Restart LSWS from CyberPanel<\/strong><b><br \/><\/b><\/h2><p>Step-by-Step Instructions<\/p><ol><li>Access your CyberPanel dashboard with administrative credentials.<\/li><li>Navigate to the Services section from the main menu.<\/li><li>In the Services list, locate \u201cMySQL\u201d or \u201cMariaDB\u201d (depending on your server configuration).<\/li><li>Click the \u201cRestart\u201d button next to the MySQL service. The restart icon is typically a circular refresh icon or a restart button.<\/li><li>A confirmation prompt will appear asking you to confirm the MySQL restart operation.<\/li><li>Click \u201cConfirm\u201d to proceed with restarting the MySQL service.<\/li><li>The system will initiate the MySQL restart process.<\/li><li>Allow a few moments for the restart to complete. You will receive a notification once the process is finished.<\/li><li>A success message will confirm that MySQL has been restarted successfully.<\/li><\/ol>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-879d545 elementor-widget elementor-widget-image\" data-id=\"879d545\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/www.bigcloudy.com\/cyberpanel-vps-hosting\">\n\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"271\" src=\"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2018\/05\/Restart_services-1024x271.png\" class=\"attachment-large size-large wp-image-16378\" alt=\"Restart_services\" srcset=\"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2018\/05\/Restart_services-1024x271.png 1024w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2018\/05\/Restart_services-300x79.png 300w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2018\/05\/Restart_services-768x203.png 768w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2018\/05\/Restart_services-20x5.png 20w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2018\/05\/Restart_services-32x8.png 32w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2018\/05\/Restart_services-1536x406.png 1536w, https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2018\/05\/Restart_services.png 1625w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-1061e441 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"1061e441\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-38d828c7 elementor-widget elementor-widget-text-editor\" data-id=\"38d828c7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2><strong>Best Practices for Server Restarts<\/strong><\/h2><h3>Follow these best practices when restarting services from CyberPanel:<\/h3><ul><li>Schedule Restarts During Off-Peak Hours: Perform service restarts during periods of low traffic to minimize impact on your users and website functionality.<\/li><li>Inform Users in Advance: If possible, notify your website visitors about scheduled maintenance windows.<\/li><li>Monitor Services After Restart: After restarting services, verify that all services are running properly and your websites are accessible.<\/li><li>Keep Backups: Always maintain current backups before performing any server maintenance operations.<\/li><li>Check Error Logs: Review error logs after restart to ensure there are no issues with your services.<\/li><li>One Service at a Time: Restart only one service at a time to isolate any potential issues.<\/li><li>Wait Between Restarts: If restarting multiple services, allow sufficient time between each restart for the system to stabilize.<\/li><li>Document Changes: Keep a record of when restarts were performed and for what reason to help with future troubleshooting.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-7a4d33a0 e-flex e-con-boxed wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-parent\" data-id=\"7a4d33a0\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-704ff18d e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"704ff18d\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-568e25a3 elementor-widget elementor-widget-text-editor\" data-id=\"568e25a3\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2><strong>Key Notes<\/strong><\/h2><ul><li><p data-path-to-node=\"3,0,0\"><b data-path-to-node=\"3,0,0\" data-index-in-node=\"0\">Service Names:<\/b> Depending on your CyberPanel version, MySQL may be listed as <b data-path-to-node=\"3,0,0\" data-index-in-node=\"76\">MariaDB<\/b>. Both represent your database engine.<\/p><\/li><li><p data-path-to-node=\"3,1,0\"><b data-path-to-node=\"3,1,0\" data-index-in-node=\"0\">Non-Disruptive Restarts:<\/b> LiteSpeed Web Server (LSWS) is designed to handle &#8220;graceful&#8221; restarts, meaning it attempts to finish serving current web requests before restarting.<\/p><\/li><li><p data-path-to-node=\"3,2,0\"><b data-path-to-node=\"3,2,0\" data-index-in-node=\"0\">SSH Alternative:<\/b> If the CyberPanel dashboard is unresponsive, you can restart these services via SSH using:<\/p><ul data-path-to-node=\"3,2,1\"><li><p data-path-to-node=\"3,2,1,0,0\"><code data-path-to-node=\"3,2,1,0,0\" data-index-in-node=\"0\">systemctl restart lscpd<\/code> (CyberPanel Service)<\/p><\/li><li><p data-path-to-node=\"3,2,1,1,0\"><code data-path-to-node=\"3,2,1,1,0\" data-index-in-node=\"0\">systemctl restart lsws<\/code> (LiteSpeed Web Server)<\/p><\/li><li><p data-path-to-node=\"3,2,1,2,0\"><code data-path-to-node=\"3,2,1,2,0\" data-index-in-node=\"0\">systemctl restart mariadb<\/code> (Database)<\/p><\/li><\/ul><\/li><li><p data-path-to-node=\"3,3,0\"><b data-path-to-node=\"3,3,0\" data-index-in-node=\"0\">Resource Spikes:<\/b> It is normal to see a temporary spike in CPU usage immediately after a restart as the system re-initializes caches.<\/p><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-4b783981 e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"4b783981\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-589f6649 elementor-widget elementor-widget-text-editor\" data-id=\"589f6649\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2><b>Conclusion<\/b><\/h2><p>Knowing how to <b data-path-to-node=\"6\" data-index-in-node=\"15\">restart LSWS and MySQL<\/b> is a fundamental skill for any server administrator. Whether you are clearing a memory leak, applying critical configuration updates, or simply optimizing performance, CyberPanel\u2019s built-in service management tools make the process seamless. By following best practices\u2014such as scheduling restarts during low-traffic periods and monitoring logs\u2014you can ensure your hosting environment remains stable, fast, and reliable for your users.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2365721 elementor-widget elementor-widget-text-editor\" data-id=\"2365721\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-element elementor-element-8ae5d8c e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"8ae5d8c\" data-element_type=\"container\"><div class=\"elementor-element elementor-element-6463d4da elementor-widget elementor-widget-text-editor\" data-id=\"6463d4da\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\"><div class=\"elementor-widget-container\"><h2 id=\"need-help\"><b>Need Help? <\/b><\/h2><p>If you face any issues updating your nameservers or need further assistance, our support team is always available:<\/p><ul><li aria-level=\"1\"><img decoding=\"async\" class=\"emoji\" role=\"img\" draggable=\"false\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/16.0.1\/svg\/1f4e7.svg\" alt=\"mail\" \/>\u00a0<b>Email:<\/b>\u00a0support@bigcloudy.com<\/li><li aria-level=\"1\"><img decoding=\"async\" class=\"emoji\" role=\"img\" draggable=\"false\" src=\"https:\/\/s.w.org\/images\/core\/emoji\/16.0.1\/svg\/1f310.svg\" alt=\"website\" \/><a href=\"https:\/\/www.bigcloudy.com\/contact-us\">\u00a0<b>Submit a support ticket<\/b><\/a><\/li><\/ul><\/div><\/div><\/div>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-20ff014b e-con-full e-flex wpr-particle-no wpr-jarallax-no wpr-parallax-no wpr-sticky-section-no e-con e-child\" data-id=\"20ff014b\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-58b5f6a elementor-widget elementor-widget-text-editor\" data-id=\"58b5f6a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h2><b>FAQ<\/b><\/h2>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3dbdc4d0 elementor-widget elementor-widget-eael-adv-accordion\" data-id=\"3dbdc4d0\" data-element_type=\"widget\" data-widget_type=\"eael-adv-accordion.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t        <div class=\"eael-adv-accordion\" id=\"eael-adv-accordion-3dbdc4d0\" data-scroll-on-click=\"no\" data-scroll-speed=\"300\" data-accordion-id=\"3dbdc4d0\" data-accordion-type=\"accordion\" data-toogle-speed=\"300\">\n    <div class=\"eael-accordion-list\">\n                <div id=\"will-restarting-lsws-take-my-website-offline\" class=\"elementor-tab-title eael-accordion-header\" tabindex=\"0\" data-tab=\"1\" aria-controls=\"elementor-tab-content-1031\"><span class=\"eael-advanced-accordion-icon-closed\"><svg aria-hidden=\"true\" class=\"fa-accordion-icon e-font-icon-svg e-fas-angle-down\" viewBox=\"0 0 320 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z\"><\/path><\/svg><\/span><span class=\"eael-advanced-accordion-icon-opened\"><svg aria-hidden=\"true\" class=\"fa-accordion-icon e-font-icon-svg e-fas-angle-up\" viewBox=\"0 0 320 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z\"><\/path><\/svg><\/span><span class=\"eael-accordion-tab-title\">Will restarting LSWS take my website offline?<\/span><\/div><div id=\"elementor-tab-content-1031\" class=\"eael-accordion-content clearfix\" data-tab=\"1\" aria-labelledby=\"will-restarting-lsws-take-my-website-offline\"><p>Yes, but only for a few seconds. LiteSpeed is highly efficient, and a restart typically happens so quickly that most users won&#8217;t even notice a delay.<\/p><\/div>\n                <\/div><div class=\"eael-accordion-list\">\n                <div id=\"how-often-should-i-restart-my-mysqlmariadb-server\" class=\"elementor-tab-title eael-accordion-header\" tabindex=\"0\" data-tab=\"2\" aria-controls=\"elementor-tab-content-1032\"><span class=\"eael-advanced-accordion-icon-closed\"><svg aria-hidden=\"true\" class=\"fa-accordion-icon e-font-icon-svg e-fas-angle-down\" viewBox=\"0 0 320 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z\"><\/path><\/svg><\/span><span class=\"eael-advanced-accordion-icon-opened\"><svg aria-hidden=\"true\" class=\"fa-accordion-icon e-font-icon-svg e-fas-angle-up\" viewBox=\"0 0 320 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z\"><\/path><\/svg><\/span><span class=\"eael-accordion-tab-title\">How often should I restart my MySQL\/MariaDB server?<\/span><\/div><div id=\"elementor-tab-content-1032\" class=\"eael-accordion-content clearfix\" data-tab=\"2\" aria-labelledby=\"how-often-should-i-restart-my-mysqlmariadb-server\"><p>You should only restart it when necessary, such as after changing <code data-path-to-node=\"12\" data-index-in-node=\"66\">my.cnf<\/code> configurations or if the service becomes sluggish. Frequent, unnecessary restarts can clear your <b data-path-to-node=\"12\" data-index-in-node=\"170\">query cache<\/b>, temporarily slowing down database-heavy sites.<\/p><\/div>\n                <\/div><div class=\"eael-accordion-list\">\n                <div id=\"what-is-the-difference-between-start-stop-and-restart\" class=\"elementor-tab-title eael-accordion-header\" tabindex=\"0\" data-tab=\"3\" aria-controls=\"elementor-tab-content-1033\"><span class=\"eael-advanced-accordion-icon-closed\"><svg aria-hidden=\"true\" class=\"fa-accordion-icon e-font-icon-svg e-fas-angle-down\" viewBox=\"0 0 320 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z\"><\/path><\/svg><\/span><span class=\"eael-advanced-accordion-icon-opened\"><svg aria-hidden=\"true\" class=\"fa-accordion-icon e-font-icon-svg e-fas-angle-up\" viewBox=\"0 0 320 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z\"><\/path><\/svg><\/span><span class=\"eael-accordion-tab-title\">What is the difference between \"Start,\" \"Stop,\" and \"Restart\"?<\/span><\/div><div id=\"elementor-tab-content-1033\" class=\"eael-accordion-content clearfix\" data-tab=\"3\" aria-labelledby=\"what-is-the-difference-between-start-stop-and-restart\"><ul><li><p data-path-to-node=\"14,0,0\"><b data-path-to-node=\"14,0,0\" data-index-in-node=\"0\">Start:<\/b> Turns on a service that is currently off.<\/p><\/li><li><p data-path-to-node=\"14,1,0\"><b data-path-to-node=\"14,1,0\" data-index-in-node=\"0\">Stop:<\/b> Completely shuts down the service (your site or database will go offline).<\/p><\/li><li><p data-path-to-node=\"14,2,0\"><b data-path-to-node=\"14,2,0\" data-index-in-node=\"0\">Restart:<\/b> Stops and then immediately starts the service again to refresh it.<\/p><\/li><\/ul><\/div>\n                <\/div><div class=\"eael-accordion-list\">\n                <div id=\"why-does-the-restart-button-fail-sometimes\" class=\"elementor-tab-title eael-accordion-header\" tabindex=\"0\" data-tab=\"4\" aria-controls=\"elementor-tab-content-1034\"><span class=\"eael-advanced-accordion-icon-closed\"><svg aria-hidden=\"true\" class=\"fa-accordion-icon e-font-icon-svg e-fas-angle-down\" viewBox=\"0 0 320 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z\"><\/path><\/svg><\/span><span class=\"eael-advanced-accordion-icon-opened\"><svg aria-hidden=\"true\" class=\"fa-accordion-icon e-font-icon-svg e-fas-angle-up\" viewBox=\"0 0 320 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z\"><\/path><\/svg><\/span><span class=\"eael-accordion-tab-title\">Why does the restart button fail sometimes?<\/span><\/div><div id=\"elementor-tab-content-1034\" class=\"eael-accordion-content clearfix\" data-tab=\"4\" aria-labelledby=\"why-does-the-restart-button-fail-sometimes\"><p>If a service fails to restart, it is usually due to a <b data-path-to-node=\"16\" data-index-in-node=\"54\">syntax error<\/b> in a configuration file (like <code data-path-to-node=\"16\" data-index-in-node=\"97\">httpd.conf<\/code> or <code data-path-to-node=\"16\" data-index-in-node=\"111\">my.cnf<\/code>). CyberPanel cannot start a service if the underlying configuration is broken.<\/p><\/div>\n                <\/div><div class=\"eael-accordion-list\">\n                <div id=\"can-i-automate-server-restarts\" class=\"elementor-tab-title eael-accordion-header\" tabindex=\"0\" data-tab=\"5\" aria-controls=\"elementor-tab-content-1035\"><span class=\"eael-advanced-accordion-icon-closed\"><svg aria-hidden=\"true\" class=\"fa-accordion-icon e-font-icon-svg e-fas-angle-down\" viewBox=\"0 0 320 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z\"><\/path><\/svg><\/span><span class=\"eael-advanced-accordion-icon-opened\"><svg aria-hidden=\"true\" class=\"fa-accordion-icon e-font-icon-svg e-fas-angle-up\" viewBox=\"0 0 320 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z\"><\/path><\/svg><\/span><span class=\"eael-accordion-tab-title\">Can I automate server restarts?<\/span><\/div><div id=\"elementor-tab-content-1035\" class=\"eael-accordion-content clearfix\" data-tab=\"5\" aria-labelledby=\"can-i-automate-server-restarts\"><p>While you can set up &#8220;Cron Jobs&#8221; to restart services, it is generally not recommended. It is better to identify and fix the root cause of service instability rather than relying on automated restarts.<\/p><\/div>\n                <\/div><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Introduction CyberPanel is a user-friendly hosting control panel that simplifies server management for web hosting professionals. Whether you need to restart your LiteSpeed Web Server (LSWS) or MySQL database server, CyberPanel provides an intuitive interface to perform these essential server management tasks. This guide walks you through the process of restarting both LSWS and MySQL from your CyberPanel dashboard. Why Restart LSWS and MySQL? Restarting LSWS and MySQL servers is essential for maintaining optimal server performance. Here are the main reasons why you might need to restart these services: Performance Optimization: Over time, services may consume additional memory or encounter resource bottlenecks. A restart helps free up resources and improves overall server performance. Applying Configuration Changes: After modifying configuration files for LSWS or MySQL, a restart is required to apply the changes. Resolving Service Issues: If a service is experiencing issues or becoming unresponsive, restarting often resolves temporary problems. Memory Leak Resolution: A restart clears any memory leaks that may have accumulated during the service operation. Updates and Patches: After installing updates or security patches, restarting ensures the new versions are active. How to Restart LSWS from CyberPanel Step-by-Step Instructions Access your CyberPanel dashboard with administrative credentials. Navigate to the Services section from the main menu. In the Services list, locate \u201cMySQL\u201d or \u201cMariaDB\u201d (depending on your server configuration). Click the \u201cRestart\u201d button next to the MySQL service. The restart icon is typically a circular refresh icon or a restart button. A confirmation prompt will appear asking you to confirm the MySQL restart operation. Click \u201cConfirm\u201d to proceed with restarting the MySQL service. The system will initiate the MySQL restart process. Allow a few moments for the restart to complete. You will receive a notification once the process is finished. A success message will confirm that MySQL has been restarted successfully. Best Practices for Server Restarts Follow these best practices when restarting services from CyberPanel: Schedule Restarts During Off-Peak Hours: Perform service restarts during periods of low traffic to minimize impact on your users and website functionality. Inform Users in Advance: If possible, notify your website visitors about scheduled maintenance windows. Monitor Services After Restart: After restarting services, verify that all services are running properly and your websites are accessible. Keep Backups: Always maintain current backups before performing any server maintenance operations. Check Error Logs: Review error logs after restart to ensure there are no issues with your services. One Service at a Time: Restart only one service at a time to isolate any potential issues. Wait Between Restarts: If restarting multiple services, allow sufficient time between each restart for the system to stabilize. Document Changes: Keep a record of when restarts were performed and for what reason to help with future troubleshooting. Key Notes Service Names: Depending on your CyberPanel version, MySQL may be listed as MariaDB. Both represent your database engine. Non-Disruptive Restarts: LiteSpeed Web Server (LSWS) is designed to handle &#8220;graceful&#8221; restarts, meaning it attempts to finish serving current web requests before restarting. SSH Alternative: If the CyberPanel dashboard is unresponsive, you can restart these services via SSH using: systemctl restart lscpd (CyberPanel Service) systemctl restart lsws (LiteSpeed Web Server) systemctl restart mariadb (Database) Resource Spikes: It is normal to see a temporary spike in CPU usage immediately after a restart as the system re-initializes caches. Conclusion Knowing how to restart LSWS and MySQL is a fundamental skill for any server administrator. Whether you are clearing a memory leak, applying critical configuration updates, or simply optimizing performance, CyberPanel\u2019s built-in service management tools make the process seamless. By following best practices\u2014such as scheduling restarts during low-traffic periods and monitoring logs\u2014you can ensure your hosting environment remains stable, fast, and reliable for your users. Need Help? If you face any issues updating your nameservers or need further assistance, our support team is always available: \u00a0Email:\u00a0support@bigcloudy.com \u00a0Submit a support ticket FAQ Will restarting LSWS take my website offline? Yes, but only for a few seconds. LiteSpeed is highly efficient, and a restart typically happens so quickly that most users won&#8217;t even notice a delay. How often should I restart my MySQL\/MariaDB server? You should only restart it when necessary, such as after changing my.cnf configurations or if the service becomes sluggish. Frequent, unnecessary restarts can clear your query cache, temporarily slowing down database-heavy sites. What is the difference between &#8220;Start,&#8221; &#8220;Stop,&#8221; and &#8220;Restart&#8221;? Start: Turns on a service that is currently off. Stop: Completely shuts down the service (your site or database will go offline). Restart: Stops and then immediately starts the service again to refresh it. Why does the restart button fail sometimes? If a service fails to restart, it is usually due to a syntax error in a configuration file (like httpd.conf or my.cnf). CyberPanel cannot start a service if the underlying configuration is broken. Can I automate server restarts? While you can set up &#8220;Cron Jobs&#8221; to restart services, it is generally not recommended. It is better to identify and fix the root cause of service instability rather than relying on automated restarts.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2027,"menu_order":15,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-2453","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.7 (Yoast SEO v26.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Restart LSWS or MySQL from CyberPanel (Easy Guide)<\/title>\n<meta name=\"description\" content=\"Restart LSWS or MySQL in CyberPanel with just a few clicks. Follow this quick and beginner-friendly tutorial.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bigcloudy.com\/knowledge-base\/docs\/webpanel-faq\/cyberpanel\/how-to-restart-lsws-or-mysql-from-cyberpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Restart LSWS or MySQL from CyberPanel ?\" \/>\n<meta property=\"og:description\" content=\"Restart LSWS or MySQL in CyberPanel with just a few clicks. Follow this quick and beginner-friendly tutorial.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bigcloudy.com\/knowledge-base\/docs\/webpanel-faq\/cyberpanel\/how-to-restart-lsws-or-mysql-from-cyberpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"CloudHostGeek Help Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/BigCloudyHosting\/\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-07T11:36:59+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2018\/05\/Restart_services-1024x271.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@bigcloudypvtltd\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Restart LSWS or MySQL from CyberPanel (Easy Guide)","description":"Restart LSWS or MySQL in CyberPanel with just a few clicks. Follow this quick and beginner-friendly tutorial.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bigcloudy.com\/knowledge-base\/docs\/webpanel-faq\/cyberpanel\/how-to-restart-lsws-or-mysql-from-cyberpanel\/","og_locale":"en_US","og_type":"article","og_title":"How to Restart LSWS or MySQL from CyberPanel ?","og_description":"Restart LSWS or MySQL in CyberPanel with just a few clicks. Follow this quick and beginner-friendly tutorial.","og_url":"https:\/\/www.bigcloudy.com\/knowledge-base\/docs\/webpanel-faq\/cyberpanel\/how-to-restart-lsws-or-mysql-from-cyberpanel\/","og_site_name":"CloudHostGeek Help Center","article_publisher":"https:\/\/www.facebook.com\/BigCloudyHosting\/","article_modified_time":"2026-02-07T11:36:59+00:00","og_image":[{"url":"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2018\/05\/Restart_services-1024x271.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_site":"@bigcloudypvtltd","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/docs\/webpanel-faq\/cyberpanel\/how-to-restart-lsws-or-mysql-from-cyberpanel\/","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/docs\/webpanel-faq\/cyberpanel\/how-to-restart-lsws-or-mysql-from-cyberpanel\/","name":"How to Restart LSWS or MySQL from CyberPanel (Easy Guide)","isPartOf":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/docs\/webpanel-faq\/cyberpanel\/how-to-restart-lsws-or-mysql-from-cyberpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/docs\/webpanel-faq\/cyberpanel\/how-to-restart-lsws-or-mysql-from-cyberpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2018\/05\/Restart_services-1024x271.png","datePublished":"2018-05-19T06:58:55+00:00","dateModified":"2026-02-07T11:36:59+00:00","description":"Restart LSWS or MySQL in CyberPanel with just a few clicks. Follow this quick and beginner-friendly tutorial.","breadcrumb":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/docs\/webpanel-faq\/cyberpanel\/how-to-restart-lsws-or-mysql-from-cyberpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bigcloudy.com\/knowledge-base\/docs\/webpanel-faq\/cyberpanel\/how-to-restart-lsws-or-mysql-from-cyberpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/docs\/webpanel-faq\/cyberpanel\/how-to-restart-lsws-or-mysql-from-cyberpanel\/#primaryimage","url":"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2018\/05\/Restart_services-1024x271.png","contentUrl":"https:\/\/kb.cloudhostgeek.com\/wp-content\/uploads\/2018\/05\/Restart_services-1024x271.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/docs\/webpanel-faq\/cyberpanel\/how-to-restart-lsws-or-mysql-from-cyberpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.bigcloudy.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Private: WebPanel FAQ","item":"https:\/\/www.bigcloudy.com\/knowledge-base\/?post_type=docs&p=14558"},{"@type":"ListItem","position":3,"name":"CyberPanel","item":"https:\/\/www.bigcloudy.com\/knowledge-base\/docs\/webpanel-faq\/cyberpanel\/"},{"@type":"ListItem","position":4,"name":"How to Restart LSWS or MySQL from CyberPanel ?"}]},{"@type":"WebSite","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#website","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/","name":"https:\/\/www.bigcloudy.com\/","description":"Your step-by-step guide to hosting, servers &amp; website tools.","publisher":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bigcloudy.com\/knowledge-base\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#organization","name":"BigCloudy internt services pvt ltd.","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/09\/cropped-BGC_logo.webp","contentUrl":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-content\/uploads\/2024\/09\/cropped-BGC_logo.webp","width":368,"height":114,"caption":"BigCloudy internt services pvt ltd."},"image":{"@id":"https:\/\/www.bigcloudy.com\/knowledge-base\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/BigCloudyHosting\/","https:\/\/x.com\/bigcloudypvtltd","https:\/\/www.instagram.com\/bigcloudypvtltd\/"]}]}},"_links":{"self":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/docs\/2453","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/comments?post=2453"}],"version-history":[{"count":0,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/docs\/2453\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/docs\/2027"}],"wp:attachment":[{"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=2453"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.bigcloudy.com\/knowledge-base\/wp-json\/wp\/v2\/doc_tag?post=2453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}