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/05/15 14:59]
Lisa Clarke Proofreading and Reformatting
litespeed_wiki:cloudlinux:lsphp_criu_enable [2018/08/16 17:47]
Jackson Zhang [2. Check CRIU parameters]
Line 6: Line 6:
  
   - CloudLinux System   - CloudLinux System
-  - 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.+  ​- 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 21: 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====
Line 54: Line 55:
 ====Step 4==== ====Step 4====
   - Restore the PHP by refreshing the WordPress page to regenerate it   - Restore the PHP by refreshing the WordPress page to regenerate it
-  - Verify the process number is the same as before:<​code>​''​ps -ef | grep php+  - Verify the process number is the same as before:<​code>​ps -ef | grep php
 >>>​ user      868577 ​ ...   ​10:​55 ​  0:00 lsphp</​code>​The process is **back**!! >>>​ user      868577 ​ ...   ​10:​55 ​  0:00 lsphp</​code>​The process is **back**!!
   - You can also check standard error log for something like <​code>​LSCRIU:​ Successful CloudLinux dump of PID: 868577   - You can also check standard error log for something like <​code>​LSCRIU:​ Successful CloudLinux dump of PID: 868577
  • Admin
  • Last modified: 2019/10/15 18:41
  • by Lisa Clarke