Hi,

As I mentioned in another email thread, few child processes of reviewbot 
workers turn out to be defunct process. When I tried stracing a reviewbot 
worker, I got to know that review.publish() in tasks.py creates a child 
process. Though it exits, it becomes a defunct process.

...
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f07986649d0) = 102819
fcntl(54, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824, 
len=1}) = 0
fcntl(54, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, 
len=510}) = 0
fcntl(54, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, 
len=1}) = 0
access("/u/build/.cache/rbtools/apicache.db-journal", F_OK) = -1 ENOENT (No 
such file or directory)
fstat(54, {st_mode=S_IFREG|0644, st_size=2996220928, ...}) = 0
lseek(54, 24, SEEK_SET)                 = 24
read(54, "\0\0u\355\0\0\0\0\0\0\0\0\0\0\0\0", 16) = 16
lseek(54, 1345011712, SEEK_SET)         = 1345011712
read(54, 
"\2\0\0\0\3\1l\0\0\37\335\312\1l\2H\3$\3$\0\0\0\0\0\0\0\0\0\0\0\0"..., 
1024) = 1024
lseek(54, 249793536, SEEK_SET)          = 249793536
read(54, 
"\2\0\0\0\5\0\35\1\0\33\213C\1\241\0\305\0\35\2}\3Y\0\0\1s=\201!\0\1s"..., 
1024) = 1024
lseek(54, 53715968, SEEK_SET)           = 53715968
read(54, 
"\2\0\0\0\4\0\301\0\0\37\267\331\1\235\0\301\2y\3$\0\0\0\0\0\0\0\0\0\0\0\0"..., 
1024) = 1024
lseek(54, 11038720, SEEK_SET)           = 11038720
read(54, 
"\2\0\0\0\4\0\274\0\0\22\374\250\0\274\1\230\2u\3R\3Y\0\0\0\334\201V\6\201-\202"...,
 
1024) = 1024
lseek(54, 6501376, SEEK_SET)            = 6501376
read(54, 
"\2\0\0\0\4\0\305\0\0\23\5\347\0\305\1l\3$\2H\3#\0\0\0\0\0\22\366K\201W"..., 
1024) = 1024
lseek(54, 410624, SEEK_SET)             = 410624
read(54, 
"\n\0\0\0\5\0z\0\0z\1-\1\340\2\246\3l\3l\0\0\0\201\201\33\6\201\17\2011\2"..., 
1024) = 1024
lseek(54, 2564125696, SEEK_SET)         = 2564125696
read(54, 
"\5\0\0\0?\2\206\0\0\23\7\375\2\206\2\214\2\222\2\230\2\236\2\244\2\252\2\260\2\266\2\274"...,
 
1024) = 1024
lseek(54, 18166784, SEEK_SET)           = 18166784
read(54, 
"\5\0\0\0o\1f\0\0\0\177\373\1f\1l\1r\1x\1~\1\204\1\212\1\220\1\226\1\234"..., 
1024) = 1024
lseek(54, 18189312, SEEK_SET)           = 18189312
read(54, "\r\0\0\0\2\0\242\0\2\263\0\242.com/api/review-requ"..., 1024) = 
1024
lseek(54, 18188288, SEEK_SET)           = 18188288
read(54, "\0\0\0\0\", \"method\": \"GET\"}, \"self\":"..., 1024) = 1024
lseek(54, 100817920, SEEK_SET)          = 100817920
read(54, 
"\5\0\0\0o\1f\0\0\1\277\3\1f\1l\1r\1x\1~\1\204\1\212\1\220\1\226\1\234"..., 
1024) = 1024
lseek(54, 100541440, SEEK_SET)          = 100541440
read(54, 
"\r\0\0\0\1\1\357\0\1\357\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 
1024) = 1024
lseek(54, 2960993280, SEEK_SET)         = 2960993280
read(54, "\0\0\0\0\", \"method\": \"GET\"}, \"self\":"..., 1024) = 1024
fcntl(54, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 53
connect(53, {sa_family=AF_INET, sin_port=htons(80), 
sin_addr=inet_addr("10.96.16.1")}, 16) = 0
sendto(53, "GET /api/extensions/reviewbotext"..., 359, 0, NULL, 0) = 359
recvfrom(53, "HTTP/1.1 200 OK\r\nDate: Fri, 14 S"..., 8192, 0, NULL, NULL) 
= 1714
close(53)                               = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
fcntl(54, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741824, 
len=1}) = 0
fcntl(54, F_SETLK, {type=F_RDLCK, whence=SEEK_SET, start=1073741826, 
len=510}) = 0
fcntl(54, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=1073741824, 
len=1}) = 0
...

102819 was the pid of the defunct process and it was under a reviewbot 
worker, that I straced. Can you please let me know what's the issue here?

Thanks,
Hemapriya.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to