When trying to display a page of tags by vocab using /tagadelic/list/5,3,9,6,4,7,8 etc... it would 404 if there was more than 6. I tracked it down to the preg match {1,5}. I changed it to {1,50} and now more than 6 vocabs show up.

Comments

Bèr Kessels’s picture

Status: Active » Closed (works as designed)

This is by design. Large sets are so heavy for your system, that this becomes a DOS problem. I can bring down your server now, by requesting 1000nds of pages with 50 chunks or lists in them in a short timespan.

AstralP’s picture

Hi again Bèr (3rd time today)

ahhh, I'll bear that in mind, I only actually needed one more. Does the page in question respond to drupals page caching system when enabled?

Bèr Kessels’s picture

Yes. Pages are cached. But chances are near nil that a cache of any combination of fifty vocs will be hit twice.
1+2+3 is not 1+3+2 that makes (If I recall my math correct) 50! = 0,3036 * 10^65 (approx a 3 with 64 zero's) That will fill up your cache pretty fast :p