close quarters

[close quarters] {n. phr.} Limited, cramped space.

With seven boy scouts in a tent, they were living in very close quarters.