Displaying 5 results from an estimated 5 matches for "7eb96efb".
2023 Jun 14
1
[Nut-upsuser] Upssched 100% CPU after updating Debian 12
...eturns 0, if the socket had an
orderly shutdown.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/nut-upsdev/attachments/20230614/7eb96efb/attachment.sig>
2023 Jun 13
0
Upssched 100% CPU after updating Debian 12
So... determining that FD is to be reaped proved hard. Internet lore
suggests fcntl() and poll() on the FD, but it just seems valid to them. The
errno is also usually not raised (once I saw a "111: Connection refused"
though).
So the best dumb idea so far is to bail out if we spent the whole loop (128
attempts) and only got zero-sized read replies and no errors.
2023 Jun 13
0
Upssched 100% CPU after updating Debian 12
So... determining that FD is to be reaped proved hard. Internet lore
suggests fcntl() and poll() on the FD, but it just seems valid to them. The
errno is also usually not raised (once I saw a "111: Connection refused"
though).
So the best dumb idea so far is to bail out if we spent the whole loop (128
attempts) and only got zero-sized read replies and no errors.
2023 Jun 13
3
Upssched 100% CPU after updating Debian 12
After launching the command several times, with debug (posted by new code
in a new branch for the investigation) confirming that the same daemon
handles operations from the new client instances, its strace now has
numerous FDs to report after select() - so I guess it is a problem of
detecting an exit of the counterpart.
0.000000 [D2] parse_at: is 'heartbeat at localhost' in AT
2023 Jun 13
3
Upssched 100% CPU after updating Debian 12
After launching the command several times, with debug (posted by new code
in a new branch for the investigation) confirming that the same daemon
handles operations from the new client instances, its strace now has
numerous FDs to report after select() - so I guess it is a problem of
detecting an exit of the counterpart.
0.000000 [D2] parse_at: is 'heartbeat at localhost' in AT