I have a Ktor Native server using CIO and requests...
# ktor
j
I have a Ktor Native server using CIO and requests right after startup are failing due to:
Copy code
fork() failed to allocate the necessary kernel structures because memory is tight
Anyone have any ideas on what to do about that?
Note that in my handler code I'm doing the fork.
Added this retry around the forking code and it seems to be working better now: https://stackoverflow.com/a/46890009/77409
👀 1
e
Hey, could you issue on YT? It should be related to coroutines, I can take a look
j
What is tricky is that I can't reproduce this locally, only when I'm running in Google Cloud Run. I'll see if I can figure out some way to reproduce it locally.
🙏 1
e
Could it be a limitation of Google Cloud Run?