mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update Memcached.md
This commit is contained in:
parent
39740898d8
commit
ee1f885e50
@ -4,7 +4,7 @@ sidebar_position: 3
|
||||
|
||||
# Memcached
|
||||
|
||||

|
||||

|
||||
|
||||
Memcached is a high-performance, distributed memory caching system. It is often used to speed up dynamic database-driven websites and applications by caching data in memory.
|
||||
|
||||
@ -16,16 +16,20 @@ You have the options to enable or disable the Memcached service as needed. Disab
|
||||
|
||||
Enabling the Memcached service will start the service using the default Memcached port, which is _11211_.
|
||||
|
||||

|
||||

|
||||
|
||||
## Set Memory Limits
|
||||
|
||||
Memcached, by default, does not impose memory limits and can utilize available RAM memory without constraints. To prevent Memcached from consuming all available memory, it is recommended to establish a maximum memory limit.
|
||||
Upon initialization the Memcached container has default memory limits set, it is advisable to set memory limits appropriate to your use case and needs.
|
||||
|
||||
You can set these limits on the /containers interface which is accessible through the user panel navigation on Docker/containers .
|
||||
|
||||
:::info
|
||||
Changing the memory limit will necessitate the service to restart to apply the new restrictions, resulting in the removal of all existing cache data.
|
||||
:::
|
||||
|
||||

|
||||
|
||||
## Connect to Memcached
|
||||
|
||||
To establish a connection to your Memcached instance, use the following details:
|
||||
@ -84,5 +88,5 @@ To implement Memcached caching for your WordPress website, you'll need a dedicat
|
||||
|
||||
You have the option to access the Memcached service logs. By doing so, you can identify any service errors or check for memory usage and limits.
|
||||
|
||||

|
||||

|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user