NCache Manager
Troubleshooting
Software Settings
Cache Management
Tech Support

Changing settings in NCache Manager doesn't apply

Master System Design with Codemia

Enhance your system design skills with over 120 practice problems, detailed solutions, and hands-on exercises.

NCache is a prominent in-memory distributed caching solution which boosts application performance by temporarily storing vital data near the application, reducing calls to more sluggish storage mediums like databases. NCache Manager is the centralized configuration and management tool for NCache servers, facilitating configuration changes, monitoring, and fine-tuning cache settings through a user-friendly interface. Despite its intuitive design, some users experience issues where changes made in NCache Manager do not take effect as expected. Understanding why this might happen is crucial for effective troubleshooting and ensuring optimal performance from your caching architecture.

Reasons for Settings Not Applying

There are several reasons why settings changes made in NCache Manager might not apply immediately or at all. Below are some common scenarios:

1. Cache Configuration Not Refreshed

After you make changes in NCache Manager, these modifications must be propagated to all cache server nodes. If the cache servers do not pick up the new configuration, the old settings will continue to prevail. Changes might involve cache size, eviction policy, or even more complex features like replication strategies and query indexing.

Solution: Manually refresh the cache settings or restart the cache clusters to enforce the new configuration settings.

2. Administrative Rights and Permissions

Changes in settings often require administrative privileges. If the credentials used in NCache Manager lack necessary permissions, changes might not be committed.

Solution: Ensure that the account used to operate NCache Manager has adequate administrative rights to modify configurations.

3. Configuration File Locking

In some cases, the configuration files (like config.ncconf) can be locked by another process, which may prevent updates from being written effectively.

Solution: Check for any process that might be using the configuration file and close those processes.

4. Bugs or Glitches in the Manager

Like any software, NCache Manager might exhibit bugs leading to erratic behavior such as not applying settings correctly.

Solution: Check for updates or patches for NCache Manager which might address known issues. You can also contact the support team for specific bug-related queries.

Technical Example

Consider a scenario where an administrator wants to update the eviction policy from LRU (Least Recently Used) to LFU (Least Frequently Used) within NCache Manager. After navigating to the appropriate menu and making the change, they find that the cache behavior does not reflect the new policy.

xml
1<!-- Before change: LRU Eviction Policy -->
2<eviction policy="lru" />
3
4<!-- After change: LFU Eviction Policy -->
5<eviction policy="lfu" />

Here, even though the change is visible in the configuration file, it might not have been propagated to all nodes due to any of the issues mentioned above, making it seem like the settings haven't been applied.

Summary Table

IssuePotential CauseSolution
Settings not applyingCache configuration not refreshedRefresh cache settings or restart the cache cluster
Insufficient administrative privilegesEnsure proper rights are granted
Configuration files locked by another processIdentify and close processes using the files
Bugs or glitches in NCache ManagerUpdate or contact support

Additional Details

For those managing large, distributed cache environments, maintaining consistency in settings across all nodes is vital. Tools like the "Apply configuration to all cache servers" option can help ensure uniformity. Technology consultants recommend using command line tools in conjunction with NCache Manager for finer control when needed.

Finally, keeping a log of all changes made in the NCache Manager can be useful for auditing and troubleshooting past actions. This proactive measure helps administrators understand past environment states, valuable in complex systems where many changes might be applied over time.

To sum up, ensuring that changes made in NCache Manager effectively apply requires a comprehensive understanding of how settings propagate across the network, attentive management of user permissions, and good practices in monitoring and updating the tools used for cache management.


Course illustration
Course illustration

All Rights Reserved.