I personally just spray with neem oil. Smells like shit but it works. Every time I see a gnat fly around I spray the tops of the soil, pots, ground, walls, plants and there all gone within a day.
Your going to have to start spraying with somthing, hit them hard and spray weekly once you get a hold of your infestation and your split is fine, it'll heal.