taosdata / TDengine

High-performance, scalable time-series database designed for Industrial IoT (IIoT) scenarios
https://tdengine.com
GNU Affero General Public License v3.0
23.38k stars 4.86k forks source link

C UDF udfd process exited with status 254, signal 0 #25963

Closed yuequan1997 closed 2 weeks ago

yuequan1997 commented 5 months ago

Bug Description 使用Docker部署3.3.0.3集群,疯狂报:C UDF udfd process exited with status 254, signal 0 日志,不停的在刷

To Reproduce

Expected Behavior

Screenshots docker-compose logs -f

td-3-1  | 05/29 04:13:21.000954 00000129 C UDF start to init udfd
td-3-1  | 05/29 04:13:21.001038 00000129 C UDF udfd LD_LIBRARY_PATH: ::/usr/lib
td-3-1  | 05/29 04:13:21.011497 00000129 C UDF udfd is initialized
td-3-1  | 05/29 04:13:21.025265 00000129 C UDF udfd process exited with status 254, signal 0
td-3-1  | 05/29 04:13:21.025280 00000129 C UDF udfd process restart
td-3-1  | 05/29 04:13:21.025285 00000129 C UDF start to init udfd
td-3-1  | 05/29 04:13:21.025344 00000129 C UDF udfd LD_LIBRARY_PATH: ::/usr/lib
td-3-1  | 05/29 04:13:21.034120 00000129 C UDF udfd is initialized
td-3-1  | 05/29 04:13:21.162942 00000129 C UDF udfd process exited with status 254, signal 0
td-3-1  | 05/29 04:13:21.162969 00000129 C UDF udfd process restart
td-3-1  | 05/29 04:13:21.162976 00000129 C UDF start to init udfd
td-3-1  | 05/29 04:13:21.163074 00000129 C UDF udfd LD_LIBRARY_PATH: ::/usr/lib
td-3-1  | 05/29 04:13:21.173497 00000129 C UDF udfd is initialized
td-1-1  | 05/29 04:14:27.087970 00000050 C UDF udfd process restart
td-1-1  | 05/29 04:14:27.087978 00000050 C UDF start to init udfd
td-1-1  | 05/29 04:14:27.088076 00000050 C UDF udfd LD_LIBRARY_PATH: ::/usr/lib
td-1-1  | 05/29 04:14:27.101089 00000050 C UDF udfd is initialized
td-1-1  | 05/29 04:14:27.117247 00000050 C UDF udfd process exited with status 254, signal 0
td-1-1  | 05/29 04:14:27.117270 00000050 C UDF udfd process restart
td-1-1  | 05/29 04:14:27.117276 00000050 C UDF start to init udfd
td-1-1  | 05/29 04:14:27.117519 00000050 C UDF udfd LD_LIBRARY_PATH: ::/usr/lib
td-1-1  | 05/29 04:14:27.130606 00000050 C UDF udfd is initialized
td-1-1  | 05/29 04:14:27.143218 00000050 C UDF udfd process exited with status 254, signal 0
td-1-1  | 05/29 04:14:27.143241 00000050 C UDF udfd process restart
td-1-1  | 05/29 04:14:27.143248 00000050 C UDF start to init udfd
td-1-1  | 05/29 04:14:27.143363 00000050 C UDF udfd LD_LIBRARY_PATH: ::/usr/lib
td-1-1  | 05/29 04:14:27.154843 00000050 C UDF udfd is initialized
td-1-1  | 05/29 04:14:27.166486 00000050 C UDF udfd process exited with status 254, signal 0
td-1-1  | 05/29 04:14:27.166503 00000050 C UDF udfd process restart
td-1-1  | 05/29 04:14:27.166506 00000050 C UDF start to init udfd
td-3-1  | 05/29 04:13:21.194447 00000129 C UDF udfd process exited with status 254, signal 0
td-3-1  | 05/29 04:13:21.194541 00000129 C UDF udfd process restart
td-1-1  | 05/29 04:14:27.166559 00000050 C UDF udfd LD_LIBRARY_PATH: ::/usr/lib
td-1-1  | 05/29 04:14:27.176723 00000050 C UDF udfd is initialized
td-3-1  | 05/29 04:13:21.194636 00000129 C UDF start to init udfd
td-3-1  | 05/29 04:13:21.194872 00000129 C UDF udfd LD_LIBRARY_PATH: ::/usr/lib
td-1-1  | 05/29 04:14:27.187471 00000050 C UDF udfd process exited with status 254, signal 0
td-1-1  | 05/29 04:14:27.187502 00000050 C UDF udfd process restart
td-3-1  | 05/29 04:13:21.205669 00000129 C UDF udfd is initialized
td-3-1  | 05/29 04:13:21.221680 00000129 C UDF udfd process exited with status 254, signal 0
td-1-1  | 05/29 04:14:27.187506 00000050 C UDF start to init udfd
td-1-1  | 05/29 04:14:27.187645 00000050 C UDF udfd LD_LIBRARY_PATH: ::/usr/lib
td-3-1  | 05/29 04:13:21.221697 00000129 C UDF udfd process restart
td-3-1  | 05/29 04:13:21.221702 00000129 C UDF start to init udfd
td-1-1  | 05/29 04:14:27.200536 00000050 C UDF udfd is initialized
td-3-1  | 05/29 04:13:21.221769 00000129 C UDF udfd LD_LIBRARY_PATH: ::/usr/lib
td-3-1  | 05/29 04:13:21.231327 00000129 C UDF udfd is initialized
td-1-1  | 05/29 04:14:27.216217 00000050 C UDF udfd process exited with status 254, signal 0
td-1-1  | 05/29 04:14:27.216242 00000050 C UDF udfd process restart
td-3-1  | 05/29 04:13:21.250756 00000129 C UDF udfd process exited with status 254, signal 0
td-1-1  | 05/29 04:14:27.216248 00000050 C UDF start to init udfd
td-3-1  | 05/29 04:13:21.250776 00000129 C UDF udfd process restart
td-1-1  | 05/29 04:14:27.216338 00000050 C UDF udfd LD_LIBRARY_PATH: ::/usr/lib
td-3-1  | 05/29 04:13:21.250780 00000129 C UDF start to init udfd
td-1-1  | 05/29 04:14:27.228001 00000050 C UDF udfd is initialized

