Running daily backup to remote FTP, backup sucess, but job still in memorry small pice running processes: One process/day After month take 1.5 gb memory, need manually reboot server or kill processes. 17956 root 46264 kB /usr/bin/perl /usr/share/webmin/virtual-server/backup.pl --id 1247...... 18263 root 46264 kB /usr/bin/perl /usr/share/webmin/virtual-server/backup.pl --id 1247...... 18333 root 46264 kB /usr/bin/perl /usr/share/webmin/virtual-server/backup.pl --id 1247...... 25916 root 46264 kB /usr/bin/perl /usr/share/webmin/virtual-server/backup.pl --id 1247...... 27677 root 46264 kB /usr/bin/perl /usr/share/webmin/virtual-server/backup.pl --id 1247...... 29763 root 46264 kB /usr/bin/perl /usr/share/webmin/virtual-server/backup.pl --id 1247...... 30267 root 46264 kB /usr/bin/perl /usr/share/webmin/virtual-server/backup.pl --id 1247......
What problem can be ?
Comments
Submitted by JamieCameron on Sat, 02/20/2010 - 20:49 Comment #1
That is odd - I haven't seen that before.
I would be interested to see the output from the following commands :
strace -p 30267
lsof -p 30267
Submitted by arunas on Sun, 02/21/2010 - 05:20 Comment #2
server:~# strace -p 30267
Process 30267 attached - interrupt to quit
read(3, here stops, then after press ctrl+c
<unfinished ...>
Process 30267 detached
server:~#
server:~# lsof -p 30267
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
backup.pl 30267 root cwd DIR 0,76 20480 92160053 /usr/share/webmin/virtual-server
backup.pl 30267 root rtd DIR 0,76 4096 83659337 /
backup.pl 30267 root txt REG 0,76 1254016 91937367 /usr/bin/perlbackup.pl 30267 root mem REG 8,5 91937367 /usr/bin/perl (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91939519 /usr/lib/libz.so.1.2.3.3 (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91939449 /usr/lib/libmysqlclient.so.15.0.0 (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91940666 /usr/lib/perl5/auto/DBD/mysql/mysql.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91940198 /usr/lib/perl/5.10.0/auto/List/Util/Util.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91940668 /usr/lib/perl5/auto/DBI/DBI.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91936318 /lib/libnss_files-2.7.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91936321 /lib/libnss_nis-2.7.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91936315 /lib/libnsl-2.7.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91936316 /lib/libnss_compat-2.7.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91940189 /usr/lib/perl/5.10.0/auto/File/Glob/Glob.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91940204 /usr/lib/perl/5.10.0/auto/POSIX/POSIX.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91940188 /usr/lib/perl/5.10.0/auto/Fcntl/Fcntl.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91936302 /lib/libcrypt-2.7.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91936295 /lib/libc-2.7.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91936329 /lib/libpthread-2.7.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91936311 /lib/libm-2.7.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91936305 /lib/libdl-2.7.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91940377 /usr/lib/perl/5.10.0/auto/Socket/Socket.so (path dev=0,76)
backup.pl 30267 root mem REG 8,5 91936287 /lib/ld-2.7.so (path dev=0,76)
backup.pl 30267 root 0r FIFO 0,5 453648127 pipe
backup.pl 30267 root 1w FIFO 0,5 453648128 pipe
backup.pl 30267 root 2w FIFO 0,5 453648128 pipe
backup.pl 30267 root 3u IPv4 453686129 TCP server.my-domain-replaced.com:36714->78.xxx.xxx.xxx:ftp (ESTABLISHED)
Submitted by JamieCameron on Sun, 02/21/2010 - 19:29 Comment #3
Ok, so from that it looks like backup.pl is still waiting on a response from the remote FTP server.
Are you sure the backup completes OK? If so, do you get an email message containing the backup results, or does it appear on the Backup Logs page?