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 (backport #944) [release/4.10.x] #949

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jan 2, 2025

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.


This is an automatic backport of pull request #944 done by [Mergify](https://mergify.com).

…ocess (#944)

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

* update comment

(cherry picked from commit 3574f5b)
@nick4598 nick4598 merged commit 317de9c into release/4.10.x Jan 3, 2025
18 checks passed
@nick4598 nick4598 deleted the mergify/bp/release/4.10.x/pr-944 branch January 3, 2025 15:04
@aruniverse
Copy link
Member

Backport this to 4.11 branch

@nick4598
Copy link
Contributor

nick4598 commented Jan 3, 2025

@Mergifyio backport release/4.11.x

Copy link
Author

mergify bot commented Jan 3, 2025

backport release/4.11.x

✅ Backports have been created

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.

3 participants