openSUSE 13.2 shutdown delay

Hi,
I have 64bit openSUSE 13.2 with KDE4, fresh install on my Acer laptop

Resuming in non X mode: xdpyinfo not found. For package install advice run: inxi --recommends
System:    Host: linux-uezg.site Kernel: 3.16.6-2-desktop x86_64 (64 bit) 
           Desktop KDE 4.14.3 Distro: /etc/SuSE-release corrupted, use -% to override
Machine:   System: Acer (portable) product: Aspire 5739G
           Mobo: Acer model: JM50-MV Bios: Phoenix version: V1.3311 date: 12/21/2009
CPU:       Dual core Intel Core2 Duo CPU P7450 (-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 ssse3) 
           Clock Speeds: 1: 2133.00 MHz 2: 2133.00 MHz
Graphics:  Card: NVIDIA GT216M [GeForce GT 240M] 
           X.org: 1.16.1 drivers: nvidia (unloaded: fbdev,nv,vesa,nouveau) Resolution: 134x36 
Audio:     Card-1: NVIDIA GT216 HDMI Audio Controller driver: snd_hda_intel Sound: ALSA ver: k3.16.6-2-desktop
           Card-2: Intel 82801I (ICH9 Family) HD Audio Controller driver: snd_hda_intel
Network:   Card-1: Intel WiFi Link 5100 driver: iwlwifi 
           IF: wlp5s0 state: up mac: 00:1e:65:ad:93:ca
           Card-2: Qualcomm Atheros AR8131 Gigabit Ethernet driver: atl1c 
           IF: enp9s0 state: down speed: 4294967295 Mbps duplex: unknown mac: 00:26:9e:34:de:15
Drives:    HDD Total Size: 320.1GB (48.4% used) 1: /dev/sda WDC_WD3200BEVT 320.1GB 
Partition: ID: / size: 21G used: 8.5G (43%) fs: btrfs ID: /tmp size: 21G used: 8.5G (43%) fs: btrfs 
           ID: /home size: 21G used: 8.5G (43%) fs: btrfs 
Sensors:   System Temperatures: cpu: 50.0C mobo: N/A gpu: 45C 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 177 Uptime: 0:02 Memory: 505.9/3926.5MB Runlevel: 5 Client: Shell inxi: 1.7.24 

Shutdown is too long. When click to “shutdown” it waits almost 2 minutes.

sudo halt
sudo shutdown -h now
sudo poweroff

doesn’t work.

During the shutting down it says;

a stop job is running for User Manager UID 1000
a stop job is running for User Manager UID 0

and waits here to shutdown the system.

I’m not noticing slow shutdowns.

Shutdown did seem too slow with 13.1, but not with 13.2.

Okay, one exception. On my box with Nvidia graphics, I did have a slow shutdown yesterday. I normally don’t see that, but it did happen yesterday.

I had just run updates, and “systemd” was updated. That might be related. On a “systemd” update, I notice a problem with the user manager processes. What I mostly notice is that shutdown or reboot within KDE doesn’t work – it just logs me out and puts me in the “lightdm” login screen. I then have to shutdown or restart from there.

Hi,
The system is up to date.

sudo zypper up
Loading repository data...
Reading installed packages...

Nothing to do.


sudo zypper patch
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Nothing to do.


about installed systemd version;

systemd-210-25.8.1.x86_64

and that “User Manager for UID 1000”;

 user@1000.service - User Manager for UID 1000    Loaded: loaded (/usr/lib/systemd/system/user@.service; static)    Active: active (running) since Sun 2014-12-07 15:40:41 EET; 5min ago  Main PID: 1143 (systemd)    Status: "Startup finished in 33ms."    CGroup: /user.slice/user-1000.slice/user@1000.service            |-1143 /usr/lib/systemd/systemd --user            `-1144 (sd-pam)                                                           
Dec 07 15:40:41 linux-uezg.site systemd[1143]: pam_unix(systemd-user:session): session opened for user ozturk by (uid=0)

I’m just not having that problem.

Hmm, I do have a script in “$HOME/.kde4/shutdown” which terminates my user manager process on exit. I don’t know if that is relevant.


#! /bin/sh -
 pulseaudio --kill
 systemctl --user exit
exit

I have the same problem.
Sometimes it shut-down fast but mostly it hangs for 2 or 3 minutes.

Apologies for resurrecting this thread, but I didn’t find anything more recent.

I’m having the same issue and I think it’s related to using network manager alongside mounting a network share. Something about the system hanging not being able to connect to the share after network manager has been shut down.

Does anyone with this issue have the same issue have that setup?

For me, 13.2 has been a lot better than 13.1 on shutdown time.

But there was one recent exception. It was taking so long that I forced a power-off.

I am not certain of the cause, but I have a pretty good guess. I had just setup the system as an NFS client, mounting the NFS share with autofs. I only use that share occasionally, so it is usually not mounted. But, on this occasion, I had used it. And NFS performance over WiFi had been quite poor (the computer is some distance from the AP, and there’s another computer in the house that is closer to the AP and was heavily using WiFi at the time). So I think the shutdown hang was related to this NFS mount. In subsequent uses, I have sometimes manually used “umount” before shutdown, and I never had a problem that way (“umount” was on the NFS share). On one occasion, I plugged in an ethernet cable to avoid the poor NFS performance problem. And shutdown was fine then even though I skipped the “umount”).

I’m not sure whether this helps you.

Thanks, it helps.

I used your ~/.kde4/shutdown suggestion earlier and made sure any program using the network share is stopped and then the shares unmounted (needed a permission in sudoers so I can do that with my user).
Now restarts and shutdowns are much much faster.