OOMKilled due to GSRequest.sendRequest
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Start at GSRequest and trace the HttpURLConnection request path described in the issue, then review how TransportContext.finishHandshake() is reached for each Gigya request. Replace the per-request connection behavior with Apache HTTPClient connection pooling, and verify that repeated requests no longer create a new connection each time while preserving the SDK request behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
We have investigated regular OOMKilled for a SAP Commerce Cloud customer.
After investigation, it appears that the OOMkilled was due to very high memory thread stack memory allocation/deallocation that creates over the time RSS memory fragmentation. The thread name is "HandshakeCompletedNotify-Thread" and related to a known issue with TransportContext.finishHandshake(), see https://bugs.openjdk.org/browse/JDK-8246039.
HttpURLConnection is called by Gigya Java SDK for each request to Gigya service and this code calls TransportContext.finishHandshake() at the end of the connection.
GSRequest should not create a new connection for each request to Gigya service but uses Apache HTTPClient instead of HttpURLConnection with a connection pool.
- Lingua principale
- Java
- Stelle
- 21
- Fork
- 13
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SAP/gigya-java-sdk
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
SAP/gigya-java-sdk#2 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
SAP/gigya-java-sdk#12 · 1 commento ·
-
Gigya and Maven Repository Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 25/100
SAP/gigya-java-sdk#7 · 2 commenti ·
-
SAP/gigya-java-sdk#1 · 1 commento · 1 assegnatario ·
Tutte le issue di SAP/gigya-java-sdk
Issue simili
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
inu-appcenter/memorIN-backend#288 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
frontend maui-pilot pilot-ask question
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
executions.Query — startDate and timeRange filters are sent with inverted comparison operators Apertaarea/plugin
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
kestra-io/plugin-kestra#190 ·