Tunnel allocation failure after certain number of UEs
Bharat0908 opened this issue · 10 comments
Hi @aligungr
We are facing the issues while doing registration of multiple UEs with UERANSIM. We are running single nr-gnb process and ne-ue process to trigger the registration and PDU session establishments for 500 UEs. After registering 318 UE successfully, we are facing the below issue.
[error] TUN allocation failure [Open failure /dev/net/tun].
However, we suppressed the tunnel creation using the CLI option available and we are able to register 1500 UEs successfully (with 500 UEs per nr-ue process successfully). When triggered the 4th iteration another issues noticed as mentioned below.
After 1500 UEs, UERANSIM is getting crashed with below error terminate called after throwing an instance of 'std::system_error'
what(): Resource temporarily unavailable
Please suggest your inputs on these issues.
Your response will be much appreciated.
Thanks and Regards,
Bharat Gupta
Hello
Its hard to guess the issue without more details. However from the information you share, I understand that it appears you are encountering two issues. Here's some general suggestions.
1. TUN Allocation Failure:
It seems like the your PC ran out of TUN interfaces. Check for the limit on TUN devices on your system.Try to increase the number if possible.
2. Resource Temporarily Unavailable:
This error suggests a system resource has been exhausted. This could be due to limitations on threads, file descriptors, or other system resources.
-
Check if you're hitting the thread limit. If it's too low, tryo to increase it.
-
Each UE opens multiple file descriptors. Check the current limit and increase it if it's too low.
-
Use tools like
htop
,lsof
, andnetstat
to monitor system resources and see which one is getting exhausted.
I hope these suggestions help you.
Best regards.
Hi @Bharat0908 I Have one query how you can confiure the 500 UE in open5gs. Is there using license for configure and other XML file to import in mondo database.
Hi @Bharat0908 I Have one query how you can confiure the 500 UE in open5gs. Is there using license for configure and other XML file to import in mondo database.
HI @Aniket621 We are using UERANSIM with open5GS and using the count option in UERANSIM we are serially connecting the 500 UEs with single nr-ue process
Hi @Bharat0908 thanks for reply. Yes in UERANSIM side we do using -n option but in HSS (Open5gs) how can we configure 500 UE. Is there any document for configure multi UE in HSS side either script or any xml file we can import in open5gs GUI.
You can make use of open5gs-dbctl utility to configure bulk subscribers
do u have any document for this utility. can i use below link.
https://github.com/open5gs/open5gs/blob/main/misc/db/open5gs-dbctl
We just used this utility only in the loop to configure bulk subscribers
Using utility i can configure only one ue at a time. Is it possible 200 UE Configure at a time.