Hi @maxxer ,
Welcome to Google Cloud Community!
Here are some possible reasons and troubleshooting that may help you further to debug the issue:
If the issue still persists and you need further assistance, you can file a ticket with our Google Cloud Support.
I hope the information above is helpful.
Hi Kensan, thank you for your reply.
The NFS shares are actually mounted, and I can access them from within the app. But occasionally I get the NFS mount error in the logs, and I cannot figure out where it comes from. As I said, the NFS works and it's correctly mounted.
My guess is that the NFS server is not able to handle the client capacity, but the application is very low traffic and it shouldn't really create an overload on the NFS server. It has a server load around 0.10 and 30% RAM occupation. I also increased the number of NFS threads from the default 8 to 24, but nothing changed.
I did some debugging on the NFS side, I increased grace and reduced lease, increased threads number but the issue persists.
I've set the maximum number of CR instances to be 1, to exclude overload or concurriencies that could somehow impact the NFS server, but no change.
Around every ~3/4 minutes I get the error in the Cloud Run logs. It seems like when CR spins up a new container or recycle existing ones the error is thrown.
As said, running container have no problems in mounting and accessing the NFS positions.
I solved with the help of this thread: modify the firewall rule to use a subnet instead of a network tag as a source.