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

Hanging run-parts



Hello, my cron.daily scripts turned to zombies everyday.
I described this problem in debian-user, but didn't get any answers.

11300 ?        S      0:03 /usr/sbin/cron
 3390 ?        SW     0:00  \_ /USR/SBIN/CRON
 3393 ?        SW     0:00  |   \_ /bin/sh -c test -e /usr/sbin/anacron ||
run-parts --report /etc/cron.daily 2>&1 | mail -s "[Log]
 3403 ?        SW     0:00  |       \_ run-parts --report /etc/cron.daily
 4373 ?        Z      0:00  |       |   \_ [man-db <defunct>]
 3404 ?        SW     0:00  |       \_ mail -s [Log] Daily report from Maul
 7789 ?        SW     0:00  \_ /USR/SBIN/CRON
 7792 ?        SW     0:00  |   \_ /bin/sh -c test -e /usr/sbin/anacron ||
run-parts --report /etc/cron.daily 2>&1 | mail -s "[Log]
 7798 ?        SW     0:00  |       \_ run-parts --report /etc/cron.daily
 8129 ?        Z      0:00  |       |   \_ [exim <defunct>]
 7799 ?        SW     0:00  |       \_ mail -s [Log] Daily report from Maul
 1343 ?        SW     0:00  \_ /USR/SBIN/CRON
 1347 ?        SW     0:00      \_ /bin/sh -c test -e /usr/sbin/anacron ||
run-parts --report /etc/cron.daily 2>&1 | mail -s "[Log]
 1351 ?        SW     0:00          \_ run-parts --report /etc/cron.daily
 2541 ?        Z      0:00          |   \_ [find <defunct>]
 1352 ?        SW     0:00          \_ mail -s [Log] Daily report from Maul
 1365 ?        SW     0:00  \_ /USR/SBIN/CRON
 1366 ?        SW     0:00      \_ /bin/sh -c test -e /usr/sbin/anacron ||
run-parts --report /etc/cron.daily 2>&1 | mail -s "[Log]
 1367 ?        SW     0:00          \_ run-parts --report /etc/cron.daily
 2560 ?        Z      0:00          |   \_ [proftpd <defunct>]
 1361 ?        SW     0:00          \_ mail -s [Log] Daily report from Maul

ps afx output after 4 days of my vacation.
cron.daily scripts are standart except backup and site_index
-----------------------------------------
maul:/lib/modules# ls /etc/cron.daily/
backup  calendar  exim  find  man-db  modutils  netbase  proftpd  quota
samba  site_index  standard  sysklogd
-----------------------------------------
backup - uses TOB to backup all changed data on hard disk and transfer
gzipped tar to my comp via samba mount.
site_index - uses mnogosearch (www.mnogosearch.org) to index some local
sites

Both scripts doesn't turn to zombies, it's some standart script everyday.
cron.daily starts at 9pm.

I will try to separate my scripts to my own cron.mydaily directory today.
But behavior is bad, because system has free resourses
-----------------------------------------
maul:/lib/modules# free
             total       used       free     shared    buffers     cached
Mem:        256100     251608       4492          0       1864      32892
-/+ buffers/cache:     216852      39248
Swap:       511132      54572     456560
-----------------------------------------


---
Sergey "BeerBong" Polyakov
chief of WebZavod (http://www.webzavod.ru)




Reply to: