limit msgs for maxevents = -1