I've read about it, but never seen it in practice when I've gone out in the ocean. I think it dates back to some ship(s) that entered port carrying bananas and the crew was dead. I think it has something to do with spiders in the crates or something of that sort.
I saw something once where a captain in some fishing competition would walk around and throw bananas into the boats of other people as a joke.