Closed GoogleCodeExporter closed 9 years ago
Hi,
Can you attach your controller and MyCrawler source files.
Thanks,
Yasser
Original comment by ganjisaffar@gmail.com
on 4 Oct 2010 at 7:51
Hey,
MyCrawler --> The Crawler Class that contains visit and shouldVisit Methods
MyCrawlerHandler --> The Controller Class that initiates MyCrawler (Crawler
Class)
Thanks
Original comment by hafez.khaled
on 5 Oct 2010 at 6:41
Attachments:
Dear Yasser,
I knew the problem. I think there is some kind of limitation on the number of
crawlers running at the same time, I think it's related to DB access (ex.
Number of Users that can access DB a time). I think it's limited to 15 users
only (that means 15 crawlers at the same time).
The problem is that i was running about 35 Crawler at the same time and at some
point in running (this point randomly happen because it requires delay in DB
access regardless syncing or not). So, i narrowed the number of crawlers to 15
and it's running perfectly.
I request, If you can modify "crawler4j.properties" to support the number of
users that can access the db at the same time.
Note: Please, test what i am saying and correct me if i am wrong.
Thanks
Original comment by hafez.khaled
on 11 Oct 2010 at 8:52
Original comment by ganjisaffar@gmail.com
on 12 Mar 2011 at 12:03
I had the same error, I fixed it adding: controller.shutdown() and
controller.waitUntilFinish() at the and of each Crawler cycle. (My crawler was
into a while(true) condition).
Original comment by corti.ri...@gmail.com
on 9 Jul 2013 at 12:19
Original issue reported on code.google.com by
hafez.khaled
on 4 Oct 2010 at 10:12