What's the resolution? How can the problem be solved?

Personally I see the general mass unskilled migration as dangerous but irrecoverable and it overshadows the 'legitimate' migration whether that's skilled, family, genuine asylum...