T
T
theSobis2020-07-21 07:10:28
MySQL
theSobis, 2020-07-21 07:10:28

The site on bitrix inflates the b_event table, how to fix it?

In b_event there are logs of sent messages through the feedback form, someone added to prospam and now inflates the table from logs to several gigs per week. How to fix it (besides hanging captcha), disable logging?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Nikolaev, 2020-07-21
@gromdron

b_event stores outgoing email messages and cannot be disabled.
You can do:
1) Protect the feedback form
2) Reduce the storage time of the letter in b_event (main module settings).
To protect the feedback form, in addition to captcha, you can use:
- CSRF protection methods ( https://habr.com/en/post/318748/ )
- Secret inputs that are not filled in by the user (often robots fill them in)
These methods will protect you from most types of attacks, but in the case of targeted spam, this will not solve the problem.

A
Alexey Emelyanov, 2020-07-22
@babarun

In the list of agents, does this one CEventLog::CleanUpAgent()(or CEvent::CleanUpAgent()) run regularly?
Decrease the value of the parameter mail_event_periodfor the module main.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question