← Winnitude! Search  ·  Reader Mode (1345 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 14 LINKS

kill_after_timeout watchdog is not able to kill the nested git processes · Issue #895 · gitpython-developers/GitPython

Repository navigation

kill_after_timeout watchdog is not able to kill the nested git processes  #895


New issue

New issue

Closed as not planned
Bug
Closed as not planned
kill_after_timeout watchdog is not able to kill the nested git processes #895 Bug Labels
acknowledged

help wanted

tag.leaks

Description

@eekwong's profile eekwong opened on Jul 17, 2019

I am using GitPython 2.0.2.

While having kill_after_timeout in the pull()
e.g. g.pull(kill_after_timeout=10)

Before the process killing, there were four processes running:

  1. git pull
  2. git fetch
  3. git-remote-http
  4. git fetch-pack

After the timeout, (3) and (4) remained.

Should _kill_process() be recursively called like the following?

                    if local_pid.isdigit():
                        _kill_process(local_pid) # is it necessary?
                        child_pids.append(int(local_pid))

Metadata

Metadata

Assignees

No one assigned

    Labels


    acknowledged

    help wanted

    tag.leaks

    Type

    Bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions