Differences

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

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:troubleshooting:large-php-tmp-files [2019/05/13 18:43]
Jackson Zhang
litespeed_wiki:troubleshooting:large-php-tmp-files [2019/05/13 18:44] (current)
Jackson Zhang
Line 3: Line 3:
 Sometime you may have problems with huge ''​php<​XXXXX>''​ files created on your server, which in some cases leads to users reaching their limits. PHP writes a large temporary file with a name like ''/​tmp/​phpQQnomb'',​ sometimes multiple GB in size. Usually PHP is killed before the script finishes running. It is similar to [[https://​bugs.php.net/​bug.php?​id=76058|this report]]. When cloudLinux used, it may happen to cagefs tmp direcotry: ''/​home/​USER/​.cagefs/​tmp''​. ​ Sometime you may have problems with huge ''​php<​XXXXX>''​ files created on your server, which in some cases leads to users reaching their limits. PHP writes a large temporary file with a name like ''/​tmp/​phpQQnomb'',​ sometimes multiple GB in size. Usually PHP is killed before the script finishes running. It is similar to [[https://​bugs.php.net/​bug.php?​id=76058|this report]]. When cloudLinux used, it may happen to cagefs tmp direcotry: ''/​home/​USER/​.cagefs/​tmp''​. ​
  
-For example, at /tmp/:+For example, at ''​/tmp/''​:
   stat /​tmp/​phph1hlVT   stat /​tmp/​phph1hlVT
   File: ‘/​tmp/​phph1hlVT’   File: ‘/​tmp/​phph1hlVT’
Line 14: Line 14:
   Birth: -   Birth: -
   ​   ​
-or some users with huge tmp files (between 500MB and 2GB) in /​home/​$USER/​.cagefs/​tmp/​phpXXXXXX when wordfence used with wordpress.+or some users with huge tmp files (between 500MB and 2GB) in ''​/​home/​$USER/​.cagefs/​tmp/​phpXXXXXX'' ​when wordfence used with wordpress.
  
   root@server ~]# ls -larth /​home/​$USER/​.cagefs/​tmp/​php*   root@server ~]# ls -larth /​home/​$USER/​.cagefs/​tmp/​php*
  • Admin
  • Last modified: 2019/05/13 18:43
  • by Jackson Zhang