Your message dated Wed, 10 Aug 2022 12:19:03 +0000
with message-id <[email protected]>
and subject line Bug#896767: fixed in atop 2.7.1-2
has caused the Debian Bug report #896767,
regarding atop on stretch is being started with -R, which can overload high 
trafficked hosts
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
896767: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896767
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: atop
Version: 2.2.6-4
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

Context: Running a baremetal server with 512GB RAM + 10 SSDs disks + 16
Cores + MariaDB 10.1
This database is part of a farm, with other 2 hosts (which are running
Debian 8)

The running kernel is: 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3
(2018-03-02)

This host has been suffering mysterious connections errors happening
every 10 minutes.
During those errors, the following facts were observed:

* Connection errors (hosts not being able to connect to MySQL)
* Packet drops
* Multiple cores going to 100% usage every 10 minutes for some seconds.
* Same hosts on the farm (which receive the same traffic) running Debian
* 8 had no issues whatsoever

This is an ouput of mpstat -P ALL 1 during the errors (filtered to show
only the CPUs going to 100% of %USR:

02:20:04 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal
%guest  %gnice   %idle
02:20:05 PM   11  100.00    0.00    0.00    0.00    0.00    0.00    0.00
0.00    0.00    0.00

02:20:05 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal
%guest  %gnice   %idle
02:20:06 PM    2    0.00    0.00  100.00    0.00    0.00    0.00    0.00
0.00    0.00    0.00

02:20:07 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal
%guest  %gnice   %idle
02:20:08 PM    0    0.00    0.00   99.00    0.00    0.00    1.00    0.00
0.00    0.00    0.00

02:20:08 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal
%guest  %gnice   %idle
02:20:09 PM   13   95.00    0.00    2.00    0.00    0.00    0.00    0.00
0.00    0.00    3.00

02:20:09 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal
%guest  %gnice   %idle
02:20:10 PM   13  100.00    0.00    0.00    0.00    0.00    0.00    0.00
0.00    0.00    0.00

02:20:10 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal
%guest  %gnice   %idle
02:20:11 PM    4  100.00    0.00    0.00    0.00    0.00    0.00    0.00
0.00    0.00    0.00
02:20:11 PM   13  100.00    0.00    0.00    0.00    0.00    0.00    0.00
0.00    0.00    0.00
02:20:12 PM   13  100.00    0.00    0.00    0.00    0.00    0.00    0.00
0.00    0.00    0.00

02:20:12 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal
%guest  %gnice   %idle
02:20:13 PM   13  100.00    0.00    0.00    0.00    0.00    0.00    0.00
0.00    0.00    0.00

02:20:13 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal
%guest  %gnice   %idle
02:20:14 PM   13   91.00    0.00    0.00    0.00    0.00    0.00    0.00
0.00    0.00    9.00

And this was captured during during each atop execution

PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+
COMMAND
 9476 root       0 -20   29232  12300   3540 R  35.1  0.0   5:44.59 atop

PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+
COMMAND
 9476 root       0 -20   29232  12300   3540 R  99.3  0.0   5:47.60 atop

PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+
COMMAND
 9476 root       0 -20   31680  14672   3540 S   5.0  0.0   5:47.75 atop

On Debian 9, atop is being started by default as:
/usr/bin/atop -a -R -w /var/log/atop/atop_20180418 600

Whereas on Debian 8 it is started by default as:
/usr/bin/atop -a -w /var/log/atop/atop_20180424 600

Debian 8 hosts had no issues.
The difference is the -R option, which as per the documentation, it
could be a really expensive operation.
Quoting documentation: 
Since gathering of all values that are needed to calculate the PSIZE is
a relatively time-consuming task, the 'R'  key  (or '-R' flag) should be
active. Gathering these values also requires superuser privileges
(otherwise '?K' is shown in the output).

Starting atop on Debian 9 without -R makes the host to have no problems.

This is a package change from Debian 8 to Debian 9. 
As this option could lead to serious issues, specially on high trafficked
systems, -R should not be enabled by default (as done on Debian 8), or
at least a confirmation/warning should be shown while installing the package

-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages atop depends on:
ii  init-system-helpers  1.48
ii  libc6                2.24-11+deb9u3
ii  libncurses5          6.0+20161126-1+deb9u2
ii  libtinfo5            6.0+20161126-1+deb9u2
ii  lsb-base             9.20161125
ii  zlib1g               1:1.2.8.dfsg-5

Versions of packages atop recommends:
ii  cron [cron-daemon]  3.0pl1-128+deb9u1

atop suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: atop
Source-Version: 2.7.1-2
Done: Marc Haber <[email protected]>

We believe that the bug you reported is fixed in the latest version of
atop, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marc Haber <[email protected]> (supplier of updated atop package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 13 Jul 2022 12:15:08 +0200
Source: atop
Architecture: source
Version: 2.7.1-2
Distribution: unstable
Urgency: medium
Maintainer: Marc Haber <[email protected]>
Changed-By: Marc Haber <[email protected]>
Closes: 896767
Changes:
 atop (2.7.1-2) unstable; urgency=medium
 .
   [ Marc Haber ]
   * we of course need to conflict with acct
   * remove -R from default command line
     upstream has done the same, we're following
     Thanks to Manuel Arostegui (Closes: #896767)
   * fix syntax issue in autopkgtest, add debug output
   * add patch description to atop-rotate-systemctl-path
   * Standards-Version: 4.6.1 (no changes necessary)
   * use https in debian/watch
   * patch some manual page typos flagged by lintian
   * enable all hardening in debian/rules
   * override some lintian warnings
 .
   [ Debian Janitor ]
   * Remove constraints unnecessary since buster
     * atop: Drop versioned constraint on lsb-base in Depends.
     Changes-By: deb-scrub-obsolete
Checksums-Sha1:
 4a2ad77a309956116a2db8e768f803689f8b5d58 1891 atop_2.7.1-2.dsc
 f261addaf6cbc6a6555b7ec9ef7f5c7635ecd247 16188 atop_2.7.1-2.debian.tar.xz
 447844acdd057e5ad72a038f1a49843975c5e653 5852 atop_2.7.1-2_source.buildinfo
Checksums-Sha256:
 190da3107c04c950278008260452d4958e5459ca77367f195941e1dc86949cd8 1891 
atop_2.7.1-2.dsc
 c0b2fbe974d1da93cc589970b763e448782b7ed78490dacdd934d8209889d114 16188 
atop_2.7.1-2.debian.tar.xz
 502b12d04d2ca2de69ceb7832d745b3c04c39a9151a771899162a28bea5c1fbf 5852 
atop_2.7.1-2_source.buildinfo
Files:
 962d00ef2bead4d781db1d1a8aa76f00 1891 admin optional atop_2.7.1-2.dsc
 288c23ae852ee1d6c6740394cc38a50e 16188 admin optional 
atop_2.7.1-2.debian.tar.xz
 5a08101a307ca4dc4fb0635537c1b824 5852 admin optional 
atop_2.7.1-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE6QL5UJ/L0pcuNEbjj3cgEwEyBEIFAmLznXEACgkQj3cgEwEy
BEJS3w//SZQOnVcLku/loIrm9rPu4+C/oxmxUe01cGH/cQez/otlbpoMoj2/G1SM
WKqgi3cCcYcbohB+yuRQkOUSFPDMrvLVnVIVOSjijOaxDgrgmPw3IurJZSVoItCq
4oZG+0vMf3Qi7XAIpBTWbUieh2bH+3ibz1XTNDHY2Fi2MCRrMb3S/7BFW3mbOrQR
wBPWbLToQwqsIe5OqtfmCRGuyPVP7p2HOckzYJh5tGRmCu5Lll8HmkVEwl2GlA5Q
Rk0AwJ7W9Xgx5i8TDqOb+G4sKKf4kldNqhiDsDlsMVU8W6wljdE8m/wyWQlBob5e
srYuMe1oBogxk5AOYbVWYFRTxn9P3KYxZ1n8AnsNcmwynczSS3WiZNPM0MR0zxZF
dIMVyMs36XZM6SYqKMYeYPjpJSG22WKjWn2UVK8UaCIjRPfmHA1GUeRWr3EMCVcr
pQcY15/ETRKxl3GS/QmDo5dRG4IcYGZuEF1mSrK0rlXeeJRO7Ty501aIEdEFfyYL
xATD5OJwcVBgtgUuFASr47ezZIiZXqvCzMPUfdskh5csdHNPV1lYK3y2qFVixUYW
M7lPLE1FrYbOoqwfP2QQsc8HgqUMeXyi92L7oYor9k5HC2da8hj5Gtt3198CfQu3
LzUPSfJJL1JxFiMrp+dfIfpBLjT+BDZwEHdNC52mVI0KrftVyiA=
=+Znh
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to