OPEN_MAX problem