I need to clear the cache from production? What is the best way?

Ravish Shetty
Tera Guru

I need to clear the cache from production so that a property change gets reflected.

We restarted the nodes but it did not work.

We are considering doing a manual cache flush by hitting 'https://my_instance.service-now.com/cache.do' during non business hours.

Is it the correct way? Will this clear the cache on all nodes?

Edit: Node restart did clear the cache. There was a miscommunication in our team.

8 REPLIES 8

Hi Anurag,



As you mention invoking a cache.do will clear the cache of the current node that you are on.


Additionally cache.do will also run on all the other nodes - so you invoke a cache.do on one node and it automagically runs on all the other nodes.




Best Regards




Tony


tony_barratt
ServiceNow Employee
ServiceNow Employee

Hi Ravio,



As mentioned in this thread, restarting the nodes should have done the job.



What unexpected behavior are you are seeing?


You are defining a property in the sys_properties table and then try and use this property - yes?


Could you supply details? Maybe with a screen shot?



Best Regards



Tony


It appears that there was some miscommunication.


We wanted to change the value of a property.


We thought the property value was changed but its change did not get reflected so we performed a node restart suspecting old cache as the reason.


The change still not took place. Ultimately we found out that the property was not changed in the first place.


Thanks for clearing that up


-Anurag