• Resolved Martyn B

    (@m7ble)


    I’m 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 it’s 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.1p
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    were you doing image optimization or something ?

    if that so , how many images this site got ?

    Thread Starter Martyn B

    (@m7ble)

    This particular site has 6000 in the media library but some of them are from old products and unlinked.

    I’d estimate 2000 based on 170 products with 5 variations and general site images.

    Plugin Support qtwrk

    (@qtwrk)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PHP Processes ENOENT (No such file or directory) in Root’ is closed to new replies.