Task Queuing System Stalled

Black Hole

May contain traces of nut
I have just logged on to HDR4 to copy across some MP3s to use in the car, and found that although recent recordings are queued for decrypt and MP3 conversion, nothing has actually happened for several days. auto.log shows the tasks being queued, and the task queue viewer shows the tasks - but the fist item in the queue (decryption) is displayed as "RUNNING" - from four days ago!

The WebIF front-page machine status shows "Decrypting". The media browser does not show the file is "in use" (but neither does it have the decrypted icon).

I suspect I need a reset to sort this out, but is there anything you want me to look at first?
 
I checked, and the situation remains:

Code:
HDRFOX4# ps -ef                                                                                                      
UID        PID  PPID  C STIME TTY          TIME CMD                                                                  
root         1     0  0 Mar03 ?        00:00:02 init                                                                  
root         2     1  0 Mar03 ?        00:00:03 [migration/0]                                                        
root         3     1  0 Mar03 ?        00:00:00 [ksoftirqd/0]                                                        
root         4     1  0 Mar03 ?        00:00:04 [migration/1]                                                        
root         5     1  0 Mar03 ?        00:00:00 [ksoftirqd/1]                                                        
root         6     1  0 Mar03 ?        00:00:00 [events/0]                                                            
root         7     1  0 Mar03 ?        00:00:00 [events/1]                                                            
root         8     1  0 Mar03 ?        00:00:00 [khelper]                                                            
root         9     1  0 Mar03 ?        00:00:00 [kthread]                                                            
root        10     9  0 Mar03 ?        00:00:01 [kblockd/0]                                                          
root        11     9  0 Mar03 ?        00:00:00 [kblockd/1]                                                          
root        12     9  0 Mar03 ?        00:00:00 [khubd]                                                              
root        13     9  0 Mar03 ?        00:00:00 [kseriod]                                                            
root        14     9  0 Mar03 ?        00:01:04 [pdflush]                                                            
root        15     9  0 Mar03 ?        00:01:08 [pdflush]                                                            
root        16     9  0 Mar03 ?        00:00:54 [kswapd0]                                                            
root        17     9  0 Mar03 ?        00:00:00 [aio/0]                                                              
root        18     9  0 Mar03 ?        00:00:00 [aio/1]                                                              
root        19     9  0 Mar03 ?        00:00:00 [ata/0]                                                              
root        20     9  0 Mar03 ?        00:00:00 [ata/1]                                                              
root        21     9  0 Mar03 ?        00:00:00 [ata_aux]                                                            
root        22     9  0 Mar03 ?        00:00:00 [scsi_eh_0]                                                          
root        23     9  0 Mar03 ?        00:00:00 [scsi_eh_1]                                                          
root        24     1  0 Mar03 ?        00:01:28 [mtdblockd]                                                          
root        25     9  0 Mar03 ?        00:00:00 [kpsmoused]                                                          
root        26     1  0 Mar03 ?        00:00:00 /bin/sh /etc/init.d/rcS                                              
root        87     1  0 Mar03 ?        00:00:01 [jffs2_gcd_mtd1]                                                      
root        88     1  0 Mar03 ?        00:00:00 [jffs2_gcd_mtd2]                                                      
nobody     160     1  0 Mar03 ?        00:00:00 /usr/bin/dnsmasq                                                      
root       167     1  0 Mar03 ?        00:00:00 /sbin/utelnetd -l /bin/sh -p 23 -d -b                                
root       245    26  0 Mar03 ?        00:00:00 /bin/sh /etc/init.d/S90settop start                                  
root       273   245 33 Mar03 ?        15-23:22:35 /usr/bin/humaxtv                                                  
root       695     1  0 Mar03 ?        00:00:00 tinyftp -i HumaxFTP -p 0000 -c /media                                
root       785     9  0 Mar03 ?        00:00:29 [kjournald]                                                          
root       929     9  0 Mar03 ?        00:03:32 [kjournald]                                                          
root      1010     9  0 Mar03 ?        00:00:04 [kjournald]                                                          
root      1477     1  0 Mar03 ?        00:04:26 /mod/sbin/crond                                                      
root      1509     1  0 Mar03 ?        00:00:00 /mod/sbin/lighttpd -f /mod/etc/lighttpd/server.conf                  
root      1511  1509  0 Mar03 ?        00:00:07 /mod/sbin/lighttpd -f /mod/etc/lighttpd/server.conf                  
root      1512  1509  0 Mar03 ?        00:00:09 /mod/sbin/lighttpd -f /mod/etc/lighttpd/server.conf                  
root      1538     1  0 Mar03 ?        00:00:00 /mod/sbin/atd                                                        
root      1580     1  0 Mar03 ?        00:00:00 /bin/sh /mod/etc/init.d/S54recmon start                              
root      1585  1580  0 Mar03 ?        00:00:02 /mod/sbin/recmon -D /media/My Video                                  
root      1630     1  0 Mar03 ?        00:00:00 /bin/sh /mod/etc/init.d/S60parseepg start                            
root      1633  1630  0 Mar03 ?        06:29:52 /mod/bin/epg -f /mnt/hd1/dvbepg/epg.dat sqlitedumpd /mnt/hd1/epg.db  
nobody    1640     1  0 Mar03 ?        00:00:00 /mod/boot/2/webshell/shellinaboxd -t --css=/mod/webif/plugin/webshell/v
nobody    1657  1640  0 Mar03 ?        00:00:00 /mod/boot/2/webshell/shellinaboxd -t --css=/mod/webif/plugin/webshell/v
root      1694     1  0 Mar03 ?        00:00:00 /mod/mediatomb/sbin/mediatomb -d -P /var/run/mediatomb.pid -m /mod/medi
root      1695  1694  0 Mar03 ?        00:00:05 /mod/mediatomb/sbin/mediatomb -d -P /var/run/mediatomb.pid -m /mod/medi
root      1696  1695  0 Mar03 ?        00:04:05 /mod/mediatomb/sbin/mediatomb -d -P /var/run/mediatomb.pid -m /mod/medi
root      1803     1  0 Mar03 ?        00:00:00 /mod/sbin/smbd -D                                                    
root      1828     1  0 Mar03 ?        00:05:57 /mod/sbin/nmbd -D                                                    
root      1837  1695  0 Mar03 ?        00:00:12 /mod/mediatomb/sbin/mediatomb -d -P /var/run/mediatomb.pid -m /mod/medi
root      1839  1695  0 Mar03 ?        00:02:57 /mod/mediatomb/sbin/mediatomb -d -P /var/run/mediatomb.pid -m /mod/medi
root      1933  1695  0 Mar03 ?        00:00:01 /mod/mediatomb/sbin/mediatomb -d -P /var/run/mediatomb.pid -m /mod/medi
root      1935  1695  0 Mar03 ?        00:00:14 /mod/mediatomb/sbin/mediatomb -d -P /var/run/mediatomb.pid -m /mod/medi
root      1936  1695  0 Mar03 ?        00:00:07 /mod/mediatomb/sbin/mediatomb -d -P /var/run/mediatomb.pid -m /mod/medi
root     16445  1803  0 Apr15 ?        00:00:31 /mod/sbin/smbd -D                                                    
root     20655  1803  0 Apr15 ?        00:00:43 /mod/sbin/smbd -D                                                    
root     17146  1477  0 Apr16 ?        00:00:00 /bin/sh -c /mod/webif/lib/auto/deq >/dev/null 2>&1                    
root     17150 17146  0 Apr16 ?        00:00:00 /mod/bin/jimsh /mod/webif/lib/auto/deq                                
root     17164 17150  0 Apr16 ?        00:00:00 wget -O /mod/tmp/webif_autoq/The Archers_20170416_1859.ts http://127.0.
root     31259  1803  0 Apr18 ?        00:00:19 /mod/sbin/smbd -D                                                    
root      1284  1695  0 17:02 ?        00:00:00 /mod/mediatomb/sbin/mediatomb -d -P /var/run/mediatomb.pid -m /mod/medi
root      1733  1695  0 17:24 ?        00:00:00 /mod/mediatomb/sbin/mediatomb -d -P /var/run/mediatomb.pid -m /mod/medi
root      1951  1657  0 17:26 pts/0    00:00:00 /bin/sh /bin/tmenu                                                    
root      1992  1951  0 17:26 pts/0    00:00:00 /bin/sh -l                                                            
root      2002  1477  0 17:27 ?        00:00:00 [sh] <defunct>                                                        
root      2003  1477  0 17:27 ?        00:00:00 [sh] <defunct>                                                        
root      2005  1477  0 17:27 ?        00:00:00 [sh] <defunct>                                                        
root      2011  1992  0 17:27 pts/0    00:00:00 ps -ef                                                                
HDRFOX4# pstree                                                                                                      
init-+-S54recmon---recmon                                                                                            
     |-S60parseepg---epg                                                                                              
     |-atd                                                                                                            
     |-crond---sh---deq---wget                                                                                        
     |-dnsmasq                                                                                                        
     |-events/0                                                                                                      
     |-events/1                                                                                                      
     |-jffs2_gcd_mtd1                                                                                                
     |-jffs2_gcd_mtd2                                                                                                
     |-khelper                                                                                                        
     |-ksoftirqd/0                                                                                                    
     |-ksoftirqd/1                                                                                                    
     |-kthread-+-aio/0                                                                                                
     |         |-aio/1                                                                                                
     |         |-ata/0                                                                                                
     |         |-ata/1                                                                                                
     |         |-ata_aux                                                                                              
     |         |-kblockd/0                                                                                            
     |         |-kblockd/1                                                                                            
     |         |-khubd                                                                                                
     |         |-3*[kjournald]                                                                                        
     |         |-kpsmoused                                                                                            
     |         |-kseriod                                                                                              
     |         |-kswapd0                                                                                              
     |         |-2*[pdflush]                                                                                          
     |         |-scsi_eh_0                                                                                            
     |         `-scsi_eh_1                                                                                            
     |-lighttpd---2*[lighttpd]                                                                                        
     |-mediatomb---mediatomb---8*[mediatomb]                                                                          
     |-migration/0                                                                                                    
     |-migration/1                                                                                                    
     |-mtdblockd                                                                                                      
     |-nmbd                                                                                                          
     |-rcS---S90settop---humaxtv---113*[{humaxtv}]                                                                    
     |-shellinaboxd---shellinaboxd---tmenu---sh---pstree                                                              
     |-smbd---3*[smbd]                                                                                                
     |-tinyftp                                                                                                        
     `-utelnetd                                                                                                      
HDRFOX4#
 
I had this also and re-enabling content sharing seems to have sorted it on my machine. It is now proceeding through the the decrypt queue.
 
Last edited:
WebIF thinks content share is enabled, but I'm not going to fiddle until af123 has all the data he needs to see why WebIF is confused about the current status of the unit.
 
|-crond---sh---deq---wget
It isn't that webif is confused. The wget process hasn't finished for some reason and it's waiting for that.
A quick strace run on wget might provide some insight..

strace -p 17164

might produce lots of output. Stop with control+C.

I suspect this might just be one of those things though. On a box that shuts down and starts up regularly it would sort itself out.

You can kick it by killing the wget process (pkill wget). That may cause the queueing system to mark it as failed in which case you can re-submit it via the queue screen.
 
Back
Top