Hello,
Since updating wapt + debian following the wiki procedure, my python process is always at 99.9%:
771 wapt 20 0 198608 83228 13776 R 99,9 4,1 5:20.27 python
I restart the service, it works fine for 30s then it goes into a loop.
By running `strace -f -p pid`, we see that at the moment the CPU goes haywire, there's an avalanche of calls in an infinite loop:
(3, [],
0
1023
epoll_wait
)
`
=
0`
,1023, 0) = 0
epoll_wait(3, [], 1023, 0) = 0
epoll_wait(3, [], 1023, 0) = 0
epoll_wait(3, [], 1023, 0) = 0
I am running on an ESX, I tried changing the type of network card: switching to e1000 but it didn't change anything.
Best regards
Versions:
Debian 9.11
Kernel: 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3+deb9u1 (2019-09-20) x86_64 GNU/Linux
WAPT Server version: 1.7.4
WAPT Agent version: 1.7.4.6223
WAPT Setup version: 1.7.4.6223
WAPT Deploy version: 1.7.4.6223
Database status: OK (1.7.4.0)
[RESOLVED] CPU at 99%
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Hello,
we have just identified the problem.
We have upgraded some libraries to the latest version. However, one of the libraries is causing an issue.
A fix for the library has just been released:
https://github.com/miguelgrinberg/pytho ... CHANGES.md
Prevent heavy CPU usage when decoding payloads:
https://github.com/miguelgrinberg/pytho ... 8454f5e50e
We will be releasing a new version of wapt today.
Simon
we have just identified the problem.
We have upgraded some libraries to the latest version. However, one of the libraries is causing an issue.
A fix for the library has just been released:
https://github.com/miguelgrinberg/pytho ... CHANGES.md
Prevent heavy CPU usage when decoding payloads:
https://github.com/miguelgrinberg/pytho ... 8454f5e50e
We will be releasing a new version of wapt today.
Simon
- sfonteneau
- WAPT Expert
- Messages: 2318
- Registered: July 10, 2014 - 11:52 PM
- Contact :
Can you try this version?
https://wapt.tranquil.it/wapt/nightly/w ... -b30b1b1a/
No need to upgrade the agents
https://wapt.tranquil.it/wapt/nightly/w ... -b30b1b1a/
No need to upgrade the agents
There is a fix in the wapt-1.7.4.6229 release.
https://wapt.tranquil.it/wapt/releases/wapt-1.7.4.6229/
https://wapt.tranquil.it/wapt/releases/wapt-1.7.4.6229/
Tranquil IT
