#Bad file descriptor

31 messages · Page 1 of 1 (latest)

mossy trench
#

I deployed several CPU pods with a network volume, and at first, they work well.
But after a few hours, with some of them, I get a "Bad file descriptor" error when I try to access "/workspace"

steep fjordBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

west ermine
#

Bad file descriptor; for example, I/O on a descriptor that has been closed or reading from a descriptor open only for writing (or vice versa). There are no child processes. This error happens on operations that are supposed to manipulate child processes, when there aren't any processes to manipulate.

#

this may help

west ermine
mossy trench
#

I am not sure what things I did wrong. I simply ran the script in /workspace dir(network volume) with pm2. After after a few hours, pm2 couldn't find the script and I can not access to "/workspace"

silk blade
#

Which region is your network strorage in?

#

Sounds like there may have been an issue with the network storage.

mossy trench
#

CPU pods are only available with network volumes in EU-RO-1 , arent they?

west ermine
#

Yep last time I checked it's only available in 1 region

#

So you lost your files too?

#

You can't access the files from command line?

mossy trench
#

I can still use the network volume with another pod, but I can't run the process consistently on a certain pod.
I wanna make multiple pods to run the same script on one network volume. is this possible?
not only some of CPU pods, but all CPU pods makes "bad file descriptor error".

west ermine
#

Multiple pods can use t he same network volume

#

might be a network volume problem, try contacting support for that like from the webchat or emails

steady siren
#

I am facing the same issue. 3 pods, same network volume. On 1, I get a bad file descriptor when doing a 'ls /workspace'. The same volume works as expected on the other 2 pods.

silk blade
#

@mossy trench 's issue is RO, I didnt see @steady siren say their region.

west ermine
#

oh hes a diff guy

#

same pp hahah sry

steady siren
#

Yes, RO

west ermine
#

oh same region

silk blade
#

Must be some issue with the network storage in RO, but I can't replicate it on a pod or 2 different endpoints that have network storage in RO

mossy trench
#

Thanks, guys, so can I use CPU pods with network volume safely?
and which region is available for CPU pods with network volume?

west ermine
#

Yeah

west ermine
#

Whichever region works when it's available

west ermine
#

Is this bad file descriptor still an issue?