We have a foundation drain in our home that works OK. However, I've seen that over time it starts to accumulate this red colored sand deposited on top of the drain (where the gravel is), which slows the drainage of the water during heavy rain and causes it to spill onto part of our basement. The stone-foundation of the house is right next to the drain, so I'm thinking it's water from the foundation bringing deposits onto it.
Is there a way to prevent sand from depositing on top of the drain pipe?
Here is a picture after we removed the drywall and patched up foundation (I hired out for this). They also attached some 'water proofing shield' into the foundation, it routes the water into the drain. The drain is at the bottom there. I unfortunately don't have a photo of the drain as of right now because we closed up the wall.