Not working clone(Process 22302 attached (waiting for parent) Process 22302 resumed (parent 22300 ready) child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d1b908) = 22302 [pid 22302] close(4 [pid 22300] close(5 [pid 22302] <... close resumed> ) = 0 [pid 22300] <... close resumed> ) = 0 [pid 22300] select(8, [4], NULL, NULL, NULL [pid 22302] time(NULL) = 1184077872 [pid 22302] time(NULL) = 1184077872 [pid 22302] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0 [pid 22302] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0 [pid 22302] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0 [pid 22302] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2295, ...}) = 0 [pid 22302] select(8, [3], NULL, [3], {0, 0}) = 0 (Timeout) [pid 22302] write(3, "<13>Jul 10 16:31:12 rpcsrv[22302"..., 66) = 66 [pid 22302] time(NULL) = 1184077872 [pid 22302] getpeername(5, {sa_family=AF_INET, sin_port=htons(51131), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 [pid 22302] getpeername(5, {sa_family=AF_INET, sin_port=htons(51131), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0 [pid 22302] select(8, [4 5], NULL, NULL, NULL) = -1 EBADF (Bad file descriptor) . . .