Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Options to clear user cache

This question is in reference to Atlassian Documentation: JIRA Login fails with 'User exists but has no unique key mapping'

We are facing the problem mentioned in symptom 2 very often. Is there any way to clear the User-Cache, without restarting JIRA?

3 answers

1 accepted

4 votes
Answer accepted

No

Thank you so much!

The command line entry above didn't clear the user cache for me. I have a case where I had to change the user directory of a bunch of users from internal to internal with LDAP, so I changed the directory in cwd_user and cwd_user_attribute. But the cache meant the users still showed as Internal in Confluence. So here's what I did:

  1. Created a new Internal user directory with LDAP auth. I left it at the last rank and didn't actually use it for anything.
  2. Disabled and deleted that user directory

That forced the cache to refresh and the users then showed as part of the new directory in Confluence. That saved us from rebooting.

Run below command on Server. It drops cache without restarting. It worked for us and Jira performance improved.

 

 sync; echo 1 > /proc/sys/vm/drop_caches 

Is there any impact on server(Jira), because of this command????

No, there are no issues.

Actually on the server where do you run this command. I'm new to Jira

That's not the cache the user asking about

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Do you use Jira Cloud with Microsoft Teams?

Hi, Jira users! Do you use Jira alongside Microsoft Teams? We want to hear how you’ve used the power of Jira Cloud and Microsoft Teams (via the Jira Cloud for Microsoft Teams app) to achieve a team...

282 views 1 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you