openvpn does not work due to max-locked-memory limit
Bug #154696 reported by
icemaann
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openvpn (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: openvpn
After upgrading to gutsy I noticed that openvpn was not working properly. After using strace and researching online I found this post:
http://
Which states that the max-locked-memory limit can cause the problem (ulimit -l). Sure enough after setting `ulimit -l unlimited` openvpn worked perfectly.
It is possible that this memory limit could affect other applications as well.
To post a comment you must log in.
I forgot to mention.... openvpn fails to start with an "out of memory" error. I added "ulimit -l unlimited" to the init script which fixed it (it could also be done in limits.conf).