Skip to content

Commit

Permalink
Fix too many open files error. resolves #983 (#1033)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilike2burnthing committed Jan 7, 2024
1 parent a4d42d7 commit 993b8c4
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v3.3.13 (2024/01/07)

* Fix too many open files error

## v3.3.12 (2023/12/15)

* Fix looping challenges and invalid cookies
Expand Down
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,17 @@ ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["/usr/local/bin/python", "-u", "/app/flaresolverr.py"]

# Local build
# docker build -t ngosang/flaresolverr:3.3.12 .
# docker run -p 8191:8191 ngosang/flaresolverr:3.3.12
# docker build -t ngosang/flaresolverr:3.3.13 .
# docker run -p 8191:8191 ngosang/flaresolverr:3.3.13

# Multi-arch build
# docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# docker buildx create --use
# docker buildx build -t ngosang/flaresolverr:3.3.12 --platform linux/386,linux/amd64,linux/arm/v7,linux/arm64/v8 .
# docker buildx build -t ngosang/flaresolverr:3.3.13 --platform linux/386,linux/amd64,linux/arm/v7,linux/arm64/v8 .
# add --push to publish in DockerHub

# Test multi-arch build
# docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# docker buildx create --use
# docker buildx build -t ngosang/flaresolverr:3.3.12 --platform linux/arm/v7 --load .
# docker run -p 8191:8191 --platform linux/arm/v7 ngosang/flaresolverr:3.3.12
# docker buildx build -t ngosang/flaresolverr:3.3.13 --platform linux/arm/v7 --load .
# docker run -p 8191:8191 --platform linux/arm/v7 ngosang/flaresolverr:3.3.13
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flaresolverr",
"version": "3.3.12",
"version": "3.3.13",
"description": "Proxy server to bypass Cloudflare protection",
"author": "Diego Heras (ngosang / [email protected])",
"license": "MIT"
Expand Down
1 change: 1 addition & 0 deletions src/undetected_chromedriver/dprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ def start_detached(executable, *args):
# close pipes
writer.close()
reader.close()
process.close()

return pid

Expand Down

1 comment on commit 993b8c4

@ilike2burnthing
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.