Memcached on AWS ElastiCache swap usage high even after rebootmemcached memory usage difference on 32- and...
Which aircraft had such a luxurious-looking navigator's station?
How to tighten battery clamp?
How to avoid being sexist when trying to employ someone to function in a very sexist environment?
chrony vs. systemd-timesyncd – What are the differences and use cases as NTP clients?
Why do members of Congress in committee hearings ask witnesses the same question multiple times?
Skis versus snow shoes - when to choose which for travelling the backcountry?
Is divide-by-zero a security vulnerability?
How do I construct an nxn matrix?
Why does the author believe that the central mass that gas cloud HCN-0.009-0.044 orbits is smaller than our solar system?
Multiplication via squaring and addition
Auto Insert date into Notepad
Is there a German word for “analytics”?
Contradiction with Banach Fixed Point Theorem
Is there any relevance to Thor getting his hair cut other than comedic value?
Linear regression when Y is bounded and discrete
How to deny access to SQL Server to certain login over SSMS, but allow over .Net SqlClient Data Provider
Use comma instead of & in table
How to count occurrences of Friday 13th
I encountered my boss during an on-site interview at another company. Should I bring it up when seeing him next time?
If a druid in Wild Shape swallows a creature whole, then turns back to her normal form, what happens?
How can I handle a player who pre-plans arguments about my rulings on RAW?
Does music exist in Panem? And if so, what kinds of music?
How can I be pwned if I'm not registered on that site?
Has the Isbell–Freyd criterion ever been used to check that a category is concretisable?
Memcached on AWS ElastiCache swap usage high even after reboot
memcached memory usage difference on 32- and 64-bitMemcached memory usageMy ubuntu server can ping and ssh can connect, but ssh can't do the authuncation and haltMemcached possibly leaking memoryNginx+PHP-FPM+APC+Varnish+Memcached: High Mem/Swap consumption?Memcached on same servers as websitesUnexpected(?) high 'wasted' memory in memcachedUsage of swap partition in ec2 container service (AWS, Docker) really not possible?Avoiding swap on ElastiCache RedisAWS RDS: random spikes in Freeable Memory and Swap Usage
I have Memcached t2.small node on AWS Elasticache and because the swap was running high about 190 megabytes, so a few days ago I have added a second node.
That did not help and the swap usage and everything else was running pretty much unchanged even though I have added the second node.
The new node is using very little memory and no swap usage at all. This morning I have rebooted the original node and while everything was cleared, the swap usage dropped from 190 to only about 52 megabytes.
The questions are:
Why the swap was not cleared to zero?
Why still 50Mb swap usage if there is all that free memory after the reboot?
Not that it makes a big difference, but I was expecting the swap to be completely flushed, especially since the new node is running for 5 days without any swap.
Image showing the drop to 50Mb after reboot.

amazon-web-services elastic-beanstalk memcached redis
New contributor
WayBehind is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I have Memcached t2.small node on AWS Elasticache and because the swap was running high about 190 megabytes, so a few days ago I have added a second node.
That did not help and the swap usage and everything else was running pretty much unchanged even though I have added the second node.
The new node is using very little memory and no swap usage at all. This morning I have rebooted the original node and while everything was cleared, the swap usage dropped from 190 to only about 52 megabytes.
The questions are:
Why the swap was not cleared to zero?
Why still 50Mb swap usage if there is all that free memory after the reboot?
Not that it makes a big difference, but I was expecting the swap to be completely flushed, especially since the new node is running for 5 days without any swap.
Image showing the drop to 50Mb after reboot.

amazon-web-services elastic-beanstalk memcached redis
New contributor
WayBehind is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Is having swap causing a problem? My understanding is an operating system will put blocks into swap that it hasn't used for some time, freeing memory for useful data. I think having more data in swap is a good thing, leaving more memory for caching, rather than say having unused device drivers sitting in RAM.
– Tim
6 hours ago
add a comment |
I have Memcached t2.small node on AWS Elasticache and because the swap was running high about 190 megabytes, so a few days ago I have added a second node.
That did not help and the swap usage and everything else was running pretty much unchanged even though I have added the second node.
The new node is using very little memory and no swap usage at all. This morning I have rebooted the original node and while everything was cleared, the swap usage dropped from 190 to only about 52 megabytes.
The questions are:
Why the swap was not cleared to zero?
Why still 50Mb swap usage if there is all that free memory after the reboot?
Not that it makes a big difference, but I was expecting the swap to be completely flushed, especially since the new node is running for 5 days without any swap.
Image showing the drop to 50Mb after reboot.

amazon-web-services elastic-beanstalk memcached redis
New contributor
WayBehind is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I have Memcached t2.small node on AWS Elasticache and because the swap was running high about 190 megabytes, so a few days ago I have added a second node.
That did not help and the swap usage and everything else was running pretty much unchanged even though I have added the second node.
The new node is using very little memory and no swap usage at all. This morning I have rebooted the original node and while everything was cleared, the swap usage dropped from 190 to only about 52 megabytes.
The questions are:
Why the swap was not cleared to zero?
Why still 50Mb swap usage if there is all that free memory after the reboot?
Not that it makes a big difference, but I was expecting the swap to be completely flushed, especially since the new node is running for 5 days without any swap.
Image showing the drop to 50Mb after reboot.

amazon-web-services elastic-beanstalk memcached redis
amazon-web-services elastic-beanstalk memcached redis
New contributor
WayBehind is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
WayBehind is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited 2 hours ago
WayBehind
New contributor
WayBehind is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 6 hours ago
WayBehindWayBehind
1011
1011
New contributor
WayBehind is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
WayBehind is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
WayBehind is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Is having swap causing a problem? My understanding is an operating system will put blocks into swap that it hasn't used for some time, freeing memory for useful data. I think having more data in swap is a good thing, leaving more memory for caching, rather than say having unused device drivers sitting in RAM.
– Tim
6 hours ago
add a comment |
Is having swap causing a problem? My understanding is an operating system will put blocks into swap that it hasn't used for some time, freeing memory for useful data. I think having more data in swap is a good thing, leaving more memory for caching, rather than say having unused device drivers sitting in RAM.
– Tim
6 hours ago
Is having swap causing a problem? My understanding is an operating system will put blocks into swap that it hasn't used for some time, freeing memory for useful data. I think having more data in swap is a good thing, leaving more memory for caching, rather than say having unused device drivers sitting in RAM.
– Tim
6 hours ago
Is having swap causing a problem? My understanding is an operating system will put blocks into swap that it hasn't used for some time, freeing memory for useful data. I think having more data in swap is a good thing, leaving more memory for caching, rather than say having unused device drivers sitting in RAM.
– Tim
6 hours ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "2"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
WayBehind is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f956712%2fmemcached-on-aws-elasticache-swap-usage-high-even-after-reboot%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
WayBehind is a new contributor. Be nice, and check out our Code of Conduct.
WayBehind is a new contributor. Be nice, and check out our Code of Conduct.
WayBehind is a new contributor. Be nice, and check out our Code of Conduct.
WayBehind is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Server Fault!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f956712%2fmemcached-on-aws-elasticache-swap-usage-high-even-after-reboot%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Is having swap causing a problem? My understanding is an operating system will put blocks into swap that it hasn't used for some time, freeing memory for useful data. I think having more data in swap is a good thing, leaving more memory for caching, rather than say having unused device drivers sitting in RAM.
– Tim
6 hours ago