bbrf-client: [Issue] Problem loading big amount of domains
I’m trying to add a big program, around 5.5 million domains, the inscope and outscope are big also.
I don’t know why it’s failing, this is what I tried:
cat domains-big.txt | bbrf domain add - -s subfinder --show-new
Doesn’t add any domain nor output any error.
If I do this sed -n '50001 ,100000p' domains-big.txt| bbrf domain add - -s subfinder --show-new
I get this error “[ERROR] local variable ‘success’ referenced before assignment”
The same error doing:
awk 'NR > 50000 && NR <= 100000' domains-big.txt | bbrf domain add - -s subfinder --show-new
Any idea why this might happen?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (11 by maintainers)
Yup, 1.1.2 & 1.1.3 give me both the same error. At first I thought it’s something to do with subfinder but then I tried chaos, enabled the debug and figured it’s bbrf. I’m not sure if it’s the client or the server though. Here’s the full output, maybe it helps.
There was a bug in the
--show-new
flag that I have silently fixed yesterday in v1.1.3However, that is probably unrelated to the large input failing. I’ll run some local tests to see if there’s a size limit on couchdb. I can imagine maybe it times out when the input is too large.