GLibc hang on in gethostbyname

David Ignjić ignjic@gmail.com
Thu Sep 5 10:04:00 GMT 2019


Hi Florian,
Here is ps

recruit+  87571  0.0  0.3 381532 165580 ?       S    Aug21  21:48
/usr/bin/perl /home/solution/recruitingapp2/src/model/B4D.pm
recruit+  92674  0.0  0.3 385808 170420 ?       S    Sep01   0:04  \_
/usr/bin/perl /home/solution/recruitingapp2/src/model/B4D.pm
recruit+  97455  0.0  0.0   9556  1168 ?        S    Sep01   0:00  |
\_ sh -c (~/src/customer/recruitingapp/other/cron/SendAutoMails.pl
--customer=1333700271 > /tmp/out.92674) 2> /tmp/err.92674
recruit+  97456  0.0  0.3 361912 185600 ?       S    Sep01   0:00  |
    \_ /usr/bin/perl
/home/solution/recruitingapp2/src/customer/recruitingapp/other/cron/SendAutoMails.pl
--customer=1333700271



We use perl but not multi threaded extension of perl.  i check all
parent process doesnt have more 1 thead active via gdb info threads.


Thanks

               David


On Thu, 5 Sep 2019 at 11:44, Florian Weimer <fweimer@redhat.com> wrote:

> * David Ignjić:
>
> > Hi,
> > Its perl process (script) executed ps:
> > 123  97455  0.0  0.0   9556  1168 ?        S    Sep01   0:00 sh -c
> (~/src/customer/recruitingapp/other/cron/SendAutoMails.pl
> > --customer=1333700271 > /tmp/out.92674) 2> /tmp/err.92674
> > 123  97456  0.0  0.3 361912 185600 ?       S    Sep01   0:00
> /usr/bin/perl
> /home/solution/recruitingapp2/src/customer/recruitingapp/other/cron/SendAutoMails.pl
> --customer=1333700271
> >
> > and gdp info thread:
> > (gdb) info thread
> >   Id   Target Id         Frame
> > * 1    Thread 0x7f1bea6c3740 (LWP 97456) __lll_lock_wait_private () at
> ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
>
> What about the parent process?  Is it multi-threaded?  Probably not
> based on the PID, but would you please double-check?
>
> Thanks,
> Florian
>



More information about the Libc-help mailing list