Code Monkey home page Code Monkey logo

Comments (3)

plamut avatar plamut commented on June 24, 2024 1

@megancooper This is more of an educated guess, but the following bit indeed seems relevant:

  ...
  File "/home/hadoop/conda/lib/python3.7/threading.py", line 852, in start
    _start_new_thread(self._bootstrap, ())
RuntimeError: ("can't start new thread", 'occurred at index 0')

An error is raised when Python cannot start a new thread. Since you mention a high number of executors, could it be that a max thread limit is hit and no more threads can be created?

You could log the number of active threads at key points in the program and see if the number gets too high just before the crash?

import threading
threading.active_count()   # this should be logged

If there are indeed too many threads created, one possible would be reducing the number of concurrent queries or somehow throttle them (I'm not familiar with Spark, unfortunately).

from python-bigquery.

shell-no-shell avatar shell-no-shell commented on June 24, 2024

Hi, how do you solve this problem?

from python-bigquery.

meredithslota avatar meredithslota commented on June 24, 2024

Hi @shell-no-shell — we ended up closing this since the OP did not respond. If you have a similar issue, can you please file a new ticket (if you think it's a bug in the library) or a support issue (if it would require digging into project details, since we don't have access to that info here). Thanks!

from python-bigquery.

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.