These are chat archives for arnaud-lb/php-rdkafka

12th
Oct 2017
jianzhiunique
@jianzhiunique
Oct 12 2017 10:18
hello?
when I connect to a invalide ip:port (means no kafka), producer will block(php ), I use strace and got this message :futex(0x161290c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 42837, {1507802562, 768738000}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x16128e0, FUTEX_WAKE_PRIVATE, 1) = 0
gettimeofday({1507802562, 768946}, NULL) = 0
futex(0x161290c, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 42839, {1507802562, 769946000}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x16128e0, FUTEX_WAKE_PRIVATE, 1) = 0
gettimeofday({1507802562, 770097}, NULL) = 0
how to close connection and stop php script?