wdcollect keeps some time statistic information in his stack, then wdcollect try to save this data in mysql db. After data saving in mysql db this dwcollect stack is cleared.
This message "wdcollect[13359]: Statistics stack owerflow. Stack contains now 1000 unsaved entries, some of them will be removed" occurs if wdcollect couldn't connect to db and it try to connect to db again after unsuccessful connection.
To solve this problem I killed the running wdcollect process and init started wdcollect himself:
# tail -f /usr/local/psa/var/modules/watchdog/log/wdcollect.log
7200 Apr 5 09:54:34 [info] Service is being stopped
7200 Apr 5 09:54:34 [info] There are unsaved messages in the database messages queue. Trying to save the messages.
7200 Apr 5 09:54:34 [warning] There are unsaved messages in the database messages queue. All the unsaved messages will be discarded.
7200 Apr 5 09:54:34 [info] Server stopped
7200 Apr 5 09:54:34 [info] Language en-US is used for sending e-mail messages.
7200 Apr 5 09:54:34 [info] Database server connection has been established.
7200 Apr 5 09:54:34 [info] Server started.
But all statistics data from last days are lost.
I forwarded this issue to our developers to investigation.