Why Spryker's Jenkins container doesn't have SWAP configured?
Hello,
I found that Jenkins container in AWS does not use SWAP. It seems to be a big problem, because whenever queue worker takes more processes, then Jenkins is completely killed or stuck. Even official documentation (
) says that queue worker can start plenty of processes, which in total can take GBs of memory.Solution without SWAP is not trivial, as problem occurs mostly when high amount of different messages land in the queue. Limiting number of workers will slow down overall processing and some workers take more, some less memory. Even after time consuming configuration tuning and testing, it Jenkins container can be stuck after any code change again.
SWAP could help in such situations, as processing would be slower only when SWAP will be used, but Jenkins should stay alive then. Rest of the time, when memory won't exceed limits, processing still will be fast, without hard workers amounts limitation.
Jenkins container seems to be EC2 container with storage attached, so SWAP should be just matter of one line of AWS configuration.
Can SWAP be enabled somehow in Jenkins container?
Answers
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,075 ⚖️ - Guardians (admin)
Heyhey @przemyslaw.szychowski ,
as always - I can not promise anything - but based on your feedback I pinged some people within Spryker and started a new discussion about this topic based on your points. Thank you already very much for your feedback! I will keep you updated!
All the best,
Florian
0 -
Thank you!
I hope that discussions will go well, as it may be simple solution for big problem in production systems.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 919 Developer Corner
- 779 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 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
- 69 Spryker Safari Questions
- 50 Random