Hidden directories are unstable when running in one instance

When I run multiple instances of tor (about 400), hidden directories work stably, without any problems, circuits work stably, domains are always available. But when I run multiple domains on one instance (for example 100), in this case, instability of hidden directories appears and domains either partially or completely stop working, after some time (there are no exact intervals) and I have to restart the tor instance.

In the logs, I see the following warnings:

{"log":"Aug 17 02:03:36.000 [notice] While not bootstrapping, fetched this many bytes: 2649946 (consensus network-status fetch); 1773 (authority cert fetch); 12103322 (microdescriptor fetch)\n","stream":"stdout","time":"2024-08-17T06:03:36.967393739Z"}
{"log":"Aug 17 02:03:36.000 [notice] Heartbeat: Our onion services received 513 v3 INTRODUCE2 cells and attempted to launch 539 rendezvous circuits.\n","stream":"stdout","time":"2024-08-17T06:03:36.967399561Z"}
{"log":"Aug 17 02:33:36.000 [notice] Your network connection speed appears to have changed. Resetting timeout to 60000ms after 18 timeouts and 1000 buildtimes.\n","stream":"stdout","time":"2024-08-17T06:33:36.715855803Z"}
{"log":"Aug 17 03:06:20.000 [notice] Your network connection speed appears to have changed. Resetting timeout to 60000ms after 18 timeouts and 828 buildtimes.\n","stream":"stdout","time":"2024-08-17T07:06:20.901128459Z"}
{"log":"Aug 17 03:16:16.000 [notice] Your network connection speed appears to have changed. Resetting timeout to 60000ms after 18 timeouts and 147 buildtimes.\n","stream":"stdout","time":"2024-08-17T07:16:16.947687418Z"}
{"log":"Aug 17 03:48:21.000 [notice] Your network connection speed appears to have changed. Resetting timeout to 60000ms after 18 timeouts and 594 buildtimes.\n","stream":"stdout","time":"2024-08-17T07:48:21.73015886Z"}
{"log":"Aug 17 04:58:55.000 [notice] Your network connection speed appears to have changed. Resetting timeout to 60000ms after 18 timeouts and 1000 buildtimes.\n","stream":"stdout","time":"2024-08-17T08:58:55.99693201Z"}
{"log":"Aug 17 05:07:34.000 [notice] Your network connection speed appears to have changed. Resetting timeout to 60000ms after 18 timeouts and 230 buildtimes.\n","stream":"stdout","time":"2024-08-17T09:07:34.810606998Z"}
{"log":"Aug 17 05:11:46.000 [notice] Failed to find node for hop #1 of our path. Discarding this circuit.\n","stream":"stdout","time":"2024-08-17T09:11:46.77524454Z"}
{"log":"Aug 17 05:11:47.000 [notice] Our circuit 0 (id: 543413) died due to an invalid selected path, purpose Hidden service: Uploading HS descriptor. This may be a torrc configuration issue, or a bug.\n","stream":"stdout","time":"2024-08-17T09:11:47.843348802Z"}
{"log":"Aug 17 05:14:29.000 [notice] Failed to find node for hop #1 of our path. Discarding this circuit.\n","stream":"stdout","time":"2024-08-17T09:14:29.736310468Z"}
{"log":"Aug 17 05:17:34.000 [notice] Failed to find node for hop #1 of our path. Discarding this circuit.\n","stream":"stdout","time":"2024-08-17T09:17:34.499598352Z"}
{"log":"Aug 17 05:21:03.000 [notice] Failed to find node for hop #1 of our path. Discarding this circuit.\n","stream":"stdout","time":"2024-08-17T09:21:03.21144805Z"}
{"log":"Aug 17 05:24:04.000 [notice] Failed to find node for hop #1 of our path. Discarding this circuit.\n","stream":"stdout","time":"2024-08-17T09:24:04.283931534Z"}
{"log":"Aug 17 05:26:51.000 [notice] Failed to find node for hop #1 of our path. Discarding this circuit.\n","stream":"stdout","time":"2024-08-17T09:26:51.466067905Z"}
{"log":"Aug 17 05:29:52.000 [notice] Failed to find node for hop #1 of our path. Discarding this circuit.\n","stream":"stdout","time":"2024-08-17T09:29:52.828399276Z"}
{"log":"Aug 17 05:29:55.000 [notice] Your network connection speed appears to have changed. Resetting timeout to 60000ms after 18 timeouts and 1000 buildtimes.\n","stream":"stdout","time":"2024-08-17T09:29:55.05423877Z"}
{"log":"Aug 17 05:36:16.000 [notice] Failed to find node for hop #1 of our path. Discarding this circuit.\n","stream":"stdout","time":"2024-08-17T09:36:16.947118757Z"}
{"log":"Aug 17 05:36:55.000 [notice] No circuits are opened. Relaxed timeout for circuit 547601 (a Measuring circuit timeout 3-hop circuit in state waiting to see how other guards perform with channel state open) to 60000ms. However, it appears the circuit has timed out>

Are there any recommendations or additional parameters that need to be written in the file torrc to increase the stability of hidden directories?

What does this error mean and are there any ways to fix it:

hello,

its seems from the log that your ‘torrc’ hidden_service path is in correct
please check your port and directory of service if correct.

best regards

Thanks for the answer, but all the settings are fine. I noticed that if you set the UseEntryGuards 0 setting, then all domains start working stably and never crash. But it is not safe to use this, what should I do in this case? It turns out that the guard nodes affect the stability of the domains, maybe there is some way out of this situation?