Ricky Chen

Results 8 comments of Ricky Chen

hi, spacewander. After i type `lbt`, it return "No global L located (tried globalL and ngx_cycle)". The details: ``` [root@ricky apisix-debug]# ps aux|grep nginx root 1748 0.0 0.0 27660 1584...

I try to install openresty-debuginfo-1.19.9.1-1.el7 but lbt return nothing: ``` (gdb) source luajit21.py (gdb) lbt (gdb) (gdb) ```

(gdb) bt #0 0x00007fc2124b70c3 in __epoll_wait_nocancel () from /lib64/libc.so.6 #1 0x000000000044ce08 in ngx_epoll_process_events (cycle=0x20acee0, timer=100, flags=1) at src/event/modules/ngx_epoll_module.c:800 #2 0x0000000000443c65 in ngx_process_events_and_timers (cycle=0x20acee0) at src/event/ngx_event.c:257 #3 0x000000000044b192 in ngx_worker_process_cycle (cycle=cycle@entry=0x20acee0,...

> You may need to generate a C level on-CPU framegraph. `__epoll_wait_nocancel` is a blocking syscall, a process can't have 100% CPU usage in user space when it is blocked...

> I want to make sure of one question: do you deploy private code code, such as custom plugins? @tzssangglass yes, i have a custom plugin. The plugin use redis...

added ```config.yaml``` configuration: ``` ... lua_shared_dicts: # add custom shared cache to nginx.conf auth_token: 10m ... redis: redis_host: "xx" redis_port: 6379 redis_password: "xx" redis_db: 1 redis_timeout: 3000 ... ```

I captured the perf.data using perf at 100% CPU, maybe it can provide some helpful message? ``` perf record -g -p 21515 -- sleep 30 ``` and then, ``` git...