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..
Hi everyone. We have a spryker application running on a Kubernetes CI cluster and recently we are h
Hi everyone.
We have a spryker application running on a Kubernetes CI cluster and recently we are having some problems with redis pod filling the disk. After investigating, we found that it is full of sessions, which are getting created by each liveness probe every 5 seconds.
Anyone knows how to avoid this?
Comments
-
Christian von Schassen Director Partner Succcess Management Sprykee Posts: 33 π§π»βπ - Cadet
Hi Flavio! If you don't get an answer from the community in a sensible timeframe, I'd suggest to create a support ticket at https://support.spryker.com
0 -
Please check if you have these modules:
https://github.com/spryker/session-redis/releases/tag/1.2.0
https://github.com/spryker/auth/releases/tag/3.7.0
https://github.com/spryker/session-redis-extension/releases/tag/1.0.0
Plus attached project level changes.0 -
Hi, thanks for the reply. I have session-redis v1.4.1, auth v3.7.5 and session-redis-extension v1.0.0.
We also have$config[AuthConstants::SYSTEM_USER_SESSION_REDIS_LIFE_TIME] = 20;
on the config_default.php, andnew SystemUserSessionRedisLifeTimeCalculatorPlugin()
on the SessionRedisDependencyProviderLocally it seems to be fine, only one session is created for each browser calling the health-check endpoint. (forgot to mention that the liveness probe is configured to call that endpoint)
0 -
So you will need to find out what is going on yourself unfortunately. I haven't heard about other problems other than the fixed one from above.
0 -
Ok, thanks anyway π
0 -
giovanni.piemontese Technical Lead @ LΓΆffelhardt Spryker Solution Partner Posts: 871 π§π»βπ - Cadet
I follow this thread.. we have also similar problem... (with a lot of not necessary yves/zed session in redis db that will be generated from health-check + our monitoring services check [yves and zed] ).
The problem is that the browser save your session cookie and via curl/monitoring tool there is no browser and the application in the response event dispatcher just check if sessionCookie exists otherwise create a new one (it means new session).
We have for a specific tool (java) already solved (found a workround) that the Tool via CookieManager will just send the cookie got in the first response to avoid this problem.
For Health-Check maybe we have to try the same or in best case the application should not create a new session for health-check/api/monitoring endpoint used for liveness probe.
0 -
I guess we need a plugin similar to
SystemUserSessionRedisLifeTimeCalculatorPlugin
for the YvesSessionRedisDependencyProvider
0 -
@valerii.trots I see now that on the Yves SessionRedisDependencyProvider, for the getSessionRedisLifeTimeCalculatorPlugins, you expect an array of plugins that implement a Zed interface... that is not correct, right?
0 -
@valerii.trots do I need to submit a bug report for this or do you report it internally?
0 -
If there is an issue in Spryker, please create a support ticket. My colleagues will take care as I'm on vacation atm.
0 -
ah, ok , thanks
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 930 Developer Corner
- 788 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random