Might this large traffic consist of the Manager trying to update the unread messages? I found this bit of javascript in [tt]manager/frames/menu.php[/tt] starting at line 31:
function updateMail(now) {
try {
// if 'now' is set, runs immediate ajax request (avoids problem on initial loading where periodical waits for time period before making first request)
if (now) new ajax('index.php', {postBody:'updateMsgCount=true', onComplete:showResponse}).request();
new ajax('index.php', {postBody:'updateMsgCount=true', onComplete:showResponse}).request.periodical(<?php echo $modx->config['mail_check_timeperiod'] * 1000; ?>);
return false;
} catch(oException) {
xx=window.setTimeout('updateMail()', 1000);
}
};To me, this looks like a memory leak. Since every time [tt]updateMail[/tt] is called a
new periodical request is generated and sent to the server. I discovered that the [tt]updateMail[/tt] function is called EVERY time a new manager page is loaded. So as you can see, this could lead to some very high traffic on the index.php page.
By the way, I fixed this leak in the most recent 095dev branch revision. (see
this thread for more info)
I might point it out once again that I’m a total n00b when it comes to Javascript (and more so with Ajax!), so this might not even be a memory leak.