City Manager must take into account available supply when producing settlers.
He very often has seven or more settlers. In consequence there is no enough supply for military units. Besides too much production is invested in Settlers and additionally they require food as supply.