Topic: Cache memory size

Hi,
I just had a DDOS attack not the server, and now it seems like there cache has grown a bit too large. I keep getting this error:
"Allowed memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /var/www/forum/cache/cache_bans.php on line 19929".

Is there a way to reset the cache, or should this be fixed some other way?

Re: Cache memory size

How many records contained in the bans table?
You want to ban people based on their ip? If yes, that ban their ip through the .htaccess file.

Parserus, UserAgentAnalyzer.
I speak only Russian  :P

Re: Cache memory size

Thanks for answering.

Banning people posting spam have been used a lot by the administrators. I see now that the list contains around 6000 bans. This is mainly on email-username. We have given up banning ip-addresses a long time ago.

Would it be better deleting the accounts? Some of them are very old, so I guess the block on their email have little effect.

Re: Cache memory size

Remove all the banned users.
Clean the bans table in the database.
Delete the bans.php file in the cache folder.
Use the expansion forbidding registration of bots.

Parserus, UserAgentAnalyzer.
I speak only Russian  :P

Re: Cache memory size

Thanks.

Two more questions:
* It is a lot of bans to remove. Would just clearing the table be sufficient, are are these also referenced elsewhere?
* What expansion for 1.4 prevents bots from registering?