ipc-bench icon indicating copy to clipboard operation
ipc-bench copied to clipboard

Error opening child process: No such file or directory

Open zzmOVO opened this issue 4 years ago • 5 comments

Can you tell me how to solve this problem ?

zzmOVO avatar Oct 12 '21 08:10 zzmOVO

We would need a lot more context to even try. I would recommend to just use a debugger (gdb) and figure out why it is crashing. Overall it is quite a bit of code, but the individual benchmarks are only a few 100 lines each. So the first step would be to figure out for which communication method it crashes.

Feel free to post any progress on the problem, we would be interested in fixing this :)

alexandervanrenen avatar Oct 12 '21 08:10 alexandervanrenen

when I run mq.server, it point out 'Reduced the message size to 2048 bytes!',can you tell me how to reduced the message?

zzmOVO avatar Oct 12 '21 09:10 zzmOVO

This is because message queues are limited to a certain size. On our testing systems it was 2048. You can try increasing the limit and see if it works on your machine. If you find a better way of doing that, let us know:

https://github.com/goldsborough/ipc-bench/blob/5d01a1a88cc92de76b20d2cc29f54eaa0e7cc913/source/mq/mq-common.h#L5-L12

alexandervanrenen avatar Oct 13 '21 07:10 alexandervanrenen

Can you tell me how to solve this problem ?

Had the same problem because I named the 'build' folder something else. Naming it 'build' fixed the problem for me

DanielEbert avatar Jan 29 '22 14:01 DanielEbert

I also had the same issue when I built the binaries from one machine and copied them to another machine. So you might consider rebuilding if you copy the files to another machine.

manzidi avatar Mar 23 '22 14:03 manzidi