There are no repeated lines, and yes... The file is rather large for an .htaccess file (iThemes Security rules for WordPress). I'd like to know where I can change the limit warn to trigger at a larger size, like maybe 250K?
There's no .htaccess file that is 250k. I was just curious if I can up the warn trigger so it warns when a file is larger than 250k, that's all. In other words, I want to suppress the warning for .htaccess files smaller than 250K instead of having it warn for 100K.
I think no such option(100K or 250K etc) at current version.
this is a limit in recent version .... one or 2 users has very large .htaccess file( some lines duplicated many times) and it has caused 100% CPU of litespeed process. so developer has added this limit to avoid this 100% CPU issue. it looks like 100K is big enough but from this case you reported, it has blocked a normal .htaccess ... let's work out a more reasonable solution after investigating this exception. I'll leave our developer to answer this thread. I think if we can get a copy of this .htaccess and read it, it'll give us an idea how big a normal .htaccess can be and the better solution for this issue.
And absolutely, a large .htaccess file is always a bad, bad idea! But this will help keep the error log a little bit smaller while I deal with the customer who's htaccess file is too large!
We're running into a similar issue. The .htaccess file is 2.3 MB and it's about 90K lines log. Not getting the warning messages, but most of the pages on the site come up with 404 / not found. If you trim down the .htaccess it works fine.
There are no duplicate lines. It's almost all deny ##.##.##.##/## as it's an e-commerce site and they are trying to block non-us orders.