[SERVER-27948] Mongodb crashed with "File too large" Created: 08/Feb/17 Updated: 27/May/19 Resolved: 09/Feb/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Alps | Assignee: | Kelsey Schubert |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Case: | (copied to CRM) | ||||
| Description |
|
Hi There we have a 8TB db. and Yesterday db crashed without any reasons. after dig into log and we are seeing the below errors. i tried to restart that node,it won't start.also we had replication on another server but that server e crashed too. please take a look 2017-02-08T09:55:24.661-0600 E STORAGE [thread1] WiredTiger (27) [1486569324:661608][9029:0x7f8bef870700], file:collection-9-2207001049530720609.wt, eviction-worker: collection-9-2207001049530720609.wt: handle-write: pwrite: failed to write 4096 bytes at offset 2194719883264: File too large |
| Comments |
| Comment by Alps [ 09/Feb/17 ] | |||||||||||||||||||||||||||||||||||||||
|
Thanks Thomas. I am moving our cluster to a XFS filesystem. will get back to you later. Thanks | |||||||||||||||||||||||||||||||||||||||
| Comment by Kelsey Schubert [ 09/Feb/17 ] | |||||||||||||||||||||||||||||||||||||||
|
Hi alps, Thanks for the additional information. I would recommend changing your filesystem according to our production notes. In addition, you may want to confirm to that the ulimit settings are configured correctly. From your responses, I do not see anything to indicate a bug in the MongoDB server. For MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-users group. Kind regards, | |||||||||||||||||||||||||||||||||||||||
| Comment by Alps [ 09/Feb/17 ] | |||||||||||||||||||||||||||||||||||||||
tune2fs 1.42.9 (4-Feb-2014) | |||||||||||||||||||||||||||||||||||||||
| Comment by Alps [ 09/Feb/17 ] | |||||||||||||||||||||||||||||||||||||||
|
We may found the issue. we are using EXT3 and Block Size is 4096 Bytes. according to wikipedia, maximum file size is 2TiB if block size is 4TiB, is that true ? would this be the root problem ? please advise Thanks | |||||||||||||||||||||||||||||||||||||||
| Comment by Alps [ 09/Feb/17 ] | |||||||||||||||||||||||||||||||||||||||
|
any words ? Thanks | |||||||||||||||||||||||||||||||||||||||
| Comment by Alps [ 08/Feb/17 ] | |||||||||||||||||||||||||||||||||||||||
|
just fyi, collection-9-2207001049530720609.wt is 2.0TB Thanks | |||||||||||||||||||||||||||||||||||||||
| Comment by Alps [ 08/Feb/17 ] | |||||||||||||||||||||||||||||||||||||||
|