New in CWP Edge / LTSFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers. Available now in the Edge-Latest and LTS-Stable versions. Discuss in the forum

LSPHP / Cache ›
CWP Secure KernelKernel-level protectionEvery site in its own sandbox

Every PHP site, cron job and SSH session runs in its own profile that the kernel enforces. A hacked WordPress cannot read other accounts’ files, and crypto miners and unexpected processes are stopped. Discuss in the forum

Secure Kernel ›
CWP DataCenter PanelFree for CWPpro serversAll your servers on one screen

Manage all your CWP servers from one panel: live health, every hosting account, CWP and OS updates on many servers at once, backups, SSL, firewall and Telegram alerts. Discuss in the forum

DataCenter Panel ›
CWP Backup ServerFree for CWPpro serversBackups that ransomware cannot reach

Protected backups of all your CWP servers on a separate machine. Snapshots a hosting server cannot delete, and restore of files, databases, mail and whole accounts in the admin and user panel. Discuss in the forum

Backup Server ›
WordPress ManagerIncluded & freeWordPress managed from the panel

Install, secure, update, back up and clone WordPress sites without FTP. Updates are tested on a staging clone first and applied to the live site only when they pass, with a backup taken first. Discuss in the forum

WordPress Manager ›
CWP CageIsolationEvery account in its own cage

Per-account isolation built from Linux namespaces and cgroups. A break-in or a runaway script on one site cannot reach another account, the panel or the rest of the server; resource limits per hosting package. Discuss in the forum

CWP Cage ›
Script InstallerOne-click appsWordPress, Joomla, Moodle and more in one click

CWP’s own script installer in the user panel: pick an app, choose the domain and folder, and it is live in seconds with its database and admin login created automatically. Ready for LSPHP and LSAPI-Cache. Discuss in the forum

Script Installer ›
DNS ClusterFor every control panelOne DNS cluster for all your servers

Your servers keep creating domains as usual; the zones are collected into one authoritative PowerDNS cluster you control, with DNSSEC, roles and a full activity trail. Accepts CWP, cPanel, Plesk, DirectAdmin and BIND. Discuss in the forum

DNS Cluster ›
CWP BillingFree to useBilling and support system for hosting providers

Clients, services, invoices, payments, domains, server provisioning and support tickets in one place. All gateways, server modules and registrars are free, with free migration from WHMCS, ClientExec and Blesta. Discuss in the forum

CWP Billing ›
CWPproFrom $1.49 per monthEvery CWP feature unlocked

CWPpro is the professional version of Control Web Panel: all features, unlimited accounts, the latest CWP version and security fixes first. $1.49 per month or $11.99 per year. Discuss in the forum

Get CWPpro ›

CWP works but websites down

Started by mynexttube, October 04, 2023, 10:01:19 PM

Previous topic - Next topic

mynexttube

Hi,

I have problems but still can't find a solution.
I have only two sites on the server and several times a day they are unavailable (for 1-2 minutes) while the CWP panel is available always and working.
I'm currently on Almalinux 8 with CWP Pro although the same thing happens to me on Centos 8 as well.
I have tried on another two completely new servers and the same thing happens.

Please help how to solve this problem.

Thanks in advance for any help

Starburst

What time is it happening?
Same time every day?

Have you checked the Apache log file for that time frame?

mynexttube

There is no specific time, it happens random.
In log of Apache I don't see nothing eve before 20min it happens again and I try just to restart Apache but nothing I restart firewall and mod security but nothing.

After restart of server sites come back.

P.S. I have another site on this server but works on docker and that site not have a problem.

I will continue to investigate from where problem comes and I will try to install php deffender

Starburst

That is odd.
Is this running a public IP, or behind a NAT?

Try to uninstall mod_security for awhile.
If it doesn't crash you narrowed it down.

overseer

CSF and Mod Security are two primary vectors for interrupts like this; possibly also a PHP or MySQL resource overload. Are you using external site monitoring?

mynexttube

Yes is on public IP without NAT.

It looks that problem comes from mod security.

I don't know is it good to leave server without mod security?

Starburst

If you have narrowed it down to mod-security.

Look in it logs to see what is triggering it.

What ModSec Rules Profile are you using?

OWASP old
OWASP latest
Comodo WAF (Which requires CWPpro)

Both OWASP have allot of false triggers (positives) that Comodo doesn't.

mynexttube

I use Comodo WAF

Today I install Centos 8 to see if I will have same problem like on Almalinux

Starburst

The base OS shouldn't have an effect.

Mod_Security would be the same on any RHEL 8 based systems.

mynexttube

It happens again also without mod security.

In apache error log I found this:

[Sun Oct 08 01:43:07.337737 2023] [mpm_event:error] [pid 199649:tid 139707479040576] AH03490: scoreboard is full, not at MaxRequestWorkers.In$
[Sun Oct 08 01:43:08.338956 2023] [mpm_event:error] [pid 199649:tid 139707479040576] AH03490: scoreboard is full, not at MaxRequestWorkers.In$
[Sun Oct 08 01:43:09.339942 2023] [mpm_event:error] [pid 199649:tid 139707479040576] AH03490: scoreboard is full, not at MaxRequestWorkers.In$

Starburst

Usually a $ at the end means there's more data to show.

Try viewing the log file using CWP's File Manager, and paste what the full lines say.

Starburst

Look like a common issue with this scripts.
Did a quick Google search for 'mpm_event:error

https://forums.cpanel.net/threads/apache-mpm-event-scoreboard-not-full.710585/
Has a suggested fix is the code, as well as checking max server connections config.

Also they say to check your MaxConnectionsPerChild setting.
Setting it to anything other than 0 is only meant to be done on Windows because it leaks memory internally.

Looks like whatever script this is, it's been having problems with Apache going back to at least 2014.