OOMKilled due to GSRequest.sendRequest
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Java
- Estrellas
- 21
- Forks
- 13
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de SAP/gigya-java-sdk
-
GSRequest uses http by defaultAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
SAP/gigya-java-sdk#2 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
SAP/gigya-java-sdk#12 · 1 comentario ·
-
Gigya and Maven RepositoryAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 25/100
SAP/gigya-java-sdk#7 · 2 comentarios ·
-
Many links in documentation are brokenQuizá libre de nuevo @strusbergAlex la tomó hace 1939 días y no hay ningún pull request abierto. Abierto
SAP/gigya-java-sdk#1 · 1 comentario · 1 asignado ·
Todos los issues de SAP/gigya-java-sdk
Issues similares
-
status: waiting-for-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
spring-projects/spring-ai#7206 ·
Los mantenedores suelen responder en 2 días
-
area/cli
Dificultad 2/5 Medio día Aptitud para principiantes 78/100
quarkusio/quarkus#57623 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
jhipster/prettier-java#1113 ·
Los mantenedores suelen responder en 2 días
-
bug follow-up lane:backlog
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Sanne/incus-spawn#1576 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Pasting code into a comment adds imports for the pasted codePosiblemente ocupada @ravnskjaer la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
eclipse-jdt/eclipse.jdt.ui#3275 · 1 comentario ·
Los mantenedores suelen responder en 1 día