Search results

  1. J

    Solved Socket still ESTABLISHED after process is killed

    Yes, this is c code. I found actual problem by this command: root@midea:/userdata# ./lsof -i:12127 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME ./node_4 491 root 473u inet 18247 0t0 TCP *:12127 (LISTEN) ./node_4 491 root 474u inet 21556 0t0 TCP...
  2. J

    Solved Socket still ESTABLISHED after process is killed

    Hello @JasKinasis I solve this problem after add this code fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); But I do not know why
  3. J

    Solved Socket still ESTABLISHED after process is killed

    Hello: I have a strange question. please help me, thanks a lot. process 491 is killed but socket created by process 491 status still is ESTABLISHED, here is information: root@midea:/userdata# ps -ef | grep node 443 root 327m S ./node_1 463 root 941m S ./node_2 472 root...
Top