[GH-ISSUE #6] s3fs have crashed with a segfault #3

Closed
opened 2026-03-04 01:41:02 +03:00 by kerem · 6 comments
Owner

Originally created by @timurb on GitHub (Jan 13, 2014).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/6

I've seen the s3fs segfault today in the morning with the following message:

Jan 13 03:29:56 monitoring kernel: [1322370.223444] s3fs[7788]: segfault at 0 ip 00000000004275db sp 00007f2660b7d7c0 error 4 in s3fs[400000+4b000]

There are no accompanying messages in logs but I know there was some minor writing to S3 ~5min in advance to that.

The s3fs daemon was running since 9 Jan with more than 1.5Tb written since that time. Before that I've tried running s3fs of the same version on the same host with no errors (but with lesser overall throughput I think) for 2 weeks (before that I've used the older 1.61 version).

I'm running Debian Wheezy 7.3 with s3fs 1.74 (I think I've used r499 for compilation):

root@monitoring:~# s3fs --version
Amazon Simple Storage Service File System 1.74
Copyright (C) 2010 Randy Rizun <rrizun@gmail.com>
License GPL2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Originally created by @timurb on GitHub (Jan 13, 2014). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/6 I've seen the s3fs segfault today in the morning with the following message: ``` Jan 13 03:29:56 monitoring kernel: [1322370.223444] s3fs[7788]: segfault at 0 ip 00000000004275db sp 00007f2660b7d7c0 error 4 in s3fs[400000+4b000] ``` There are no accompanying messages in logs but I know there was some minor writing to S3 ~5min in advance to that. The s3fs daemon was running since 9 Jan with more than 1.5Tb written since that time. Before that I've tried running s3fs of the same version on the same host with no errors (but with lesser overall throughput I think) for 2 weeks (before that I've used the older 1.61 version). I'm running Debian Wheezy 7.3 with s3fs 1.74 (I think I've used r499 for compilation): ``` root@monitoring:~# s3fs --version Amazon Simple Storage Service File System 1.74 Copyright (C) 2010 Randy Rizun <rrizun@gmail.com> License GPL2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. ```
kerem closed this issue 2026-03-04 01:41:02 +03:00
Author
Owner

@timurb commented on GitHub (Jan 13, 2014):

Probably this also relates to overfilled cache disk as I've seen it to be full.
If that is the reason for that it would be nice if s3fs have produced out-of-space error instead of crashing.

<!-- gh-comment-id:32155877 --> @timurb commented on GitHub (Jan 13, 2014): Probably this also relates to overfilled cache disk as I've seen it to be full. If that is the reason for that it would be nice if s3fs have produced out-of-space error instead of crashing.
Author
Owner

@ggtakec commented on GitHub (Jan 15, 2014):

Thanks for a bug reporting.
I'll try to test about disk space without crashing. Please wait for a while.

<!-- gh-comment-id:32371162 --> @ggtakec commented on GitHub (Jan 15, 2014): Thanks for a bug reporting. I'll try to test about disk space without crashing. Please wait for a while.
Author
Owner

@abertranb commented on GitHub (Oct 2, 2014):

Hello this is solved? Because I had an error whit version 1.78 getting this error
[646652.031561] s3fs[17520]: segfault at 0 ip 000000000042b4e3 sp 00007fc6d3ffe530 error 4 in s3fs[400000+52000]
I had cache enabled but the disk is not full (35% of use)
Would you recommend to disable cache?

I read some places to use an small number of multireq_max
https://code.google.com/p/s3fs/issues/detail?id=426
This is ok?

Thanks

<!-- gh-comment-id:57714631 --> @abertranb commented on GitHub (Oct 2, 2014): Hello this is solved? Because I had an error whit version 1.78 getting this error [646652.031561] s3fs[17520]: segfault at 0 ip 000000000042b4e3 sp 00007fc6d3ffe530 error 4 in s3fs[400000+52000] I had cache enabled but the disk is not full (35% of use) Would you recommend to disable cache? I read some places to use an small number of multireq_max https://code.google.com/p/s3fs/issues/detail?id=426 This is ok? Thanks
Author
Owner

@abertranb commented on GitHub (Oct 6, 2014):

Hello any news about it??

<!-- gh-comment-id:58050084 --> @abertranb commented on GitHub (Oct 6, 2014): Hello any news about it??
Author
Owner

@ggtakec commented on GitHub (Oct 13, 2014):

Hi, abertranb
I'm sorry for late reply.
I want to know about your case of s3fs crashed, please let me know what option does you specify for s3fs, what do you do when s3fs crashed, etc.
Thanks in advance for your help.

<!-- gh-comment-id:58882622 --> @ggtakec commented on GitHub (Oct 13, 2014): Hi, abertranb I'm sorry for late reply. I want to know about your case of s3fs crashed, please let me know what option does you specify for s3fs, what do you do when s3fs crashed, etc. Thanks in advance for your help.
Author
Owner

@ggtakec commented on GitHub (Jan 17, 2016):

I'm sorry about this Issue had been left at a long period of time.

Latest codes(master branch) is fixed some bugs which included like this issue.
And I think that it is difficult to reproduce this problem now because there are many fixes from posting this issue.

If you is in still the same defect has failed on latest codes, please post new issue.
And If you post new problem, please post with detail logs(ex. syslog/messages) which are made by running s3fs with "dbglevel" or "curldbg".

Thanks in advance for your help.

<!-- gh-comment-id:172294961 --> @ggtakec commented on GitHub (Jan 17, 2016): I'm sorry about this Issue had been left at a long period of time. Latest codes(master branch) is fixed some bugs which included like this issue. And I think that it is difficult to reproduce this problem now because there are many fixes from posting this issue. If you is in still the same defect has failed on latest codes, please post new issue. And If you post new problem, please post with detail logs(ex. syslog/messages) which are made by running s3fs with "dbglevel" or "curldbg". Thanks in advance for your help.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#3
No description provided.