Replies: 1 comment 3 replies
-
Hi, {"severity":"ERROR","timestamp":"2023-09-25T18:30:57.961415475Z","logger":"activator","caller":"network/error_handler.go:33","message":"error reverse proxying request; sockstat: sockets: used 90\nTCP: inuse 82 orphan 0 tw 12 alloc 119 mem 74\nUDP: inuse 0 mem 1\nUDPLITE: inuse 0\nRAW: inuse 0\nFRAG: inuse 0 memory 0\n","commit":"ff30afc","knative.dev/controller":"activator","knative.dev/pod":"activator-7fd96bc4c9-t8tp4","knative.dev/key":"testsvc/test-service-latest","error":"context canceled","stacktrace":"knative.dev/pkg/network.ErrorHandler.func1\n\tknative.dev/[email protected]/network/error_handler.go:33\nknative.dev/serving/pkg/activator/handler.(*activationHandler).proxyRequest. Any suggestion to fix the problem, Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hi,
We are using KNative serving version 1.11.1 with Isitio-Ingress gateway in our C# Grpc client service applications.
C# Grpc Service is deployed to AKS as KNative service with maxScale=80 and container concurrency=1.
We have C# grpc client, which will send 400 requests to kNative route address, Each request contains payload of 45MB data.
400 initial grpc requests some times seem to create 80 pods, but KNative doesnt send request to all 80 pods evenly, my initial 40 reqeusts reaches to the pod quickly, subsequent requests takes 1-5 minutes to reach the pod, due to this some pods unused are getting terminated by knative. I want to know how i can make use of all 80 pods to process my requests concurrently, so that my whole 400 requests should be in 5X minutes, if each request takes 1 minute to process.
Here is my Knative service yaml
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: test-service
namespace: testsvc
spec:
template:
metadata:
name: test-service-latest
annotations:
autoscaling.knative.dev/class: kpa.autoscaling.knative.dev
autoscaling.knative.dev/minScale: "1"
autoscaling.knative.dev/maxScale: "80"
autoscaling.knative.dev/scaleDownDelay: "30m"
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions