After a failed space XML import, I want to increase the open file descriptors limit of the Confluence user, as suggested on this Atlassian KB:
and on this:
However, there are no instructions where exactly to insert the value - "ulimit -n 10000" - in the file.
Can anyone tell me how it should be done?
Anywhere you know the line will be executed.
setenv.sh is a script that varies by install and settings by site, so they can't just give you a copy, they are relying on you having a basic understanding of scripts
Most simple place - insert it into the first empty lines at the top of the file.
I've already tried just inserting it in the first empty line, but it didn't work out. That's why I thought it has to be inserted in a specific way.
I tried it again now , and this time, on restarting the service, noticed this message:
"/opt/atlassian/confluence/bin/setenv.sh: line 2: ulimit: open files: cannot modify limit: Operation not permitted"
I searched this message, and it figures I have to set the limit for confluence user also on /etc/security/limits.conf .
I might've tried it before, unless it's said everywhere those settings (on /etc/security/limits.conf) are not for system services. (is that related to the service process gets its limit from its parent process?)
Anyway - thanks - you helped me solve the issue.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, Jessica here from the Confluence Product Marketing team! July’s community challenge is all about sharing pictures — and as an extension of our first post on what ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs