to be in a very bad state and about to fail
University lecturers have given a warning that Britain's university system is indanger of coming apart at the seams because of cuts in government funding.
to behave in a strange or illogical way, because you are under severe mental strain
He stood for a moment, breathing deeply; he was coming apart at the seams, somethinghe had never thought would happen to him.