-
-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can I use -n to create multiple UEs, but send an authentication request every few seconds? #469
Comments
Hi It's not possible to delay the authentication when using But you can run different |
Hi,@aligungr Here is my script, I create a ue process every ten seconds.
I changed the ulimit max user processes and open files, but it didn't alleviate the problem... |
Btw, I think it might be more important to send the authentication request in stages. If the number of -n is large, almost no open source 5g core can handle so many authentication requests at the same time. |
@VLiu7 You can bypass the TUN configuration in UE side by starting the UE with: |
@VLiu7 #!/bin/bash But I get this error In my free5gc-uen10.yaml the be link this :>>> Is that right? Thanks |
Hi @noormohammedli |
Hello @VLiu7, Thank you, I have this in my DB " imsi-208930000000001" I can run it but when i try to add multi UE same time i get an error. when i try to do link this " sudo build/nr-ue -c config/free5gc-uen10.yaml -n 20" i got time expire. I can run 7 users individually, but i need them to run from the file. Thanks, |
Hi, @noormohammedli In fact, I'm not sure what problem you have, can you send me your test script and error log? Did you make sure that all imsi you want to run are in the DB, not just the one in the config file? Did you have same error with open5gs? If all imsi are in DB, let's see the error log. |
Hello, error when i run 10 ue at the same time.zip this is my log files Thanks |
Sorry, I would like to help you but it is more than I can handle. |
Hello @noormohammedli There is a core network problem according to your files. It looks like AMF crashes in your scenario. |
You can eventually add a sleep in the loop that triggers all the UE registers in the code. in src/ue.cpp at the very end of the file: Don't forget to include the standard library at the top: This is what we did on our side. |
Hello @elrandira, Thanks for your comment. I put this line at the end of the main function but i get this error when i built the UERANSIM. Thanks |
I don't understand your error. This method is part of the code you retrieved on github, it shouldn't fail. Did you make more modifications that the sleep and the stdlib import? Maybe retry from the start. |
Hello @elrandira Thanks for the replay, I have this code in the last part of the file, I put the sleep as in the image i think your commands if for the new version of the code, I will update the code and let you know. Thanks for your help and support, |
Yes, on the latest version it would look like this:
|
issue #469 - Add a tempo between two UE registrations
Hi,
Can I use -n to create multiple UEs, but send an authentication request every few seconds? I found that sending more than 30 authentication requests at the same time would crash UDM.
Where should I start to make changes?
Best regards.
The text was updated successfully, but these errors were encountered: