Every morning flem or mucus I spit out as soon as I wake lasting about a half hour to forty five minutes. I've had about 6mo. What could it be.

Productive cough. Productive cough of large amounts of phlegm esp early in the morning is characteristic for bronchiectasis. It might be chronic bronchitis as well esp if there is a long history of smoking. This needs to be evaluated by a specialist.