I'm guessing that your cartridge is torn. and not filtering. When a cartridge is ready to be cleaned, you should have less or no flow, not dirty water. If you can, post the brand and model of your cartridge filter and pump. It's possible your pump is too strong for the filter, which would explain it being torn (the leaves and stuff should be in the pump's skimmer basket).

Carl