F-Stack / f-stack

F-Stack is an user space network development kit with high performance based on DPDK, FreeBSD TCP/IP stack and coroutine API.
http://www.f-stack.org
Other
3.76k stars 879 forks source link

how to kill dpdk primary process? #739

Closed venusgalstar closed 1 year ago

venusgalstar commented 1 year ago

Thanks for your reply, jfb8856606.

But how to kill dpdk primary process?

I need this for new f-stack app with updated config.ini

https://stackoverflow.com/questions/74602244/dpdk-multi-process-kill-a-primary-process-and-restart-as-a-secondary-doesnt-wo

From this article, it's not possible to kill primary process of dpdk.

So, I tried to remove dpdk totally including ko files

But as I said before, still same error, "is another primary process running already?"

jfb8856606 commented 1 year ago

Don't hesitate, just kill it.

Your own application can set the normal exit process.