• Resolved MarcelC

    (@imc67)


    Issue: “suddenly” (beginning of June)) one of the many websites I build/manage had a memory leak (up to 10GB and still OOM), high CPU (100%/1CORE) and network traffic (afterwards I realised WordPress docker container to Redis docker container) of 8mbps continuously!

    It took me weeks of trying to find the root cause and when I disabled your Redis plugin the issue was completely gone!

    I read similar issues by others, I do use WP Rocket but this is the only site that has this issue. I couldn’t find any proper debug errors or whatever, it was simply a mystery.

    For now I leave it disabled and wait for a solution.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    What was going OOM and had high CPU usage? Was it the entire server, or a specific process?

    Thread Starter MarcelC

    (@imc67)

    The WordPress Docker Container was going OOM regardless the fact that I increased the memory assigned to 10GB.

    The WordPress Docker Container can make use of 10 cores and showed 100% so it was using 1 core fully (normally/now it is 0,01%)

    The WordPress Docker Container had a 8mbps continuous network traffic, I assumed to the Redis Docker Container (it was not to/from the internet)

    The high CPU usage was a /usr/sbin/apach process

    Redis Object Cache plugin diagnose info (it’s now disabled because of the issue):

    Status: Niet ingeschakeld
    Client: Drop-in: Not installed
    Disabled: No
    PhpRedis: 5.3.5
    Relay: Not loaded
    Predis: 2.1.2
    Credis: Not loaded
    PHP Version: 8.1.2-1ubuntu2.14
    Plugin Version: 2.5.3
    Redis Version: Unknown
    Multisite: No
    Metrics: Disabled
    Metrics recorded: 0
    Filesystem: Writable WP_REDIS_HOST: "*****"
    WP_REDIS_PORT: "****"
    WP_CACHE_KEY_SALT: "*****"
    WP_REDIS_PLUGIN_PATH: "/app/data/public/wp-content/plugins/redis-cache"
    WP_REDIS_PASSWORD: ••••••••
    Drop-ins: [ "advanced-cache.php v by ", "maintenance.php v by " ]

    Plugin Author Till Krüss

    (@tillkruess)

    I see, Apache is going OOM. How much memory do you allocate for each individual PHP worker?

    Thread Starter MarcelC

    (@imc67)

    PHP max invoervariabelen3000
    PHP tijdslimiet120
    PHP geheugenlimiet512M
    PHP geheugen limiet (alleen voor beheerschermen)1024M
    Max input time120
    Upload max filesize64M
    PHP post max size64M

    Plugin Author Till Krüss

    (@tillkruess)

    I can’t read that, but if it’s 512MB per PHP worker and you’re seeing PHP go out of memory, try bumping it to 1024 or 2048 to see if that resolves it.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.