Hi Chris

Sorry!!!
>    http://mama.tiddlyspace.com/

> is running code which is generating requests to the server that start
> like this:
>
> GET /bags/bauwebijl)*Mail%20*(@bauwebijl)*Mail%20*(@bauwebijl)......
> and go on for several _thousand_ more characters.
>
> This is the result of an exponential process of similar URIs being
> requested, looking like the above, each subsequent one getting bigger
> and bigger until the server declares that the URI is too long.
>
> Effectively the code is doing the equivalent of fork-bombing the
> server, so please fix it :)
>
> If its not fixed soon and it starts having a significant impact on
> server performance I'll have to go in and remove the offending tiddler
> myself.

I *did* observe a significant slowdown of my userspace - which I have
*not* experienced in any other space where I included @mailbox...
It happened after I added this line:
 _limit:20&select=bag:!%0_public&select=modified:>7d
to this:
<<tsScan url:"/search?fat=y&q=tag:@$1" fat:y
template:"MailBox##message">>
resulting in this:
<<tsScan url:"/search?fat=y&q=tag:@$1 _limit:20&select=bag:!
%0_public&select=modified:>7d" fat:y template:"MailBox##message">>

Working with this template:
/%
!message
<<image http://$1.tiddlyspace.com/bags/$1_public/tiddlers/SiteIcon 24
24>> @$1 wrote a message :)
<<view title wikified "[[%0]]@$1">>
<<<
<<view text wikified "%0">>
<<<
!end %/

----

Should I change my code in some way - Is there some kind of loop
effect which is built into my application or should I just tell people
not to include it because it is introducing a potential risk of
"killing" the server??

I disincluded the @mailbox from @mama - however I'm not sure if it's
enough??

Should I do more? - I wonder if I should flush all plugins and scripts
from my userspace and start all over, just to be able check if it's
allright to use @mailbox in your own userspace - or if it HAS to be
used in other subspaces....

Cheers Måns Mårtensson

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to