tail udfdlog.0 -n 50

==================================================
                new log file                      
==================================================
==================================================
                new log file                      
==================================================
==================================================
                new log file                      
==================================================
==================================================
                new log file                      
==================================================
==================================================
                new log file                      
==================================================
==================================================
                new log file                      
==================================================
==================================================
                new log file                      
==================================================
==================================================
                new log file                      
==================================================
==================================================
                new log file                      
==================================================
==================================================
                new log file                      
==================================================
==================================================
                new log file                      
==================================================
==================================================
                new log file                      
==================================================

我的docker-compose.yml配置如下:

version: "3"
services:
  td-1:
    image: tdengine/tdengine:3.3.0.3
    environment:
      TAOS_FQDN: "td-1"
      TAOS_FIRST_EP: "td-1"
    ports:
      - "6030:6030"
      - "6041-6049:6041-6049"
      - "6041-6049:6041-6049/udp"
    volumes:
      - ./data/taos/dnode1/data:/var/lib/taos
      - ./data/taos/dnode1/log:/var/log/taos
    networks:
      - tdengine_net
  td-2:
    image: tdengine/tdengine:3.3.0.3
    environment:
      TAOS_FQDN: "td-2"
      TAOS_FIRST_EP: "td-1"
    volumes:
      - ./data/taos/dnode2/data:/var/lib/taos
      - ./data/taos/dnode2/log:/var/log/taos
    networks:
      - tdengine_net
  td-3:
    image: tdengine/tdengine:3.3.0.3
    environment:
      TAOS_FQDN: "td-3"
      TAOS_FIRST_EP: "td-1"
    volumes:
      - ./data/taos/dnode3/data:/var/lib/taos
      - ./data/taos/dnode3/log:/var/log/taos
    networks:
      - tdengine_net

networks:
  tdengine_net:
    driver: bridge

Environment (please complete the following information):

Additional Context Add any other context about the problem here.

catch6 commented 4 months ago

同样,我的也是,官方再发布版本时能不能做下最基本的测试,这种就是发版完连最基本自己跑一遍都没跑过?

priyanknarvekar commented 3 months ago

看到同样的问题

yu285 commented 3 months ago

我们正在排查

sflbsw12345 commented 3 months ago

同样的问题

sflbsw12345 commented 3 months ago

我之前在群里面提过这个问题,当时是从3.0.2.4升级3.3.0.2出现该问题,未得到解决。切换版本为3.2.3.0后问题解决(未使用UDF)

Gallium70 commented 3 months ago

会不会跟 #25354 有关,即使已经用环境变量和 taos.cfg 指定了 fqdn,在启动日志里仍然还能看到 buildkitsandbox 相关的错误 image

sky93 commented 2 months ago

Having the same problem. I had to downgrade.

themise commented 2 months ago

配置文件中大量的用到了 buildkitsandbox 这个名字,所以直接修改 /etc/hosts 就行了。 extra_hosts:

aeo123 commented 2 months ago

绝了,一升级就这样。还不能降级,降级到3.2直接全部崩掉。docker 里面按照这样设置可以了,
tde: image: tdengine/tdengine:3.3.2.0 container_name: tde restart: always hostname: buildkitsandbox # 增加这一行

SoberChina commented 2 months ago

绝了,一升级就这样。还不能降级,降级到3.2直接全部崩掉。docker 里面按照这样设置可以了, tde: image: tdengine/tdengine:3.3.2.0 container_name: tde restart: always hostname: buildkitsandbox # 增加这一行

我擦,差点给我劝退了,好使

yu285 commented 2 weeks ago

这个问题已经在3.3.3.0上解决了,可以更新使用