PHP Processes ENOENT (No such file or directory) in Root




Wordpress LScache Plugin: PHP Processes ENOENT (No such file or directory) in Root

Last Updated on: Wed, 15 Apr 2026 00:00:02
Im experiencing an issue where the PHP processes are looking for a large number of files which is causing a site to grind to a halt and causing the database services to time out. Terminating the running PHP processes results in them going away but very quickly building up again. When checking the MYSQL dump its all related it seems to INSERT INTO wp_litespeed_img_optm 19657 lsphp 27297 lsphp 28264 lsphp 29619 lsphp 30651 lsphp 32574 lsphp 32575 lsphp 32586 lsphp getcwd( /home/account-name/public_html , 4096) = 34 lstat( /home/account-name/public_html/product-image-800x800.jpg , 0x7ffc3c248720) = -1 ENOENT (No such file or directory) getcwd( /home/account-name/public_html , 4096) = 34 lstat( /home/account-name/public_html/product-image-800x800.jpg , 0x7ffc3c248720) = -1 ENOENT (No such file or directory) getcwd( /home/account-name/public_html , 4096) = 34 lstat( /home/account-name/public_html/product-image-800x800.jpg , 0x7ffc3c248720) = -1 ENOENT (No such file or directory) getcwd( /home/account-name/public_html , 4096) = 34 lstat( /home/account-name/public_html/product-image-800x800.jpg , 0x7ffc3c248720) = -1 ENOENT (No such file or directory) WC Version: 6.7.0 REST API Version: 6.7.0 WC Blocks Version: 7.8.3 Action Scheduler Version: 3.4.0 Log Directory Writable: WP Version: 6.0.1 WP Multisite: ? WP Memory Limit: 2 GB WP Debug Mode: ? WP Cron: Language: en_GB External object cache: ? ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.30 PHP Post Max Size: 2 GB PHP Time Limit: 900 PHP Max Input Vars: 12000 cURL Version: 7.71.0 OpenSSL/1.1.1pExpand Hi, were you doing image optimization or something ? if that so , how many images this site got ? This particular site has 6000 in the media library but some of them are from old products and unlinked. Id estimate 2000 based on 170 products with 5 variations and general site images. our plugin will read the image info from database for optimization what weird is that your image path is public/xxxx.jpg , where it should be within wp-content/uploads directory you may need to check where is this image record in the database and remove or correct it to right path.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference