Hello,
I ran into a problem with saving when creating custom rules. When I try to save I get the following error message:

The changes I tried to save in custom rolls are discarded and the last working configuration is loaded.
Occasionally after these errors happen, the API completely drops out and the whole wazuh manager is down for a while:
Have you ever encountered such limits when creating your own rules?
There are no errors in /var/ossec/logs/ossec.log.
I have some warnings in /var/log/filebeat/filebeat, but no ERROR errors.
The installed version of the manager and dashboard is 4.7.3. They are installed separately.
But I noticed that some of our Linux agents have updated to version 4.7.4. Apparently auto update is not turned off on the endpoints. Can this cause such problems?
Wazuh-server has 8CPU and 8GB RAM allocated.
Otherwise, I haven't noticed these problems elsewhere than when saving rules. That way, if I start a certain set of rules with an empty file, it's OK. As the number of rules in the file increases, saving slows down until it reaches this error stage. Basically, I can already tell that I'm approaching the ceiling and that maybe with the next rule there will be an error.
I've noticed that when I try to truncate the rules, one of the CPUs is at 100% usage:
If you do not manage to save the rules despite these problems, the same problems will occur when you try to restart the manager.
Please, can someone help me?