[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

why does apt-mirror's service always running even after scheduled



Hi,

On Squeeze AMD64, apt-mirror seems to always run even after configured with below config in crontab

# crontab -l

# m h  dom mon dow   command
* 0-7 * * * /root/sync-mirror
* 0-12 * * 6,0 /root/sync-mirror

# cat /root/sync-mirror
su - apt-mirror -c apt-mirror >> mirror.log

# netstat -tuanp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      782/portmap    
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      1666/sshd      
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      1545/exim4     
tcp        0      0 0.0.0.0:58464           0.0.0.0:*               LISTEN      794/rpc.statd  
tcp        0      0 10.0.0.125:42274        91.189.92.170:80        ESTABLISHED 8370/wget      
tcp        0      0 10.0.0.125:22           10.0.0.129:50105        ESTABLISHED 25767/0        
tcp6       0      0 :::80                   :::*                    LISTEN      25992/apache2  
tcp6       0      0 :::22                   :::*                    LISTEN      1666/sshd      
tcp6       0      0 ::1:25                  :::*                    LISTEN      1545/exim4     
udp        0      0 0.0.0.0:111             0.0.0.0:*                           782/portmap    
udp        0      0 0.0.0.0:58800           0.0.0.0:*                           794/rpc.statd  
udp        0      0 0.0.0.0:68              0.0.0.0:*                           1719/dhclient  
udp        0      0 0.0.0.0:970             0.0.0.0:*                           794/rpc.statd

the mirror server constantly use around 500 Mbps of bandwidth although this is a local mirror hosted in my work place where only 3 debian and ubuntu users including me.



--
Regards,

Umarzuki Mochlis
http://debmal.my

Reply to: