model_server icon indicating copy to clipboard operation
model_server copied to clipboard

Got an error from OVMS: rpc error: code = ResourceExhausted desc =

Open jiekechoo opened this issue 1 year ago • 2 comments

Configuration

  1. OVMS version = 2024.3-gpu
  2. model server startup option:
--grpc_workers 6 # CPU count is 12
  1. nireq is not set

Runing OVMS about 24 hours, when I send rpc call to OVMS, got error:

rpc error: code = ResourceExhausted desc = 

Thanks. Jieke Choo

jiekechoo avatar Nov 22 '24 07:11 jiekechoo

Hi @jiekechoo Could you provide reproduction steps on client side? What is the CPU usage at the time of observing this error? What are OVMS logs at time of this error?

atobiszei avatar Nov 22 '24 09:11 atobiszei

Hi @jiekechoo

Could you provide reproduction steps on client side?

What is the CPU usage at the time of observing this error?

What are OVMS logs at time of this error?

@atobiszei Thanks for your support.

  • CPU usage is less than 50%;
  • iGPU: <20%;
  • Memory: <30%;
  • OVMS and the gRPC client are two containers in the same machine;
  • the client has more than 30 calls in multiple threads , 2fps each call ;
  • at the first 24 hours maybe 30, it worked. I found that there was no inference result for the client, got the error;

I'll try to catch more logs by DEBUG level.

jiekechoo avatar Nov 23 '24 02:11 jiekechoo