By: Vlaimir Plys user 08 Feb 2017 at 2:54 a.m. CST

10 Responses
Vlaimir Plys gravatar
Can't use the "ulimit" command for set the file descriptor limit to the hard limit specified in /etc/security/limits.conf https://monosnap.com/file/4cfs6hEhv1Coe3qORNjKzYcmNEZTnQ

By Mohib Zico Account Admin 08 Feb 2017 at 3:20 a.m. CST

Mohib Zico gravatar
Hi Vlad, Please correct me if I am wrong... This seems more like system issue ( vagrant host ubuntu 14.04 ) than Gluu software issue, right?

By Vlaimir Plys user 08 Feb 2017 at 3:36 a.m. CST

Vlaimir Plys gravatar
Yes, right. But as far as I see without these changes the server may not work correctly. For me - web UI(identity) with oxtrust-rp aren't working together on 14.04.

By Vlaimir Plys user 08 Feb 2017 at 4:41 a.m. CST

Vlaimir Plys gravatar
Whether this parameter can influence the work web UI(identity) with oxauth-rp together?

By Mohib Zico Account Admin 08 Feb 2017 at 4:51 a.m. CST

Mohib Zico gravatar
>> Whether this parameter can influence the work web UI(identity) with oxauth-rp together? Shouldn't however I'll test in my local 3.0 ubuntu 14.04 installation and inform you on status.

By Vlaimir Plys user 08 Feb 2017 at 4:52 a.m. CST

Vlaimir Plys gravatar
Thank you. If you need, I can prepare video or more details for reproduce it.

By Mohib Zico Account Admin 08 Feb 2017 at 4:55 a.m. CST

Mohib Zico gravatar
Thanks. I'll inform you if I need anything. Stay tuned!

By Mohib Zico Account Admin 08 Feb 2017 at 8:14 a.m. CST

Mohib Zico gravatar
Vlad, I didn't have any issue with default ulimit (**) in a 14.04 machine. oxTrust and oxauth-rp are loading fine. I am using Vmware workstation. (**) ``` root@ubuntu:~# ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 31040 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 31040 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited root@ubuntu:~# ulimit -n 1024 root@ubuntu:~# ```

By Vlaimir Plys user 08 Feb 2017 at 9:06 a.m. CST

Vlaimir Plys gravatar
Thank you, Zico. I use the most current version. I will check it on other VM.

By Vlaimir Plys user 08 Feb 2017 at 10 a.m. CST

Vlaimir Plys gravatar
I downloaded the latest version of Ubuntu 14.04 server. Installed and started it on Parallels. I have the similar issue with "ulimit" but identity with oxauth-rp started normally. Thank you for help.

By Troy Hart user 10 Feb 2017 at 4:24 p.m. CST

Troy Hart gravatar
I've had the same issue when following the "File Descriptors" section of the [VM setup guide](https://www.gluu.org/docs/installation-guide/#file-descriptors). I'm able to follow all the steps until I get to the last one: ``` # ulimit -n unlimited -bash: ulimit: open files: cannot modify limit: Operation not permitted ``` FYI: ``` # ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 79586 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 65536 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 79586 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited ``` Also, my VM is CentOS 7