A YouTube video thought to be linked to the shootings in California sees a young man claiming he will get "retribution" for a lack of interest shown in him by women.
The footage shows a young man complaining that it is "unfair" that he is still a virgin before threatening a mass slaughter of college students and Isla Vista residents.
"It's obviously the work of a madman," the sheriff said of the shooting. "There's going to be a lot more information that will come out that will give a clearer picture of just how disturbed this individual was."
More top news
David Cameron sets out his case for British jets and drones to strike so-called Islamic State targets in Syria in an address to the Commons.
A drink-driver who "destroyed the lives" of two mothers was allowed to have his curfew lifted so he could go on a foreign stag party.
Demonstrators have blockaded the entrance tunnel to Heathrow Airport in apparent protest at plans to build a third runway.