Ok, here are the ps results... I can see three cron tasks with the I field set (Interactive?) which is very odd as my backup script doesn't have any input (I've attached the script and the output)
maybe cron isn't able to close the shells it creates to run the jobs properly? Any ideas? --------------------------------- Q-Games, Dylan Cuthbert. http://www.q-games.com "Andrew DeFaria" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Dylan Cuthbert wrote: > > > The problem: > > > > After about a day's work I go to logoff or shutdown and the machine > > just sits there, fully operational and "in the process of logging > > off", so I can't open any new tasks but I can open up a file explorer > > window or the start menu etc. If I wait long enough (and I mean 15 > > minutes to several hours) the machine will eventually log off > > succussfully. > > While in this "in the process of logging off" mode, start the > TaskManager (or better yet have the TaskManager running when you attempt > shutdown), then selectively start killing processes. If you kill a > process and wham you logout that's probably the culprit! > > Note you cannot kill services with the TaskManager. You can either: > Start the Services applet and attempt to shutdown the services or have a > console window running and try net stop "sevice name" or do what I do, > get Process Explorer from SysInternals which allows you to kill services. > > Good luck. > > >
backup-sh.tgz
Description: Binary data
PID PPID PGID WINPID TTY UID STIME COMMAND 1368 1 1368 1368 ? 18 10:46:45 /usr/bin/cygrunsrv 1364 1368 1368 1620 ? 18 10:46:45 /usr/sbin/cron 3892 1 3892 3892 0 12000 11:03:04 /usr/bin/rxvt I 3928 3892 3928 3944 1 12000 11:03:04 /usr/bin/bash I 2396 1364 1368 2396 ? 18 16:00:00 /usr/sbin/cron 2352 2396 2352 2604 ? 12000 16:00:02 /usr/bin/sh 4088 2352 2352 2680 ? 12000 16:00:02 /usr/bin/bash 804 4088 2352 2620 ? 12000 16:42:35 /usr/bin/rsync 1492 804 2352 1492 ? 12000 16:42:35 /usr/bin/rsync I 2640 1364 1368 2640 ? 18 17:00:00 /usr/sbin/cron 3396 2640 3396 2380 ? 12000 17:00:02 /usr/bin/sh 2384 3396 3396 1284 ? 12000 17:00:02 /usr/bin/bash 2328 2384 3396 2928 ? 12000 17:30:10 /usr/bin/rsync 2824 2328 3396 2824 ? 12000 17:30:10 /usr/bin/rsync I 904 1364 1368 904 ? 18 19:00:00 /usr/sbin/cron 2192 904 2192 3076 ? 12000 19:00:03 /usr/bin/sh 3408 2192 2192 2332 ? 12000 19:00:03 /usr/bin/bash 1896 3408 2192 300 ? 12000 19:04:44 /usr/bin/rsync 2488 1896 2192 2488 ? 12000 19:04:45 /usr/bin/rsync 3480 1 3480 3480 4 12000 19:46:39 /usr/bin/rxvt 508 3480 508 3636 5 12000 19:46:39 /usr/bin/bash 2944 508 2944 1944 5 12000 19:48:29 /usr/bin/ps
PID PPID PGID WINPID TTY UID STIME COMMAND 1368 1 1368 1368 ? 18 10:46:45 /usr/bin/cygrunsrv 1912 0 0 1912 ? 0 10:47:38 C:\WINXP\Explorer.EXE 248 0 0 248 ? 0 10:47:39 C:\WINXP\System32\conime.exe 1872 0 0 1872 ? 0 10:47:40 C:\WINXP\System32\ctfmon.exe 704 0 0 704 ? 0 10:47:42 C:\Program Files\Elaborate Bytes\CloneCD\CloneCDTray.exe 612 0 0 612 ? 0 10:47:42 C:\Program Files\D-Tools\daemon.exe 1068 0 0 1068 ? 0 10:47:42 C:\WINXP\SOUNDMAN.EXE 1748 0 0 1748 ? 0 10:47:43 C:\Program Files\Logitech\MouseWare\system\em_exec.exe 588 0 0 588 ? 0 10:47:43 C:\Program Files\QuickTime\qttask.exe 712 0 0 712 ? 0 10:47:44 D:\tools\jajc\jajc.exe 1204 0 0 1204 ? 0 10:47:44 C:\Program Files\Messenger\msmsgs.exe 1236 0 0 1236 ? 0 10:47:45 C:\Program Files\RSNet\RSEDNClient.exe 1572 0 0 1572 ? 0 10:47:45 C:\Program Files\Gigabyte\Gigabyte Windows Utility Manager\gwum.exe 1684 0 0 1684 ? 0 10:47:45 C:\Program Files\SonyPDA\Hotsync.exe 1104 0 0 1104 ? 0 10:47:46 C:\Program Files\OpenOffice.org1.1\program\soffice.exe 492 0 0 492 ? 0 10:47:47 C:\Program Files\One Guy Coding\Vern 3.2\vern32.exe 2972 0 0 2972 ? 0 10:47:59 C:\Program Files\Outlook Express\msimn.exe 3884 0 0 3884 ? 0 11:03:04 C:\WINXP\system32\cmd.exe 3892 1 3892 3892 0 12000 11:03:04 /usr/bin/rxvt 3944 0 0 3944 ? 0 11:03:05 d:\cygwin\bin\bash.exe I 2396 1364 1368 2396 ? 18 16:00:00 /usr/sbin/cron 2604 0 0 2604 ? 0 16:00:03 d:\cygwin\bin\sh.exe 2680 0 0 2680 ? 0 16:00:03 d:\cygwin\bin\bash.exe 2620 0 0 2620 ? 0 16:42:35 d:\cygwin\bin\rsync.exe 1492 804 2352 1492 ? 12000 16:42:35 /usr/bin/rsync I 2640 1364 1368 2640 ? 18 17:00:00 /usr/sbin/cron 2380 0 0 2380 ? 0 17:00:03 d:\cygwin\bin\sh.exe 1284 0 0 1284 ? 0 17:00:03 d:\cygwin\bin\bash.exe 2928 0 0 2928 ? 0 17:30:11 d:\cygwin\bin\rsync.exe 2824 2328 3396 2824 ? 12000 17:30:10 /usr/bin/rsync I 904 1364 1368 904 ? 18 19:00:00 /usr/sbin/cron 3076 0 0 3076 ? 0 19:00:03 d:\cygwin\bin\sh.exe 2332 0 0 2332 ? 0 19:00:03 d:\cygwin\bin\bash.exe 300 0 0 300 ? 0 19:04:45 d:\cygwin\bin\rsync.exe 2488 1896 2192 2488 ? 12000 19:04:45 /usr/bin/rsync 3060 0 0 3060 ? 0 19:46:39 C:\WINXP\system32\cmd.exe 3480 1 3480 3480 4 12000 19:46:39 /usr/bin/rxvt 3636 0 0 3636 ? 0 19:46:39 d:\cygwin\bin\bash.exe 3964 0 0 3964 ? 0 19:48:06 C:\WINXP\system32\cmd.exe 4000 0 0 4000 ? 0 19:48:26 d:\cygwin\bin\ps.exe
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/