I finally found the solution. I was working over xrdp which caused the problem. This can be solved by adding
session    required   pam_limits.so
to the file /etc/pam.d/common-session.

Maybe this can help someone else.

Am 18.04.2019 um 19:46 schrieb Marcus D. Leech via USRP-users:
On 04/18/2019 11:49 AM, Fabian Schwartau via USRP-users wrote:
It says 0.
I guess that is not good.
Any further ideas?
Well, this is clearly a Linux, rather than UHD/USRP issue.   You'll have to do some digging in Linux-support land.



Am 18.04.2019 um 17:39 schrieb Marcus D. Leech via USRP-users:
On 04/18/2019 03:40 AM, Fabian Schwartau via USRP-users wrote:
Hi,

I just double checked the limits configuration. The file seems ok, every line except the one I showed earlier is a comment. But I found an additional file called /etc/security/limits.d/uhd.conf where the same statement was in, but for the group uhd. I changed that to plugdev, removed the line in limits.conf and rebooted. Still the same warning message. Is there a way to actuall check the thread priority limits for my current user?

Best regards,
Fabian
ulimit -r



Am 17.04.2019 um 17:24 schrieb Marcus D. Leech via USRP-users:
On 04/17/2019 09:10 AM, Fabian Schwartau via USRP-users wrote:
Hi everyone,

for some reasons I suddenly see the error message, that UHD cannot set the thread priority. It has been working before.
As you can see below my settings seem to be correct:

fschwa@rfserv:~$ tail -n 3 /etc/security/limits.conf
@plugdev    - rtprio    99

# End of file
fschwa@rfserv:~$ groups
fschwa adm tty dialout cdrom sudo dip plugdev lpadmin sambashare alfa
fschwa@rfserv:~$

The message disappears when running the application as root. What could be the cause?
The USRPs are connected using 10G Ethernet, UHD version is 3.10.2.

Best regards,
Fabian

Have you done a system upgrade?

Have you changed /etc/security/limits.conf    recently, and is there perhaps a syntax error in it?

If you reboot, does the behavior change?



_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com


_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

_______________________________________________
USRP-users mailing list
USRP-users@lists.ettus.com
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com

Reply via email to