Skip to content

pgloader is hanging without outputing any errors or loading new data #723

@machytkafitanalytics

Description

@machytkafitanalytics

Hi,

I am sorry but I have another problem to discuss regarding latest build of pgloader (pgloader version "3.4.572f6a3" compiled with SBCL 1.4.3.236-cfa129e). We had already second case (both on different GCE instances) of pgloader not finishing the task and hanging indefinitely.

In both cases it stopped in the middle of loading data into some table (different in both cases) so some tables have been loaded but others remained empty. I was not able to investigate first case, only second one.

  • top:
   VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
5340784 166200   2592 S   0.0  0.3  62:37.44 /ourpath/pgloader -v /ourpath/cf

process is sleeping

  • strace: futex(0x100b57ebc0, FUTEX_WAIT_PRIVATE, 7210419, NULL without further changes

  • iotop: no disk activity

  • mysql - no active connection

  • postgresql - no active connection

  • ltrace shows never ending sequence like this:

__errno_location( <unfinished ...>
__errno_location( <unfinished ...>
__errno_location( <unfinished ...>
__errno_location( <unfinished ...>
<... __errno_location resumed> )                 = 0xee3cf688
<... __errno_location resumed> )                 = 0xee81f688
<... __errno_location resumed> )                 = 0xeec6f688
__errno_location( <unfinished ...>
__errno_location( <unfinished ...>
__errno_location( <unfinished ...>
__errno_location( <unfinished ...>
<... __errno_location resumed> )                 = 0xef0bf688
syscall(202, 0x507d490, 128, 0x890f643 <unfinished ...>
syscall(202, 0x507d490, 128, 0x890f163 <unfinished ...>
syscall(202, 0x507d490, 128, 0x890ec83 <unfinished ...>
<... __errno_location resumed> )                 = 0xef50f688
<... __errno_location resumed> )                 = 0xef95f688
__errno_location( <unfinished ...>
<... __errno_location resumed> )                 = 0xf443f688
<... __errno_location resumed> )                 = 0xf488f688
syscall(202, 0x507d490, 128, 0x890e7a3 <unfinished ...>
syscall(202, 0x507d490, 128, 0x890e2c3 <unfinished ...>
syscall(202, 0x507d490, 128, 0x890dde3 <unfinished ...>
<... __errno_location resumed> )                 = 0xefdaf688
syscall(202, 0x507d490, 128, 0x890d423 <unfinished ...>
syscall(202, 0x507d490, 128, 0x890cf43 <unfinished ...>
<... syscall resumed> )                          = 0xffffffff
<... syscall resumed> )                          = 0xffffffff
<... syscall resumed> )                          = 0xffffffff
syscall(202, 0x507d490, 128, 0x890d903 <unfinished ...>
__errno_location( <unfinished ...>
<... syscall resumed> )                          = 0xffffffff
__errno_location( <unfinished ...>
__errno_location( <unfinished ...>
<... syscall resumed> )                          = 0xffffffff
<... syscall resumed> )                          = 0xffffffff
<... __errno_location resumed> )                 = 0xee3cf688
<... syscall resumed> )                          = 0xffffffff
<... syscall resumed> )                          = 0xffffffff
__errno_location( <unfinished ...>
<... __errno_location resumed> )                 = 0xee81f688
<... __errno_location resumed> )                 = 0xeec6f688
__errno_location( <unfinished ...>
__errno_location( <unfinished ...>
syscall(202, 0x507d490, 128, 0x890f643 <unfinished ...>
__errno_location( <unfinished ...>
__errno_location( <unfinished ...>
<... __errno_location resumed> )                 = 0xef0bf688
syscall(202, 0x507d490, 128, 0x890f163 <unfinished ...>
syscall(202, 0x507d490, 128, 0x890ec83 <unfinished ...>
<... __errno_location resumed> )                 = 0xef50f688
<... __errno_location resumed> )                 = 0xef95f688
<... syscall resumed> )                          = 0xffffffff
<... __errno_location resumed> )                 = 0xf443f688
<... __errno_location resumed> )                 = 0xf488f688

shall I try some other check?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions