You have a large number of rules and the question is if increasing this parameter could cause issues in the future or could cause performance server degradation.
max_regular_file_rules = 35000;
max_generic_file_rules = 35000;
PAMSC 14.1
There isn't a strict limit for 'max_regular_file_rules parameter' token. The number is primarily used for memory allocation for the file table.
You can set `max_regular_file_rules` to a large number, provided your system can handle the load. If you're not encountering startup issues, then the current setting should be fine. However, processing a very large number of files during every file access can impact performance. The optimal number really depends on your server's computing capacity.
Regarding `max_generic_file_rules`, you can also set this to a high number, but it's advisable to avoid adding too many generic file rules. Locating a matching pattern within generic rules is generally CPU-intensive.