---
title: How to collect a NetWitness Malware Analysis Thread Dump
description: "Issue\nI need to collect a Malware Analysis Java threadDump.\n\nTasks\nJava thread dump should be collected if system is STUCK such as Malware Service han"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/how-to-collect-an-rsa-netwitness-spectrum-and-rsa-security-analytics-malware-analysis-thread-dump#main-content)

![NW Logo](https://mydev.netwitness.com/hs-fs/hubfs/Portal-Partner%20Program/AssetFiles/NW%20Logo%20(2).png?width=180&height=32&name=NW%20Logo%20(2).png)

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

Open main navigation

Close main navigation

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [NetWitness Knowledge Base](https://mydev.netwitness.com/knowledge-base?hsLang=en)
2. [Break Fix](https://mydev.netwitness.com/knowledge-base/break-fix?hsLang=en)

April 30, 2026

# How to collect a NetWitness Malware Analysis Thread Dump

#### Issue

I need to collect a Malware Analysis Java threadDump.

#### Tasks

 Java thread dump should be collected if system is STUCK such as Malware Service hang, Analysis Rate slow and Performance degraded issue before performing a service restart as it will not contain any useful information after the service restart.

It should be run manually as nwtech won't collect the thread dump.

#### Resolution

**How to collect Java threaddump**   
 

 1\. SSH to Malware/Spectrum appliance   
2\. Check the service process ID owned by root (in this case, PID is 2005) with the following command:   
  

 \[root@malware ~\]# ps -ef |grep malware

Example output:

**root**       **2005**     1  0 Apr14 ?        00:00:00 sudo -u rsamalware /usr/bin/java -Xms2382M -Xmx4288M -Djetty.home=/var/lib/netwitness/rsamalware/jetty -Djava.io.tmpdir=/tmp -Djava.library.path=/var/lib/netwitness/rsamalware/lib -Dcom.rsa.netwitness.carlos.CONFIG\_XML=true -XX:+UnlockDiagnosticVMOptions -XX:+LogVMOutput -XX:LogFile=/tmp/rsaMalwareDeviceVM.log -XX:NewSize=400M -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+OptimizeStringConcat -XX:+AggressiveHeap -XX:+UseAdaptiveGCBoundary -XX:MaxGCPauseMillis=2000 -Djdk.tls.ephemeralDHKeySize=2048 -jar /var/lib/netwitness/rsamalware/jetty/start.jar --pre=etc/jetty-logging.xml --daemon   
498       2031  2005  0 Apr14 ?        00:30:17 /usr/bin/java -Xms2382M -Xmx4288M -Djetty.home=/var/lib/netwitness/rsamalware/jetty -Djava.io.tmpdir=/tmp -Djava.library.path=/var/lib/netwitness/rsamalware/lib -Dcom.rsa.netwitness.carlos.CONFIG\_XML=true -XX:+UnlockDiagnosticVMOptions -XX:+LogVMOutput -XX:LogFile=/tmp/rsaMalwareDeviceVM.log -XX:NewSize=400M -XX:PermSize=128m -XX:MaxPermSize=256m -XX:+OptimizeStringConcat -XX:+AggressiveHeap -XX:+UseAdaptiveGCBoundary -XX:MaxGCPauseMillis=2000 -Djdk.tls.ephemeralDHKeySize=2048 -jar /var/lib/netwitness/rsamalware/jetty/start.jar --pre=etc/jetty-logging.xml --daemon   
root     32617 32579  0 10:13 pts/0    00:00:00 grep malware   
 

 3\. If the previous Thread Dump exists and you need to back up, please copy it to another location. This is because generating a new Thread Dump will overwrite the previous output. (DO NOT run with mv.) 

Thread Dump Output : /var/lib/rsamalware/spectrum/logs/rsaMalwareDeviceVM.log    
\[root@malware ~\]# cp /var/lib/rsamalware/spectrum/logs/rsaMalwareDeviceVM.log /root/   
 

 4\. Generate Thread Dump with kill -3. The process won't be killed or restarted. No Malware/Spectrum service intervention.   
  

 \[root@malware ~\]# kill -3 **2005**   
 

 5\. Compare timestamp of the output with system time to double check if it was generated as of now. There are many cases where the outputs were not generated properly in case of Malware service hang. If the threaddump has old timestamp, it means the collection was not properly executed due to picking up wrong pid or unavailable due to the service hang. 

6\. Open a JIRA case with the Thread Dump to get it investigated.

![a58722\_1.png](https://mydev.netwitness.com/hubfs/Knowledge%20Base%20Import/rta_0_74a4f0d0-e458-4a91-8ce6-5c2f89bc3fcd.jpg)

#### Internal Comments

 UserName:bairoa1   
6/19/2012 6:00:36 PM - Solution Number 00000595   
Solution Number 00000595

UserName:shurtj   
8/25/2014 9:48:11 PM - Updated Article   
Updated article and made changes to abide by Primus best practices.

#### Product Details

**RSA Product Set:** NetWitness and Security Analytics   
**RSA Product/Service Type:** Spectrum and Malware Analysis

#### Approval Reviewer Queue

Technical approval queue

[![Netwitness Logo](https://mydev.netwitness.com/hs-fs/hubfs/Quote%20Template%20-%20NW%20Logo/Netwitness%20Logo.png?width=158&height=42&name=Netwitness%20Logo.png "Netwitness Logo")](https://mydev.netwitness.com/?hsLang=en)

<https://www.linkedin.com/company/netwitness-platform/> <https://www.youtube.com/@netwitness>

Copyright © 2026, NetWitness LLC. All rights reserved.

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.