Upgrade issue

Morning,

since the second to last Webmin upgrade the upgrades (via yum) hasn't been completing correctly and has just been sitting there forever

when im looking at a ps i see the following process, and killing this process does allow the yum command to finally finish....

/usr/bin/perl /usr/libexec/webmin/run-postinstalls.pl virtual-server

how do we work out what is causing this not to complete correctly?

running this command manually also just sits and sits

WEBMIN_CONFIG=/etc/webmin WEBMIN_VAR=/var/webmin /usr/libexec/webmin/run-postinstalls.pl virtual-server

Status: 
Active

Comments

Category: Bug report » Support request
Assigned: Unassigned »

Howdy -- thanks for your report!

I'm passing this over to Jamie for further comment.

enabling notifications lol

hi,

we are still having this issue with the latest version.... it just sits updating forever....

webmin-1.930-1.noarch.rpm | 22 MB 00:00:23 Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : webmin-1.930-1.noarch 1/2

all other package updates work without issue, and its still getting stuck on the run-postinstalls.pl script

hmm after leaving it for 2 hours it finally completed, it seems odd it would take so long?

Yeah that is a bit unusual, though it could be a sign that the system is low on resources.

What is the output of these commands:

uptime
free -m
vmstat 1 10
[root@pikachu ~]# uptime
13:17:55 up 14 days,  6:19,  1 user,  load average: 0.49, 0.38, 0.49
[root@pikachu ~]# free -m
              total        used        free      shared  buff/cache   available
Mem:          16074        5393        2489        2149        8191        7803
Swap:          8071         468        7603
[root@pikachu ~]# vmstat 1 10
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
1  0 479884 2550608  10572 8377228    0    0   161    19    3    2  4  1 95  0  0
0  0 479884 2551996  10572 8377228    0    0     0     0 1633  962  0  0 100  0  0
0  0 479884 2552804  10572 8377228    0    0     0     0 1589  746  0  0 100  0  0
0  0 479884 2552292  10572 8377232    0    0     0    16 2272  973  1  0 99  0  0
2  0 479884 2549500  10572 8377188    0    0     0     0 2983 1363  2  1 97  0  0
0  0 479884 2550664  10572 8377204    0    0   108   236 3524 1888  2  1 96  0  0
1  0 479884 2527768  10572 8378164    0    0   616    44 9174 6711  6  4 89  0  0
1  0 479884 2536108  10572 8378132    0    0     0     0 6364 5163  6  3 91  0  0
0  0 479884 2543116  10572 8378188    0    0     0     0 4503 3853  5  2 93  0  0
0  0 479884 2543132  10572 8378196    0    0     0     0 2353 1348  1  0 99  0  0
[root@pikachu ~]# uptime
13:17:55 up 14 days,  6:19,  1 user,  load average: 0.49, 0.38, 0.49
[root@pikachu ~]# free -m
              total        used        free      shared  buff/cache   available
Mem:          16074        5393        2489        2149        8191        7803
Swap:          8071         468        7603
[root@pikachu ~]# vmstat 1 10
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
1  0 479884 2550608  10572 8377228    0    0   161    19    3    2  4  1 95  0  0
0  0 479884 2551996  10572 8377228    0    0     0     0 1633  962  0  0 100  0  0
0  0 479884 2552804  10572 8377228    0    0     0     0 1589  746  0  0 100  0  0
0  0 479884 2552292  10572 8377232    0    0     0    16 2272  973  1  0 99  0  0
2  0 479884 2549500  10572 8377188    0    0     0     0 2983 1363  2  1 97  0  0
0  0 479884 2550664  10572 8377204    0    0   108   236 3524 1888  2  1 96  0  0
1  0 479884 2527768  10572 8378164    0    0   616    44 9174 6711  6  4 89  0  0
1  0 479884 2536108  10572 8378132    0    0     0     0 6364 5163  6  3 91  0  0
0  0 479884 2543116  10572 8378188    0    0     0     0 4503 3853  5  2 93  0  0
0  0 479884 2543132  10572 8378196    0    0     0     0 2353 1348  1  0 99  0  0

Hmm, yeah nothing really stands out there, that looks fairy normal.

Jamie will have a better idea of what's going on there, I'll ping him to see if he can take a peek at this.

Did you happen to run pstree -l -p during the upgrade to see what commands were being run?

Also, do you have a lot of Virtualmin domains on this system?

i didnt, i can next time though

im at 90 sites at the moment

Yeah, I'd be interested to see that pstree output.