View Single Post
Old 6th August 2012, 17:41
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts

From your daily_cron.php, you are calculating mail traffic saving data to the master db:
Thats correct and intended. The stats are only shown on the master so they are saved on the master. If you would save them on the slave, nobody would be able to see them.

ow, from the interface code (mail_user_stats.php), you are quering the local server and not the master:
Thats correct as well. The only server that runs a interface in a ISPConfig cluster is the master servers, so when you query the local database in the interface, the amster is queried.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from

Last edited by till; 6th August 2012 at 17:43.
Reply With Quote