Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/TheBook/src/main/markdown/cookbook-debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This chapter provides an information on how to exam running dCache system, ident

## Java Flight recorder

When debugging an issue on a running system often we need to collect jvm performance stats with `Java flight recorder`. Starting from release 7.2 the Java flight recorder attach listener is enabled by default. Site admins can collect and provide developers with additional information when high CPU load, memory consumption or file descriptor leaks are observed. To enable the `flight recorder` _jcmd_ command is used, which is typically provided as a part of `java-11-openjdk-devel` (on RHEL and clones).
When debugging an issue on a running system often we need to collect jvm performance stats with `Java flight recorder`. Starting from release 7.2 the Java flight recorder attach listener is enabled by default. Site admins can collect and provide developers with additional information when high CPU load, memory consumption or file descriptor leaks are observed. To enable the `flight recorder` _jcmd_ command is used, which is typically provided as a part of `java-17-openjdk-headless` (on RHEL and clones).

To control recoding the following subcommands of _jcmd_ available:

Expand Down Expand Up @@ -111,4 +111,4 @@ Overhead Shared Object Symbol
0.74% [kernel] [k] entry_SYSCALL_64
```

More info on usage perf usage at [perf Examples](https://www.brendangregg.com/perf.html) by Brendan Gregg.
More info on usage perf usage at [perf Examples](https://www.brendangregg.com/perf.html) by Brendan Gregg.
8 changes: 4 additions & 4 deletions docs/TheBook/src/main/markdown/dcache-minimal-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For a minimal test installation:
- At least 500 MiB free disk space

- Software:
- OpenJDK 11
- OpenJDK 17
- Postgres SQL Server 9.5 or later
- ZooKeeper version 3.5 (in case of a standalone ZooKeeper installation)

Expand All @@ -40,11 +40,11 @@ help you with your system specifications. Just contact us: <[email protected]>.

#### Software:

- OpenJDK 11 (java 11 , and java 17 for dCache staring from version 10.1)
- OpenJDK 17 (or OpenJDK 11 for dCache versions before 10.1)

> yum install java-11-openjdk
> yum install java-17-openjdk
>
> dnf install java-11-openjdk-devel
> dnf install java-17-openjdk-devel


- ZooKeeper version 3.7 (in case of a standalone ZooKeeper installation)
Expand Down
4 changes: 2 additions & 2 deletions docs/TheBook/src/main/markdown/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,14 +74,14 @@ rpm -ivh https://www.dcache.org/old/downloads/1.9/repo/##SERIES##/dcache-##VERSI
| 1:dcache-##VERSION##-1 ################################# [100%]
```

For example, `##SERIES##` could be `9.1` and `##VERSION##` could be `9.1.1`.
For example, `##SERIES##` could be `10.1` and `##VERSION##` could be `10.1.1`.

### Installing prerequisite packages

First, install OpenJDK and httpd-tools packages.

```console-root
yum install java-11-openjdk-headless httpd-tools
dnf install java-17-openjdk-headless httpd-tools
```

### Installing PostgreSQL
Expand Down