Open jaromil opened 10 years ago
What is your redirector_children set to? Try increasing the limit to see if it resolves the issue.
In 2.x, I set url_rewrite_children 40 to resolve the issue.
It doesn't solves here (stock Debian 7 components, including squid 2)
FATAL: The redirector helpers are crashing too rapidly, need help!
seems the helpers are too few because they crash on launch.
I'm not sure how to debug deeper their problem by running the perl script in a scaffolded way, without squid.
This thread may be helpful. http://marc.info/?l=squid-users&m=107185287327641&w=2
To test the perl script, simply su to the same user as the proxy and execute perl /path/to/script/squid.pl. This will let you know if there are any issues with executing the script.
did try that, script starts fine and "runs", basically doing nothing. Not sure how I can feed it urls..
will try squid -NDd1 now
Any luck with running squid in debug?
made some progresses in today's last commit. (there were some dowse related trivial permission problems to fix)
scaffolding debug works by piping urls into the generater perl handler, which takes some time to startup obviously, but then spits out a proper result.
lowering the children spawned it runs squid, but still when started from squid I cannot see results. started from commandline works.
I believe today's commits have removed all dowse related problems. are you running a working setup of this? which version of squid is used then?
I am running, 2.7.STABLE9-4.1 for packages on Squeeze. I have the latest https-everywhere and perl-HTTPSEverywhere git repos.
regarding this issue, I have a solution proposal that would benefit more than one software: can we make that perl script input the patterns into a key/value store like redis? if yes, the thing can really fly. it would fill it at start and then even more than an app can query it.
hi P. would you be interested in revamping this discussion? I see EFF still regards https-everywhere as a priority. I'm quite sure it wouldn't take much to refactor the perl parser in order to have it input values into a fast k/v storage like Redis, something that would make the mechanism much faster. I'm willing to work on this for Dowse and it would be much more fun to do it together with you.
I would be delighted to work with you on this. We might also want to include Mike Cardwell the original author of perl-https-everywhere as well. Drop me an email at marlowe@antagonism.org and we can get started.
@jaromil Shall we close this?
The new module can be enabled with a symlink in modules/enabled
libxml-libxml-perl must be installed and update-rules run in the same dir.
Then running Dowse start it will generate a perl file with all paths correct to the installation. Squid3 will be launched, but then quit. Here the log:
The generated perl module for squid is found in $DOWSE/run/squid-httpseverywhere.pm
I'm not sure how to run it standalone to have tests, or check its compatibility with Squid3. Needing some help.