Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:cloudlinux:lsphp_criu_enable [2018/07/20 01:33]
qtwrk [Requirements]
litespeed_wiki:cloudlinux:lsphp_criu_enable [2018/08/20 18:43]
Jackson Zhang [How to Enable LSPHP CRIU on CloudLinux]
Line 1: Line 1:
 ====== How to Enable LSPHP CRIU on CloudLinux ====== ====== How to Enable LSPHP CRIU on CloudLinux ======
  
-Checkpoint/​Restore In Userspace, or CRIU, is an open source project which dumps all of the information of a running process to disk and restores it at the point of the dump.  The LiteSpeed Enterprise Edition Web Server now supports CRIU both natively, and for the CloudLinux/​Apache-specific implementation of the PHP processor. ​ This will improve the performance of LiteSpeed for transactions which are commonly used, and reduce the memory overhead on the server.+Checkpoint/​Restore In Userspace, or CRIU, is an open source project which dumps all of the information of a running process to disk and restores it at the point of the dump.  The LiteSpeed Enterprise Edition Web Server now supports CRIU for the CloudLinux/​Apache-specific implementation of the PHP processor. ​ This will improve the performance of LiteSpeed for transactions which are commonly used, and reduce the memory overhead on the server.
  
 ===== Requirements ===== ===== Requirements =====
Line 7: Line 7:
   - CloudLinux System   - CloudLinux System
   - LiteSpeed Web Server 5.3 or above.   - LiteSpeed Web Server 5.3 or above.
-  - LiteSpeed must be running as the root user to use CRIU LiteSpeed or Apache. Root is required in order to perform the snapshot and recovery. Running as a non-root user automatically disables CRIU.+ 
  
 ===== Installation ===== ===== Installation =====
Line 22: Line 22:
  
 ====2. Check CRIU parameters==== ====2. Check CRIU parameters====
-Generally PHP should be compiled with CRIU already. ​  \\+In CloudLinux, LSPHP have been compiled with CRIU already. ​Please check [[https://​docs.cloudlinux.com/​index.html?​criu_support.html|here]] ​  \\
 Use ''​phpinfo()''​ with parameter ''​-DWITH_CRIU''​ to check the LSPHP build. Use ''​phpinfo()''​ with parameter ''​-DWITH_CRIU''​ to check the LSPHP build.
  
-If you want to manually compile, please download LSAPI from [[https://​www.litespeedtech.com/​open-source/​litespeed-sapi/​download | here ]]+
  
 ====3. Configure the PHP environment==== ====3. Configure the PHP environment====
  • Admin
  • Last modified: 2019/10/15 18:41
  • by Lisa Clarke