Closed hamedsey closed 3 years ago
The mtclient seems to hang on line 639 of mtclient.cc where the parent process is waiting for the child processes to terminate. Any idea on how to debug this?
for(i = 0; i < children; i++){
if(wait(&status) <= 0){ //line 639
perror("wait");
exit(1);
}
if (WIFSIGNALED(status))
fprintf(stderr, "child %d died by signal %d\n", i, WTERMSIG(status));
}
Hi,
I'm trying to run Masstree with the native UDP client After following the setup guidelines provided in the README, I've used the following to start the server:
./mtd --cores 2 -j 2
and the following to start my client:
./mtclient -s 192.168.1.2 -j 2 -u rw1
The client seems to hang. However, the same test work fine without the -u flag (which I believe would make a TCP client).
I had specified 2 threads and 2 cores, but I'm also curious as to why there are node counts for more than two cores.
Are these bugs, or am I missing something? Would sincerely appreciate your feedback.
Thanks, Hamed