I used to have the kinds of throttle controls where I could set trigger points, etc. Since the upgrade to 4.6 (and 4.6.1 and 4.6.2) I've lost most of those controls. Now, under admin/settings/throttle I have only:

Auto-throttle on anonymous users:
[ ]
The congestion control throttle can be automatically enabled when the number of anonymous users currently visiting your site exceeds the specified threshold. For example, to start the throttle when your site has 250 anonymous users online at once, enter '250' in this field. Leave this value blank or set to "0" if you do not wish to auto-throttle on anonymous users. You can inspect the current number of anonymous users using the "Who's online" block.

Auto-throttle on authenticated users:
[ ]
The congestion control throttle can be automatically enabled when the number of authenticated users currently visiting your site exceeds the specified threshold. For example, to start the throttle when your site has 50 registered users online at once, enter '50' in this field. Leave this value blank or set to "0" if you do not wish to auto-throttle on authenticated users. You can inspect the current number of authenticated users using the "Who's online" block.
Auto-throttle probability limiter:
[ ]

Conspicuously missing is the auto-throttle multiplier control. I have 2 sites upgraded from 4.5.x and 2 sites that were clean installs of 4.6, and none has any throttle controls beyond what's quoted above. Nor is there an "enable throttle" control in the settings. Nor is there a throttle block.

I thought that was by design, until I read http://drupal.org/node/4342. What is in the documentation is not in the module.

Today I realized that it was the throttle was taking down my site way too often, and so I sought to change the settings. But I still cannot find the settings mentioned in http://drupal.org/node/4342. They used to be there, but not now since 4.6. I've checked access controls (and there are none for throttle). I've enabled statistics and access log.

This seems to be an error in the module, or else a sorely mistaken programming decision. The consequence seems to be that if my traffic has a modest spike, throttle kicks in without my ability to control the multiplier settings. I am going to have to disable the throttle if I can't find a fix.

Thanks.

Comments

tlindgren’s picture

I've run into the same problem. Any idea what's causing this?

Tim

rubensa’s picture

I've got the same problem with a new Drupal installation.

I'm following Drupal Handbook (Configuration and customization) from 5 Jul 2005 and can't follow "Congestion control tuning: the auto-throttle" instructions cause there is no "throttle status" block.

If I enable throttle module the site stops working for anonymous access.

Some times blank page, others I get errors like these:
\bootstrap.inc on line 335

Notice: Undefined index: system in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 93

Notice: Undefined index: throttle in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 335

Notice: Undefined index: user in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 335

Notice: Undefined index: user in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 93

Notice: Undefined index: watchdog in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 335

Notice: Undefined index: watchdog in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 93
HTTP/1.1 304 Not Modified
Date: Wed, 27 Jul 2005 08:18:00 GMT
Server: Apache/1.3.33 (Win32) PHP/4.3.11
X-Powered-By: PHP/4.3.11
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Content-Type: text/html

Notice: Undefined index: module in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 86

Notice: Undefined index: module in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 335

Notice: Undefined index: filter in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 93

Notice: Undefined index: statistics in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 335

Notice: Undefined index: system in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 335

Notice: Undefined index: system in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 93

Notice: Undefined index: throttle in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 335

Notice: Undefined index: user in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 335

Notice: Undefined index: user in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 93

Notice: Undefined index: watchdog in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 335

Notice: Undefined index: watchdog in c:\archivos de programa\apache group\apache\htdocs\drupal-4.6.2\includes\bootstrap.inc on line 93

NOTE: I'm using Spanish translation

rubensa’s picture

I've found that error messages where produced due cache enabled on settings (they where not related with throttle).

The other problems still aplly.

rubensa’s picture

Version: 4.6.0 » 4.6.2

I looked at CVS revisions of '/drupal/modules/throttle.module' and noticed that "throttle_block" function disapeared from Revision 1.41 to 1.42.

Either It disapeared by error or throttle documentation is completly obsolete.

killes@www.drop.org’s picture

Project: Drupal core » Documentation
Component: throttle.module » Admin Guide

the throttle settings have been simplified. The docs shoudl be updated.

Tresler’s picture

Assigned: Unassigned » Tresler
Status: Active » Closed (won't fix)

Getting an access denied on the referenced documentation page. If you can show me where I need to fix it, I'll dive right in.