[ovs-discuss] ovs-vswitchd crashing after initializing dpdk
Shriroop Joshi (shrirjos)
shrirjos at cisco.com
Mon Mar 18 21:58:49 UTC 2019
I am trying to initialize dpdk and while doing that ovs-vswitchd process crashes with error in log:
2019-03-18T13:32:41.112Z|00015|dpdk|ERR|EAL: Can only reserve 270 pages from 512 requested
Current CONFIG_RTE_MAX_MEMSEG=256 is not enough
Please either increase it or request less amount of memory.
2019-03-18T13:32:41.112Z|00016|dpdk|ERR|EAL: Cannot init memory
2019-03-18T13:32:41.128Z|00002|daemon_unix|ERR|fork child died before signaling startup (killed (Aborted))
2019-03-18T13:32:41.128Z|00003|daemon_unix|EMER|could not detach from foreground session
I have allocated 512 hugepages which is reflected in /proc/meminfo. But it also shows none of them are free even after ovs-vswitchd is in inactive state.
From /proc/buddyinfo file, I can see that I have enough defragmented memory. I am not sure about the cause of this failure. I increased number of allocated hugepages to 1024 and the service came up, but it looks like it is still using only 512 hugepages.
It would be a great help if someone could point in right direction.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss