[SERVER-3207] [FileAllocator] done allocating datafile takes tooooo long to hang mongod Created: 06/Jun/11  Updated: 29/May/12  Resolved: 02/Sep/11

Status: Closed
Project: Core Server
Component/s: Performance
Affects Version/s: 1.8.1
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: davyzhang Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: disk, performance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

centos 5.5


Participants:

 Description   

one of my production server report to me the sudden speed downgrade I checked the mongod log and found this at that moment

Mon Jun 6 20:41:32 [FileAllocator] done allocating datafile /data/dt_master_0/dt_base.7, size: 2047MB, took 372.415 secs

It seems it took about 6 minutes to accept the next query, is there any way to improve this, or I can manually allocate the disk for them?

I just can't afford the sudden strike during the production time



 Comments   
Comment by Eliot Horowitz (Inactive) [ 06/Jun/11 ]

What filesystem are you in?
If you're on ext3, the easiest thing to do is upgrade to ext4 or xfs

Generated at Thu Feb 08 03:02:24 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.