[j-nsp] commit sync hanging, now config has exclusive lock

Joe Lin jlin at doradosoftware.com
Sat Apr 19 01:40:45 EDT 2003


it is possible that commit sync failed because of the exclusive lock.

you can break exclusive locks with a request command and force the user who currently have the lock to logout.  unfortunately I dont have immediate access to the equipment.

you can also kill the appropriate pids (mgd, and the -cli above it), to break the lock.. or reboot.

-joe


---- billp <billp at wjp.net> wrote:
> Has anyone seen this problem before?  We are running 5.6, today I
> went to do a 'commit sync' after some changes, and it has been hanging
> here for about an hour:
> 
>    [edit]
>    admin at jr1.xxxx# commit synchronize
>    re0: configuration check succeeds
> 
> 
> If I try and configure on other session, it shows the config
> with an exclusive lock
> 
> 
>    admin at jr1.xxxx> configure 
>    Entering configuration mode
>    Users currently editing the configuration:
>      admin terminal p0 (pid 18060) on since 2003-04-18 16:38:21 MST, idle 01:02:12
>       exclusive [edit]
> 
> Any ideas?  Is there a way to nicely kill that commit, and try it
> again?  Is there any way to tell why it is hanging?
> 
> (Of course, this router is not under a support contract.)
> 
> Is there anything in the process list that looks odd?
> 
> root at jr1% ps auxw
> USER    PID %CPU %MEM   VSZ  RSS  TT  STAT STARTED      TIME COMMAND
> root  18340  0.0  0.1  1232  488  p1  R+    5:44PM   0:00.00 ps auxw
> root      1  0.0  0.1   816  520  ??  ILs  25Mar03   0:00.33 /sbin/preinit -- (init)
> root      2  0.0  0.0     0    0  ??  DL   25Mar03   0:02.31  (pagedaemon)
> root      3  0.0  0.0     0    0  ??  DL   25Mar03   0:00.00  (vmdaemon)
> root      4  0.0  0.0     0    0  ??  DL   25Mar03   0:07.06  (bufdaemon)
> root      5  0.0  0.0     0    0  ??  DL   25Mar03   0:46.82  (syncer)
> root      6  0.0  0.0     0    0  ??  DL   25Mar03   0:00.00  (netdaemon)
> root      7  0.0  0.0     0    0  ??  IL   25Mar03   0:00.00  (cb_poll)
> root      8  0.0  0.0     0    0  ??  IL   25Mar03   0:00.00  (if_pfe)
> root      9  0.0  0.0     0    0  ??  DL   25Mar03   0:10.33  (vmuncachedaemon)
> root     10  0.0  0.0     0    0  ??  IL   25Mar03   0:00.00  (if_pfe_listen)
> root    131  0.0  6.5 1575628 50644  ??  ILs  25Mar03   0:00.90 mfs -o noauto /dev/ad1s1b /tmp (newfs)
> root    347  0.0  0.0   408  244  ??  Is   25Mar03   0:00.00 pccardd
> root    371  0.0  0.1  1148  632  ??  Ss   25Mar03   0:23.20 syslogd -s
> root    463  0.0  0.1  1096  620  ??  Ss   25Mar03   0:05.02 cron
> root    496  0.0  0.0   980  308  ??  S    25Mar03   0:06.43 /sbin/watchdog -t180
> root    497  0.0  0.1  1092  548  ??  I    25Mar03   0:00.06 /usr/sbin/tnetd -N
> root    498  0.0  0.7  7636 5756  ??  I    25Mar03   0:34.25 /sbin/dcd -N
> root    499  0.0  0.3  3220 1972  ??  S    25Mar03 136:10.75 /usr/sbin/chassisd -N
> root    500  0.0  0.1  1600  860  ??  S    25Mar03   3:11.41 /usr/sbin/alarmd -N
> root    501  0.0  0.1  1536  704  ??  I    25Mar03   0:00.16 /usr/sbin/craftd -N
> root    504  0.0  0.6 10368 4724  ??  I    25Mar03   0:06.84 /usr/sbin/mgd -N
> root    505  0.0  0.2  2508 1628  ??  S    25Mar03   4:03.96 /usr/sbin/snmpd -N
> root    506  0.0  0.5  4768 3660  ??  S    25Mar03  13:13.72 /usr/sbin/mib2d -N
> root    507  0.0  0.1  1152  692  ??  I    25Mar03   0:00.71 /usr/sbin/inetd -N
> root    508  0.0  0.1  1856  936  ??  I    25Mar03   0:00.93 /usr/sbin/vrrpd -N
> root    509  0.0  0.0   980  352  ??  I    25Mar03   0:04.48 /usr/sbin/tnp.sntpd -N
> root    510  0.0  0.1  1572  884  ??  S    25Mar03   0:29.59 /usr/sbin/pfed -N
> root    511  0.0  0.2  2564 1836  ??  IN   25Mar03   0:00.29 /usr/sbin/sampled -N
> root    512  0.0  0.1  1632  832  ??  I    25Mar03   0:00.78 /usr/sbin/ilmid -N
> root    513  0.0  0.1  2064 1048  ??  I    25Mar03   3:31.69 /usr/sbin/rmopd -N
> root    514  0.0  0.2  2128 1180  ??  I    25Mar03   0:01.03 /usr/sbin/cosd
> root    515  0.0  0.1  1600  940  ??  I    25Mar03   0:01.04 /usr/sbin/nasd -N
> root    516  0.0  0.2  3208 1688  ??  I    25Mar03   0:07.74 /usr/sbin/kmd -N
> root    517  0.0  0.2  1932 1248  ??  S    25Mar03   3:29.89 /usr/sbin/fud -N
> root    518  0.0  0.1  1232  604  ??  I<   25Mar03   0:00.11 /usr/sbin/ppmd -N
> root    519  0.0  0.1  1772 1024  ??  I    25Mar03   0:00.96 /usr/sbin/lmpd
> root    520  0.0  0.1  1028  444  ??  I    25Mar03   0:00.47 /usr/sbin/smartd -N
> root    521  0.0  0.1  1068  496  v0  Is+  25Mar03   0:00.02 /usr/libexec/getty Pc ttyv0
> root    522  0.0  0.1  1068  496  v1  Is+  25Mar03   0:00.01 /usr/libexec/getty Pc ttyv1
> root    523  0.0  0.1  1068  496  v2  Is+  25Mar03   0:00.01 /usr/libexec/getty Pc ttyv2
> root    524  0.0  0.1  1068  496  v3  Is+  25Mar03   0:00.01 /usr/libexec/getty Pc ttyv3
> root    640  0.0 26.4 208468 206132  ??  S    25Mar03 1119:16.17 /usr/sbin/rpd -N
> root    641  0.0  0.1  1668  908  ??  I    25Mar03   0:04.00 /usr/sbin/apsd -N
> root    661  0.0  0.0     0    0  ??  SL   25Mar03   1:49.70  (peer proxy)
> root    670  0.0  0.0     0    0  ??  IL   25Mar03   0:01.70  (peer proxy)
> root    671  0.0  0.0     0    0  ??  SL   25Mar03   1:07.53  (peer proxy)
> root    672  0.0  0.0     0    0  ??  IL   25Mar03   0:02.38  (peer proxy)
> root    673  0.0  0.0     0    0  ??  IL   25Mar03   0:00.08  (peer proxy)
> admin 13920  0.0  0.4  7512 2744  d0  Ss+  11Apr03   0:01.33 -cli (cli)
> root  14208  0.0  0.1  1308  712  ??  S<   11Apr03   0:37.54 /usr/sbin/xntpd -N (ntpd)
> root  18055  0.0  0.2  5084 1608  ??  Is   12:24PM   0:00.51 sshd: admin [priv] (sshd)
> admin 18058  0.0  0.2  5084 1672  ??  I    12:25PM   0:00.44 sshd: admin at ttyp0 (sshd)
> admin 18059  0.0  0.4  7500 2728  p0  Ss+  12:25PM   0:01.02 -cli (cli)
> root  18060  0.0  1.7 18316 13512  ??  Is   12:25PM   0:01.51 mgd: (mgd) (admin)/dev/ttyp0 (mgd)
> root  18119  0.0  0.9 10428 6800  ??  Is    2:37PM   0:00.76 mgd: (mgd) (admin)/dev/ttyd0 (mgd)
> root  18322  0.0  0.2  5084 1668  ??  Ss    5:42PM   0:00.72 sshd: root at ttyp1 (sshd)
> root  18325  0.0  0.2  1948 1284  p1  Ss    5:42PM   0:00.08 -csh (csh)
> root      0  0.0  0.0     0    0  ??  DLs  25Mar03   0:01.31  (swapper)
> 
> bill
> 
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> http://puck.nether.net/mailman/listinfo/juniper-nsp
> 
> 


More information about the juniper-nsp mailing list