Replies: 1 comment 3 replies
-
Hello @nishiyo, Thanks for reaching out to me. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We are using phoss-smp-webapp-sql.
Recently, SMP containers have been taking longer to start up.
When the number of participants on my SMP increases, it seems to take longer to start.
For example,
0 participant on my SMP = 20seconds
[5000 participants] * [some endpoints] on my SMP = 5minutes
I think _performMigrations in SMPMetaManager.java is taking some time.
phoss-smp/phoss-smp-backend/src/main/java/com/helger/phoss/smp/domain/SMPMetaManager.java
Line 153 in 2adc695
Does it need to do this process every time the container is started?
In my logs, it takes 5 minutes between "Performing migration 'ensure-transport-profiles-128'" and "Finished performing migration 'ensure-transport-profiles-128'".
(https://github.com/phax/ph-oton/blob/e958adf189b4b4223fea20b2f04344366b5c0fc5/ph-oton-core/src/main/java/com/helger/photon/core/sysmigration/SystemMigrationManager.java#L195)
Do you have any other thoughts about what the cause might be,
and is there any way to avoid this?
thanks.
Beta Was this translation helpful? Give feedback.
All reactions