Mayor Gary McCarthy said "pop-up parties" have been a consistent problem in the city, but social media has made crowds larger and more problematic.