Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore sigpipe to prevent SIGPIPE in CloudSQLite which crashes the process #944

Merged
merged 6 commits into from
Jan 2, 2025

Conversation

nick4598
Copy link
Contributor

A couple of years ago we added Curlopt_nosignal to the requests sent by cloudsqlite (See forum post for more details. Shortly after we had SQLite team ignore SIGPIPE in the daemon because we were experiencing 141 exit codes in the daemon. 141 exit code is SIGPIPE.

Recently the hub team has been experiencing 141 exits in their v2 checkpoint creation job see ticket I created on their behalf.

SQLite team suggests signal(Sigpipe, sig_ign), so I've copied the way he did it in this commit.

No idea why we are suddenly experiencing this. Would appreciate any feedback on the appropriate place to put this line of code.

@nick4598 nick4598 changed the title Ignore sigpipe Ignore sigpipe to prevent SIGPIPE in CloudSQLite which crashes the process Dec 20, 2024
@nick4598 nick4598 enabled auto-merge (squash) December 20, 2024 21:01
@nick4598
Copy link
Contributor Author

@Mergifyio backport release/4.10.x

Copy link

mergify bot commented Dec 20, 2024

backport release/4.10.x

✅ Backports have been created

@nick4598 nick4598 merged commit 3574f5b into main Jan 2, 2025
19 checks passed
@nick4598 nick4598 deleted the nick/ignoresigpipe branch January 2, 2025 19:02
mergify bot pushed a commit that referenced this pull request Jan 2, 2025
…ocess (#944)

* ignore sigpipe: no idea if this is the appropriate place to do it

* update comment

(cherry picked from commit 3574f5b)
nick4598 added a commit that referenced this pull request Jan 3, 2025
…ocess (#944) (#949)

* ignore sigpipe: no idea if this is the appropriate place to do it

* update comment

(cherry picked from commit 3574f5b)

Co-authored-by: Nick Tessier <22119573+nick4598@users.noreply.github.com>
mergify bot added a commit that referenced this pull request Jan 3, 2025
…ocess (#944) (#949)

* ignore sigpipe: no idea if this is the appropriate place to do it

* update comment

(cherry picked from commit 3574f5b)

Co-authored-by: Nick Tessier <22119573+nick4598@users.noreply.github.com>
(cherry picked from commit 317de9c)
nick4598 pushed a commit that referenced this pull request Jan 3, 2025
…ocess (#944) (#949) (#950)

* ignore sigpipe: no idea if this is the appropriate place to do it

* update comment

(cherry picked from commit 3574f5b)

Co-authored-by: Nick Tessier <22119573+nick4598@users.noreply.github.com>
(cherry picked from commit 317de9c)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants