What are the Slack Archives?

Itโ€™s a history of our time together in the Slack Community! Thereโ€™s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you wonโ€™t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Is there a way to prevent `[02-Jun-2021 08:54:58] WARNING: [pool worker] child 15 said into stderr:

U01LE4BMBK7
U01LE4BMBK7 Posts: 241 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

Is there a way to prevent [02-Jun-2021 08:54:58] WARNING: [pool worker] child 15 said into stderr: "[2021-06-02T08:54:58.797681+00:00] Yves.CRITICAL: Spryker\Shared\SessionRedis\Handler\Exception\LockCouldNotBeAcquiredException - Spryker\Shared\SessionRedis\Handler\SessionHandlerRedisLocking could not acquire access to the session d92b4810bf583771d7ed7728e478abfd in "/data/vendor/spryker/session-redis/src/Spryker/Shared/SessionRedis/Handler/SessionHandlerRedisLocking.php::97" {"exception":"[object] (Spryker\\Shared\\SessionRedis\\Handler\\Exception\\LockCouldNotBeAcquiredException(code: 0): Spryker\\Shared\\SessionRedis\\Handler\\SessionHandlerRedisLocking could not acquire access to the session d92b4810bf583771d7ed7728e478abfd at /data/vendor/spryker/session-redis/src/Spryker/Shared/SessionRedis/Handler/SessionHandlerRedisLocking.php:97)" in production? We're using Spryker Cloud.

Comments

  • U01T075RRHD
    U01T075RRHD Posts: 118 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Please be careful when not using the locking strategy. This might lead to session data loss.
    From my experience, these issues usually are triggered by bots rapidly scanning your website.

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    I was opening the shop myself ;)

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Lรถffelhardt Spryker Solution Partner Posts: 871 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    Known Problem.. Your FPM on YVES is maybe exited due SIGBUS or memory max child reached and all user connected and related to this fpm child process have still own session in redis locked (how long? default is max_execution_time from your php.ini * 0.8 as fraction).
    After this time redis unlock (setEx) the sessions and the user can be again navigate..

    It happens almost due fpm misconfigured or just not enough ram on yves server...

  • U01LE4BMBK7
    U01LE4BMBK7 Posts: 241 ๐Ÿง‘๐Ÿปโ€๐Ÿš€ - Cadet

    thanks, that's a very good hint - will look into it!