Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Websites on PHP 7.4 and PHP 8.0 are inaccessible on CloudLinux OS: 504 Gateway Time-out

 
2021cloudlinuxcpuextensionslinux

Symptoms

  • Websites that are using PHP 7.4 and PHP 8.0 are inaccessible on CloudLinux OS with the error below:

    504 Gateway Time-out

  • PHP 7.4 and PHP 8.0 master process consumes 100% of CPU.
  • The following error can be found in /var/log/plesk-php74-fpm/error.log file:

    WARNING: [pool example.com] child 1335278 said into stderr: "ERROR: [pool example.com] CageFS jail error Failed to initialize lve library instance: No such file or directory: No such file or directory (2)"
    WARNING: [pool example.com] child 1335278 said into stderr: "ERROR: [pool example.com] child failed to initialize"
    ERROR: [pool example.com] Error on LVE enter: LVE(10022)


    WARNING: [pool example.com] child 3682835 said into stderr: "ERROR: [pool example.com] CageFS jail error Failed to initialize lve library instance: Operation not permitted: Operation not permitted (1)", pipe is closed
    WARNING: [pool example.com] child 3682835 said into stderr: "ERROR: [pool example.com] child failed to initialize", pipe is closed

Cause

Product issue:

  • #PPPM-13184 "In Plesk on CloudLinux with enabled CageFS and the latest PHP updates installed, PHP 7.4. and 8.0 no longer consume all the CPU."
    Fixed in:

    • PHP Updates 31 August 2021 (Linux)

Resolution

Please consider updating your server:

  • How to update Plesk extensions

Workaround

For CloudLinux 7

For PHP 7.4

  1. Log into the server via SSH.
  2. Run the command to open PHP 7.4 configuration file:

    # systemctl edit plesk-php74-fpm.service

  3. Add the line below:

    [Service]
    PrivateDevices=false

  4. Save changes.

  5. Run the command below to apply the changes:

    # systemctl restart plesk-php74-fpm.service

 

 For PHP 8.0

  1. Log into the server via SSH.
  2. Run the command to open PHP 8.0 configuration file:

    # systemctl edit plesk-php80-fpm.service

  3. Add the line below:

    [Service]
    PrivateDevices=false

  4. Save changes.

  5. Run the command below to apply the changes:

    # systemctl restart plesk-php80-fpm.service 

Note: in case top command shows that one of the process uses 1
# kill 

 

For CloudLinux 8

For PHP 7.4

  1. Log into the server via SSH.
  2. Run the command to open PHP 7.4 configuration file:

    # systemctl edit plesk-php74-fpm.service

  3. Add the lines below:

    [Service]
    PrivateDevices=false
    RestrictNamespaces=false 

  4. Save changes.

  5. Run the command below to apply the changes:

    # systemctl restart plesk-php74-fpm.service

 

 For PHP 8.0

  1. Log into the server via SSH.
  2. Run the command to open PHP 8.0 configuration file:

    # systemctl edit plesk-php80-fpm.service

  3. Add the line below:

    [Service]
    PrivateDevices=false
    RestrictNamespaces=false

  4. Save changes.

  5. Run the command below to apply the changes:

    # systemctl restart plesk-php80-fpm.service 

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

How to Check Open Ports in Linux (Simple Commands & Tools)

Read More »

Linux Logs Explained

Read More »

WP Toolkit 6.2 Release Now Available

Read More »
Knowledge Base

System update fails on a Plesk server with AlmaLinux/CloudLinux: package plesk-php74-imagick requires libMagickCore, but none of the providers can be installed

Read More »

PHP scripts fails with the following error: Unable to load dynamic library sodium.so : cannot open shared object file: No such file or directory

Read More »

How to install the php-mcrypt module on a Plesk server

Read More »

Server with Plesk runs out of the space because of PHP-FPM logs

Read More »

Hosting Wiki

  • Cross Site Request Forgery (CSRF)
  • Cross-Origin Resource Sharing (CORS)
  • Server Redundancy
  • Postfix
  • Linux Containers
  • PostgreSQL
  • DDoS
  • Bare Metal Server
  • PhpMyAdmin
  • phpPgAdmin
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • PHP
  • Hosting Control Panel
  • Plesk
  • NoSQL Database
  • Web Server
  • DNS Server
  • SSH
  • Colocation Hosting
  • Reseller Hosting
  • Cloud Hosting
  • VPS Hosting
  • Dedicated Hosting
  • Shared Hosting
  • Free Hosting
  • Managed Hosting
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family