The inability to take food by mouth, pass gas, and have a bowel movement is a common problem that usually lasts not more than 3 days. When it lasts more than 4 days it’s called prolonged postoperative ileus. It’s uncomfortable and potentially dangerous.