# StatusCode.RESOURCE\_EXHAUSTED

**URL:** <https://discuss.ray.io/t/statuscode-resource-exhausted/4379>\
**Category:** Ray Tune\
**Created:** [December 7, 2021, 6:16am UTC](https://discuss.ray.io/t/statuscode-resource-exhausted/4379 "2021-12-07T06:16:34Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![tigertimwu](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/tigertimwu/32/2482_2.png) [@tigertimwu](https://discuss.ray.io/u/tigertimwu)\
**Post date:** [May 4, 2022, 1:35pm UTC](https://discuss.ray.io/t/statuscode-resource-exhausted/4379/16 "2022-05-04T13:35:15Z")

</div>

Updated, I run the code again and I think I got the same error as naadvar got.

error

```auto
Traceback (most recent call last):
  File "/home/tigertimwu/anaconda3/lib/python3.9/site-packages/IPython/core/interactiveshell.py", line 3444, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-2-44929bcce122>", line 1434, in <module>
    full = XGBoostModel(**params1 | bb).create_tuned_base_model()
  File "<ipython-input-2-44929bcce122>", line 825, in create_tuned_base_model
    best_params, best_result = self.hyper_tune_model()
  File "<ipython-input-2-44929bcce122>", line 804, in hyper_tune_model
    analysis = tune.run(
  File "/home/tigertimwu/anaconda3/lib/python3.9/site-packages/ray/tune/tune.py", line 470, in run
    experiments[i] = Experiment(
  File "/home/tigertimwu/anaconda3/lib/python3.9/site-packages/ray/tune/experiment.py", line 176, in __init__
    raise e
  File "/home/tigertimwu/anaconda3/lib/python3.9/site-packages/ray/tune/experiment.py", line 164, in __init__
    self._run_identifier = Experiment.register_if_needed(run)
  File "/home/tigertimwu/anaconda3/lib/python3.9/site-packages/ray/tune/experiment.py", line 353, in register_if_needed
    register_trainable(name, run_object)
  File "/home/tigertimwu/anaconda3/lib/python3.9/site-packages/ray/tune/registry.py", line 84, in register_trainable
    _global_registry.register(TRAINABLE_CLASS, name, trainable)
  File "/home/tigertimwu/anaconda3/lib/python3.9/site-packages/ray/tune/registry.py", line 168, in register
    self.flush_values()
  File "/home/tigertimwu/anaconda3/lib/python3.9/site-packages/ray/tune/registry.py", line 190, in flush_values
    _internal_kv_put(
  File "/home/tigertimwu/anaconda3/lib/python3.9/site-packages/ray/_private/client_mode_hook.py", line 105, in wrapper
    return func(*args, **kwargs)
  File "/home/tigertimwu/anaconda3/lib/python3.9/site-packages/ray/experimental/internal_kv.py", line 88, in _internal_kv_put
    return global_gcs_client.internal_kv_put(key, value, overwrite, namespace) == 0
  File "/home/tigertimwu/anaconda3/lib/python3.9/site-packages/ray/_private/gcs_utils.py", line 104, in wrapper
    return f(self, *args, **kwargs)
  File "/home/tigertimwu/anaconda3/lib/python3.9/site-packages/ray/_private/gcs_utils.py", line 195, in internal_kv_put
    reply = self._kv_stub.InternalKVPut(req)
  File "/home/tigertimwu/anaconda3/lib/python3.9/site-packages/grpc/_channel.py", line 944, in __call__
    state, call, = self._blocking(request, timeout, metadata, credentials,
  File "/home/tigertimwu/anaconda3/lib/python3.9/site-packages/grpc/_channel.py", line 924, in _blocking
    raise rendezvous # pylint: disable-msg=raising-bad-type
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.INTERNAL
	details = "Exception serializing request!"
	debug_error_string = "None"
>

```

---

_[View the full topic](https://discuss.ray.io/t/statuscode-resource-exhausted/4379)._
