Giter VIP home page Giter VIP logo

Comments (7)

bfabio avatar bfabio commented on September 17, 2024 1

@sebbalex found out that we have orgs in manual-reuse.yml that are already in the onboarding list. That explains the locking of the repos because the crawler is trying to update the same local copy concurrently.

We need to:

  • Remove the duplicate orgs
  • Check for duplicates before starting the crawl process, for good measure.

from publiccode-crawler.

bfabio avatar bfabio commented on September 17, 2024

That caused by git not being able to connect to the repo: Failed to connect to github.com port 443: Connection timed out.

I think we are DoS-ing ourselves launching a go routine for every repo and getting starved for network bandwidth.

from publiccode-crawler.

bfabio avatar bfabio commented on September 17, 2024

@sebbalex IMO we can close this one. #189 and #191 solved the root cause and #188 now provides the complete error message.

from publiccode-crawler.

bfabio avatar bfabio commented on September 17, 2024

@sebbalex What errors are we getting lately?

from publiccode-crawler.

sebbalex avatar sebbalex commented on September 17, 2024

Issue is still there, today we got 6 repositories in error, detail:

time="2020-10-06T00:11:04Z" level=error msg="[UniversitaDellaCalabria/uniAuth] error while cloning: cannot git pull the repository: exit status 128: fatal: Unable to create '/var/crawler/data/repos/api.github.com/UniversitaDellaCalabria/uniAuth/gitClone/.git/index.lock': File exists.\n\nAnother git process seems to be running in this repository, e.g.\nan editor opened by 'git commit'. Please make sure all processes\nare terminated then try again. If it still fails, a git process\nmay have crashed in this repository earlier:\nremove the file manually to continue.\n"

from publiccode-crawler.

bfabio avatar bfabio commented on September 17, 2024

@sebbalex What's the timestamp of the lockfile?

from publiccode-crawler.

sebbalex avatar sebbalex commented on September 17, 2024

As we discussed offline I could not find any lock files in the disk. We need to dig deeper.

from publiccode-crawler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.