What does "Bad file descriptor" mean

i use php-client write binary data into aerospike , and i get the error “Bad file descriptor” how to fix it

I’d like a description of what binary data you’re writing using the PHP client. Can you provide a code sample?

In general, we have run into a problem with binary strings that have the null byte (\0) in the middle. That will cause the string to be truncated. There’s a workaround describe (till we get an actual solution in place). See: Handling unsupported types in the PHP client’s GitHub repo.