This is probably a bug: 2,500 messages out and 0 messages in.
This is only used on the status page, so it doesn't actually affect anything.
Interesting, the log line placed just before incrementing the messages.in variable is executed (a lot) but the variable stays at 0. I'll have a look.
Working at HEAD. Thanks again!