Mailinglist Archive: opensuse-factory (745 mails)

< Previous Next >
Re: [opensuse-factory] Re: zypper hangs when done
On Tuesday 30 January 2018 11:32:03 Jan Engelhardt wrote:
On Tuesday 2018-01-30 09:55, Andreas Schwab wrote:
On Jan 30 2018, "H.Merijn Brand" <h.m.brand@xxxxxxxxx> wrote:
On Leap 42.3 I notice that zypper up/patch hangs at the end. If I look
at the process stack, I see things like

0 19778 08:43:40 0:00:09 zypper --no-refresh patch -l
0 23992 08:53:53 0:00:00 lsof -n -FpcuLRftkn0
0 23993 08:53:53 0:00:00 lsof -n -FpcuLRftkn0

This is probably part of the `zypper ps' functionality to find out about
deleted files still in use.

And if that happens to run into dead NFS/sshfs/etc. mounts?

You can disable these automated ps-calls in /etc/zypp/zypper.conf
---------------------------------------------------------
[commit]

## Post commit check for processes/services using old/deleted files
##
## Like 'zypper ps', the post commit check for processes/services using
## old/deleted files calls 'lsof'. On some systems 'lsof' seems to perform
## very slow, and the check takes up to several minutes. Due to this it's
## possible to disable the automatic check after each commit. Explicit calls
## to 'zypper ps' are not affected by this option.
##
## Valid values: boolean
## Default value: yes
##
psCheckAccessDeleted = no
---------------------------------------------------------

--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres SUSE LINUX GmbH, Development, ma@xxxxxxxx
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 74 053-0
+------------------------------------------------------------------+
SUSE Linux GmbH, GF: Felix Imend├Ârffer, Jane Smithard, Graham Norton
HRB 21284 (AG N├╝rnberg)
+------------------------------------------------------------------+
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups