RESOURCE_EXHAUSTED
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- grpc, node.js, typescript
Línea de trabajo
Comienza con el comportamiento reportado de @grpc/grpc-js 1.13.1 usando el cliente de Node 16.17 y la llamada a NodeCacheUtil.set mostrada en el stack trace. Reproduce el error después de que el servidor haya estado ejecutándose, compáralo con la versión degradada y determina si el cambio corresponde a las rutas call.js y client.js; se considera terminado cuando la causa y una resolución verificada están documentadas.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem description
Getting error after update to 1.13.1
RESOURCE_EXHAUSTED: Bandwidth exhausted or memory limit exceeded
Getting issue after some time when server is up on every request and resolve for some time when restart the server
when i downgrade , issue resolved
const grpc = require("@grpc/grpc-js");
const protoLoader = require("@grpc/proto-loader");
const PROTO_PATH = __dirname + "/node_cache.proto";
const packageDefinition = protoLoader.loadSync(PROTO_PATH, { keepCase: true, longs: String, enums: String, defaults: true, oneofs: true });
const nodeCacheProto = grpc.loadPackageDefinition(packageDefinition).nodecache;
const cacheServerUrl = localhost:${process.env.CACHE_PORT || 10000};
export const gRPCclient = new nodeCacheProto.NodeCache(cacheServerUrl, grpc.credentials.createInsecure());
Environment
- Node version - 16.17
Set Cache : ampHTML-/mahindra/global-pik-up?amp=1--en
[1] Error: 8 RESOURCE_EXHAUSTED: Bandwidth exhausted or memory limit exceeded
[1] at callErrorFromStatus (/data/cardekho/pwa/production/node_modules/@grpc/grpc-js/build/src/call.js:32:19)
[1] at Object.onReceiveStatus (/data/cardekho/pwa/production/node_modules/@grpc/grpc-js/build/src/client.js:193:76)
[1] at Object.onReceiveStatus (/data/cardekho/pwa/production/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:361:141)
[1] at Object.onReceiveStatus (/data/cardekho/pwa/production/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:324:181)
[1] at /data/cardekho/pwa/production/node_modules/@grpc/grpc-js/build/src/resolving-call.js:135:78
[1] at /data/cardekho/pwa/production/node_modules/elastic-apm-node/lib/instrumentation/run-context/AbstractRunContextManager.js:95:49
[1] at BasicRunContextManager.with (/data/cardekho/pwa/production/node_modules/elastic-apm-node/lib/instrumentation/run-context/BasicRunContextManager.js:55:17)
[1] at wrapper (/data/cardekho/pwa/production/node_modules/elastic-apm-node/lib/instrumentation/run-context/AbstractRunContextManager.js:95:23)
[1] at processTicksAndRejections (node:internal/process/task_queues:78:11)
[1] for call at
[1] at ServiceClientImpl.makeUnaryRequest (/data/cardekho/pwa/production/node_modules/@grpc/grpc-js/build/src/client.js:161:32)
[1] at ServiceClientImpl. (/data/cardekho/pwa/production/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
[1] at Object.set (/data/cardekho/pwa/production/dist/src/utils/NodeCacheUtil.js:11:30)
[1] at _callee3$ (/data/cardekho/pwa/production/dist/src/server-new3.js:554:41)
[1] at tryCatch (/data/cardekho/pwa/production/dist/src/server-new3.js:43:1062)
[1] at Generator. (/data/cardekho/pwa/production/dist/src/server-new3.js:43:3008)
[1] at Generator.next (/data/cardekho/pwa/production/dist/src/server-new3.js:43:1699)
[1] at asyncGeneratorStep (/data/cardekho/pwa/production/dist/src/server-new3.js:52:70)
[1] at _next (/data/cardekho/pwa/production/dist/src/server-new3.js:53:163)
[1] at /data/cardekho/pwa/production/node_modules/elastic-apm-node/lib/instrumentation/run-context/AbstractRunContextManager.js:95:49
[1] at BasicRunContextManager.with (/data/cardekho/pwa/production/node_modules/elastic-apm-node/lib/instrumentation/run-context/BasicRunContextManager.js:55:17)
[1] at wrapper (/data/cardekho/pwa/production/node_modules/elastic-apm-node/lib/instrumentation/run-context/AbstractRunContextManager.js:95:23)
[1] at runMicrotasks ()
[1] at processTicksAndRejections (node:internal/process/task_queues:96:5) {
[1] code: 8,
[1] details: 'Bandwidth exhausted or memory limit exceeded',
[1] metadata: Metadata { internalRepr: Map(0) {}, options: {} }
- Lenguaje dominante
- TypeScript
- Estrellas
- 4.8k
- Forks
- 716
- Merge medio
- 1 d 18 h
- PR fusionados (30 d)
- 17
Preparar el entorno
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 grpc/grpc-node
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 2 días
-
package: @grpc/grpc-js
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
grpc/grpc-node#2993 · 3 comentarios · 4 reacciones ·
Los mantenedores suelen responder en 2 días
-
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
grpc/grpc-node#3091 · 1 reacción ·
Los mantenedores suelen responder en 2 días
-
feature request
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
grpc/grpc-node#3077 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 3/5 1-2 días Aptitud para principiantes 76/100
grpc/grpc-node#3068 · 2 comentarios · 1 reacción ·
Los mantenedores suelen responder en 2 días
Todos los issues de grpc/grpc-node
Issues similares
-
refactor
Dificultad 2/5 Medio día Aptitud para principiantes 84/100
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
OHDSI/Data2Evidence#3450 ·
Los mantenedores suelen responder en 2 días
-
e2e-failure ready-to-code
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
redhat-developer/rhdh-plugin-export-overlays#4011 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
automation missing-model model-sync provider:ofox
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
anomalyco/models.dev#8421 ·
Los mantenedores suelen responder en 1 día
-
SlackAdapter and TelegramAdapter are not assignable to Adapter under exactOptionalPropertyTypesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día