Well, I eliminated the regular expressions and changed the timeout value on http to 5000 and the max delays to 5 and although I still have some task running slower and I am getting a few more timeout errors (which is ok for what I am doing) it seems to have moved beyond the point at which it was failing. As soon as I get this running automatically in production I am going to try and implement the 339 patch.

Dennis

Andrzej Bialecki wrote:
Dennis Kubes wrote:
I moved off of the most recent dev branches for our "production" system and put them on the release version for 0.8. I only noticed it recently although it may have been happening before and I just didn't notice it. The one change that I did do that may have made it worse was I removed the crawl-url filter regular expressions for [EMAIL PROTECTED] and

This shouldn't be a problem unless your fetcher hangs on regex processing. This is relatively easy to check - pick up one of the remaining longer-running tasks and do a couple of thread dumps, you will see what occupies most of the time; if you can hook up a profiler in a fast-sampling mode then it's even better ...

-.*(/.+?)/.*?\1/.*?\1/. Andrzej , didn't you say awhile back when we were looking at regular expressions for a different stalling problem that you don't use these in your production systems?

True, I don't - I'm using only a combination of prefix/suffix filters. Prefix filters give me the domains of interest, and suffix filters give me (more or less) mime types I'm interested in. Any other border cases I can hardcode in a separate urlfilter, thus avoiding regexes completely.

Reply via email to