As the title says, any time the server restarts items like pumpkins, berries, and ore become separated into those acquired before restart, and those acquired after. The two categories will not stack with each other at all, not even to vanilla stack size.