• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Jibi U. · Dec 11, 2014 at 01:56 AM ·

High swap usage on DT Server

 

 

What could be the cause? This doesn't happen open and when it happens, I restart the server... What else can I be doing? 

 

free -mt
             total       used       free     shared    buffers     cached
Mem:         48294      48170        124          0          8      10062
-/+ buffers/cache:      38099      10195
Swap:         2047       1884        163
Total:       50342      50054        287

 

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                             

25309 dynatrac  19   0 15.5g  14g  16m S  8.7 31.0  33692:11 java

 

ps -ef | grep 25309 

---------------------------------------------------

4250  3237  0 08:44 pts/1    00:00:00 grep 25309

546      25309 25283 99 Nov25 pts/0    23-09:32:18 /home/dynatrace/dynatrace-5.6.0/jre/bin/java -Xmx14080M -Xms14080M -XX:MaxPermSize=256M -XX:PermSize=256M -XX:+UseConcMarkSweepGC -XX:+DisableExplicitGC -XX:CMSInitiatingOccupancyFraction=60 -XX:CMSIncrementalSafetyFactor=40 -XX:+CMSClassUnloadingEnabled -Djava.endorsed.dirs=lib/endorsed -Djava.awt.headless=true -Dosgi.configuration.area=osgi -Dosgi.checkConfiguration=true -Dosgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@3:start, com.dynatrace.diagnostics.serverbootstrap.jar@4:start, org.eclipse.equinox.event@start, org.eclipse.equinox.ds@start -Declipse.ignoreApp=true -Dosgi.noShutdown=true -Djava.util.logging.manager=com.dynatrace.diagnostics.util.modern.LogManager -Dorg.osgi.framework.language=en -Dosgi.framework.extensions=com.dynatrace.diagnostics.bootstrap.hook -Dosgi.nl=en_US -Dosgi.nl.user=en_US -Duser.country=US -Duser.language=en -DproxyHost -DproxyPort -Dhttp.proxyUser -Dhttp.proxyPassword -server -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+UseStringCache -XX:-UseBiasedLocking -Dcom.dynatrace.diagnostics.memory.corridorUpperLimit=90 -Dcom.dynatrace.diagnostics.memory.corridorReductionArea=85 -Dcom.dynatrace.diagnostics.memory.corridorNeutralArea=75 -Dcom.dynatrace.diagnostics.server.realtime.maxWorkerThreads=8 -Dcom.dynatrace.diagnostics.repository.cleanup.measurementhigh.delete.groupsize=20 -Dcom.dynatrace.diagnostics.repository.debugcleanupjob=true -Dcom.dynatrace.diagnostics.repository.cleanup.baseline.delete.groupsize=10 -Dcom.dynatrace.diagnostics.completenessTimeout=360 -Dcom.dynatrace.diagnostics.WatchDogTimeout=180 -agentpath:/home/dynatrace/dynatrace-5.6.0/server/lib/libdtserverhelperagent.so -Dosgi.os=linux -Dosgi.ws=gtk -Dosgi.arch=x86 -Dcom.dynatrace.diagnostics.WatchDogPort=50015 -jar /home/dynatrace/dynatrace-5.6.0/server/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -name dtserver -showsplash -launcher /home/dynatrace/dynatrace-5.6.0/dtserver

 

Jibi

 

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

2 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Jibi U. · Dec 11, 2014 at 02:59 AM

Server memory usage has not changed as per the self monitoring dash. There are few collectors on the box. They also don't show anything out of the norm. 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Jibi U. · Dec 11, 2014 at 07:18 AM

Thanks to a colleague, got some details.... pasting below for all future such questions..

---------------------------------------------------------------------------------------------

We are not worried about a server using swap when there is plenty of memory available in the system cache/buffers.  Applications do not cause swapping and it is pointless to point out which apps are using the most swap.  Their use of swap is a result of something else requesting real memory ( most likely someone using "vim" or "less" looking at a large log files, file copying, a deployment, etc) so the kernel decided to use swap instead of giving up its buffers or cache.

Swapping is controlled by the kernel /proc/sys/vm/swappiness parameter.

swappiness
A value from 0 to 100 which controls the degree to which the system swaps. A high value prioritizes
system performance, aggressively swapping processes out of physical memory when they are not
active. A low value prioritizes interactivity and avoids swapping processes out of physical memory for
as long as possible, which decreases response latency. The default value is 60.


If there is > 512mb to 1gb of free memory in buffers/cache then swapping is not a problem. 

 

 

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A