- 384.5K All Categories
- 2.5K Data
- 552 Big Data Appliance
- 1.9K Data Science
- 451.3K Databases
- 222.1K General Database Discussions
- 32 Multilingual Engine
- 561 MySQL Community Space
- 479 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.1K ORDS, SODA & JSON in the Database
- 561 SQLcl
- 4K SQL Developer Data Modeler
- 187.5K SQL & PL/SQL
- 21.4K SQL Developer
- 296.9K Development
- 1 Application Development
- 18 Developer Projects
- 140 Programming Languages
- 293.6K Development Tools
- 112 DevOps
- 3.1K QA/Testing
- 646.2K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 193 Java Community Process
- 106 Java 25
- 22.1K Java APIs
- 138.2K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 21 Java Essentials
- 166 Java 8 Questions
- 86K Java Programming
- 81 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 206 Java User Groups
- 532 LiveLabs
- 39 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.7K Other Languages
- 2.3K Chinese
- 178 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 236 Portuguese
JMC 7.1 not recognizing socket write events.
I am a great fan of the JMC tool having used it for a few years.
I switched to using JMC7.1 recently in combination with JDK11.
Using JFR a profile was captured for a Tomcat Http server. HTTPS requests are being processed. Requests are generated using a load driver. The client driver asserts the response contains expected text. So I'm sure the HTTP server is processing requests correctly.
I have noticed with an opened JFR profile after selecting the "Socket I/O" Outline View I am present with a page that should display reads and writes.
Reads I can see.
The issue is Socket Writes are missing completely.
When I look at the "Event Browser" > "Java Application" > "Socket Write" statistics the value is 0. Whereas for "Socket Read" I have 59.
The profile configuration file when using JFR is the bundled "profile.jfc" with JDK11. Here is an excerpt of the configuration file
<event name="jdk.SocketWrite"> <setting name="enabled">true</setting> <setting name="stackTrace">true</setting> <setting name="threshold" control="socket-io-threshold">10 ms</setting> </event>
I looked at the bugs database for JMC project and did not find a reported issue.
Details of my platform are:
$ uname -aLinux f30lite 5.4.12-100.fc30.x86_64 #1 SMP Wed Jan 15 00:38:53 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux$
OpenJDK version used to capture the JFR profile
$ java -versionopenjdk version "11.0.5" 2019-10-15OpenJDK Runtime Environment 18.9 (build 11.0.5+10)OpenJDK 64-Bit Server VM 18.9 (build 11.0.5+10, mixed mode, sharing)$
JDK Mission Control 7.1.0+fedora(Qualifier: 202003132059, Change id: 9c1257c91ebf)18.104.22.168003132059
Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
Is there anything I should check in my configuration or JVM ?