Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion DataFileSync too long cause host crashed?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
sandect  
View profile  
 More options Oct 9 2012, 8:33 pm
From: sandect <chencs...@gmail.com>
Date: Tue, 9 Oct 2012 17:33:19 -0700 (PDT)
Local: Tues, Oct 9 2012 8:33 pm
Subject: DataFileSync too long cause host crashed?

Hi, all.

We set up a mongod on a vps, and sometimes it crashed. In the log
/var/log/messages, we got

Oct 10 02:34:55 localhost kernel: INFO: task mongod:1696 blocked for more

> than 120 seconds.
> Oct 10 02:34:55 localhost kernel: "echo 0 >
> /proc/sys/kernel/hung_task_timeout_secs" disables this message.
> Oct 10 02:34:55 localhost kernel: mongod        D 0000000000000000     0
>  1696      1 0x00000080
> Oct 10 02:34:55 localhost kernel: ffff88003b24fca8 0000000000000086
> ffff8800375be938 ffff8800375be848
> Oct 10 02:34:55 localhost kernel: ffff880037710e60 ffff880037710e60
> 0000000000000cc1 0000000000000005
> Oct 10 02:34:55 localhost kernel: ffff880037553ab8 ffff88003b24ffd8
> 000000000000fb88 ffff880037553ab8
> Oct 10 02:34:55 localhost kernel: Call Trace:
> Oct 10 02:34:55 localhost kernel: [<ffffffff81258a38>] ?
> __make_request+0x168/0x5a0
> Oct 10 02:34:55 localhost kernel: [<ffffffff814fe925>]
> schedule_timeout+0x215/0x2e0
> Oct 10 02:34:55 localhost kernel: [<ffffffff8125700e>] ?
> generic_make_request+0x25e/0x530
> Oct 10 02:34:55 localhost kernel: [<ffffffff81116ad5>] ?
> mempool_alloc_slab+0x15/0x20
> Oct 10 02:34:55 localhost kernel: [<ffffffff814fe5a3>]
> wait_for_common+0x123/0x180
> Oct 10 02:34:55 localhost kernel: [<ffffffff81060250>] ?
> default_wake_function+0x0/0x20
> Oct 10 02:34:55 localhost kernel: [<ffffffff8125736d>] ?
> submit_bio+0x8d/0x120
> Oct 10 02:34:55 localhost kernel: [<ffffffff814fe6bd>]
> wait_for_completion+0x1d/0x20
> Oct 10 02:34:55 localhost kernel: [<ffffffff8125a99d>]
> __blkdev_issue_flush+0xad/0xe0
> Oct 10 02:34:55 localhost kernel: [<ffffffff8125a9e6>]
> blkdev_issue_flush+0x16/0x20
> Oct 10 02:34:55 localhost kernel: [<ffffffffa0288441>]
> ext4_sync_file+0x191/0x260 [ext4]
> Oct 10 02:34:55 localhost kernel: [<ffffffff811aa221>]
> vfs_fsync_range+0xa1/0xe0
> Oct 10 02:34:55 localhost kernel: [<ffffffff811aa2cd>] vfs_fsync+0x1d/0x20
> Oct 10 02:34:55 localhost kernel: [<ffffffff81148161>]
> sys_msync+0x151/0x1e0
> Oct 10 02:34:55 localhost kernel: [<ffffffff8100b0f2>]
> system_call_fastpath+0x16/0x1b
> Oct 10 02:36:55 localhost kernel: INFO: task scsi_eh_0:282 blocked for
> more than 120 seconds.
> Oct 10 02:36:55 localhost kernel: "echo 0 >
> /proc/sys/kernel/hung_task_timeout_secs" disables this message.
> Oct 10 02:36:55 localhost kernel: scsi_eh_0     D 0000000000000000     0  
> 282      2 0x00000000
> Oct 10 02:36:55 localhost kernel: ffff8800377afd10 0000000000000046
> 0000000000000000 0000000000001388
> Oct 10 02:36:55 localhost kernel: ffff8800377afd00 ffffffff814fe5cc
> ffff880037a21540 0000000000000000

and, in mongod.log, we got

Wed Oct 10 02:38:16 [DataFileSync] flushing mmaps took 800120ms  for 3 files

> Wed Oct 10 02:51:32 [DataFileSync] flushing mmaps took 795015ms  for 3
> files

Any thing will be helpful. Thank you.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.