The [Giant Spider](http://www.d20pfsrd.com/bestiary/monster-listings/vermin/spider/giant-spider/) is immune to all mind-affecting spells. To me this seems arbitrary and I was wondering if there was a in-world justification for it, or if it's a reference to some other story or mythological character, or a reference to some aspect of spider biology.