-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance degradation after 2.7 version #1042
Comments
Hi, |
We are going to transfer this issue to In order to unify the approaches followed in Bitnami containers and Bitnami charts, we are moving some issues in Please follow bitnami/containers to keep you updated about the latest bitnami images. More information here: https://blog.bitnami.com/2022/07/new-source-of-truth-bitnami-containers.html |
Unfortunately and due to other priorities we didn't have the bandwidth to look deeper into this issue during this time and it is very likely that it will continue to be so in the near future. |
This is still happening on the latest version:
This is causing our CI to crawl to a halt when upgrading from 2.6. No issues with the generic ruby image. No issues on the latest 2.6.10 image:
|
Hi, |
We have no other choice than abandoning Bitnami images as base for our apps because of this issue. |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
Hi, $ for i in {1..5}; do docker run -it --rm bitnami/ruby:3.0.6-debian-11-r165 ruby -ve 't = Time.now; i=0;while i<100_000_000;i+=1;end; puts "#{ Time.now - t } sec"'; done
Unable to find image 'bitnami/ruby:3.0.6-debian-11-r165' locally
3.0.6-debian-11-r165: Pulling from bitnami/ruby
9cef93724b4f: Pull complete
Digest: sha256:305e51793f06636292991ebf75a5564aef5188e05ecc25382d8a0aa8281afe40
Status: Downloaded newer image for bitnami/ruby:3.0.6-debian-11-r165
ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [x86_64-linux]
2.133846896 sec
ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [x86_64-linux]
2.072500101 sec
ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [x86_64-linux]
2.097575238 sec
ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [x86_64-linux]
2.079146395 sec
ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [x86_64-linux]
2.100069047 sec $ for i in {1..5}; do docker run -it --rm bitnami/ruby:3.1.4-debian-11-r167 ruby -ve 't = Time.now; i=0;while i<100_000_000;i+=1;end; puts "#{ Time.now - t } sec"'; done
Unable to find image 'bitnami/ruby:3.1.4-debian-11-r167' locally
3.1.4-debian-11-r167: Pulling from bitnami/ruby
e21fedc015ba: Pull complete
Digest: sha256:47f44c4ee722b4ab09ebadf73d87151fbf2a2f7484809c0cfecc658990bcbee6
Status: Downloaded newer image for bitnami/ruby:3.1.4-debian-11-r167
ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux]
2.134098341 sec
ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux]
2.143927956 sec
ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux]
2.092869681 sec
ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux]
2.081757178 sec
ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux]
2.064098745 sec $ for i in {1..5}; do docker run -it --rm bitnami/ruby:3.2.2-debian-11-r166 ruby -ve 't = Time.now; i=0;while i<100_000_000;i+=1;end; puts "#{ Time.now - t } sec"'; done
Unable to find image 'bitnami/ruby:3.2.2-debian-11-r166' locally
3.2.2-debian-11-r166: Pulling from bitnami/ruby
94d58ddbec9e: Pull complete
Digest: sha256:313f6a3b0b57b6f3f071ec90c84d971d85d8165ee13323089b833833f3aa6a34
Status: Downloaded newer image for bitnami/ruby:3.2.2-debian-11-r166
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
2.035457759 sec
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
2.079309355 sec
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
2.038084783 sec
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
2.043000337 sec
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
2.069768832 sec |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary. |
There is something wrong with this image. I'm still investigating the performance issue.
First lets run a simple benchmark with the
ruby:2.7
image:Then compare it with
bitnami/ruby:2.7-debian-10
image:I think this could be related to
seccomp
profile or misconfiguration of the basedebian
image. Please see these for more information:The text was updated successfully, but these errors were encountered: