Answer the question
In order to leave comments, you need to log in
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
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.
In the list of agents, does this one CEventLog::CleanUpAgent()
(or CEvent::CleanUpAgent()
) run regularly?
Decrease the value of the parameter mail_event_period
for the module main
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question