delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/17/06:50:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: "Dylan Cuthbert" <dylan AT q-games DOT com>
Subject: Re: long timeouts on shutdown/log off
Date: Fri, 17 Oct 2003 19:50:34 +0900
Lines: 186
Message-ID: <bmohhs$edd$1@sea.gmane.org>
References: <bmning$uq6$1 AT sea DOT gmane DOT org> <bmnmm3$53r$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Note-from-DJ: This may be spam

------=_NextPart_000_0073_01C394E7.EDD96730
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

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" <Andrew AT DeFaria DOT com> wrote in message
news:bmnmm3$53r$1 AT sea DOT gmane DOT org...
> 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.
>
>
>

------=_NextPart_000_0073_01C394E7.EDD96730
Content-Type: application/octet-stream;
	name="backup-sh.tgz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="backup-sh.tgz"

H4sIAExpiz8AA+2UbW/TMBDH+3aV+h2OLIgHyUlWulXaKGLQIk1iG2pBCE1T5SZOa61xQuxsVFX5
7NhOsrVDDAHaeHO/N8t8d767/507oeFFkXly1rg/gp0g6O7uNoKg3X3RCcq/9n9LuxN0GkG322nv
7QZ7nbb2b7e7QQOCe6zpmkIqmgM0osWcijv8kotpnhbZQ5T0kGw/8idc+BMqZ61mq/nhc3/87uj9
oDexe0GjhAsvu4qa/cHo47h/NOzZI1KaZXM4+nLydvxpNBiuR+iLtkHOGcsgTnPIqYjSBGiSFkJB
GoPiCQOV6s9YMgUxnzOgYcikZNJUwWM4OwPH3XGg1wOHkIiFqZgyqRw4Pz8ANWOi1dwqM7hn7vDw
pH967O8E561mzFs2/TSnE+MIZV2gEykuphLiXNdiDIVk+RNZ2YlOEPMpRDw38WEE331vw2SOkwtt
B5LVQRlVM+lFrWYuFyIE8hUIBVPunCl2/UForJgO0+5SXqV5REzHPXdZq70Cd3mj5Op1pe7+vrus
dV/57tIYTw6PByt/ozB/sxjwKgFS3aVe2ekM6HxuO/aMC8iMhTzmIVU8FVZ8K7qZlLHbaXBxq0X/
uQ0+gCgtrw/TbGEv5SKcF5EeoIiAfSu/TQppJkxB0pjZJIImTA+NhbMUiIBXXhVofDfOq0uq83IX
iNQS1dU9tqWs6gvWV2IrzPTe/MrTgVtJzbLclaHu5/cZKk+dYbP8eh31qC5Zrqxi/dORVdoIFC6m
V1wYny27Q2Nj6Dnu05frWVbOM+cnDx1qbyGFcb2xlc4macZyPdVk7Rk8WlPaeaOP9JMA/To24oGA
yRZRxW4Ks8tNchYWueSXZrnNK5Z/te2EVGMg9jGuD0XbKgEr25qct9v801dDC5XWv1ymsSgVtsH/
/RuMIAiCIAiCIAiCIAiCIAiCIAiCIAiCIAjyL/wAt8N16wAoAAA=

------=_NextPart_000_0073_01C394E7.EDD96730
Content-Type: text/plain;
	name="psa.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="psa.txt"

      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND=0A=
     1368       1    1368       1368    ?   18 10:46:45 =
/usr/bin/cygrunsrv=0A=
     1364    1368    1368       1620    ?   18 10:46:45 /usr/sbin/cron=0A=
     3892       1    3892       3892    0 12000 11:03:04 /usr/bin/rxvt=0A=
I    3928    3892    3928       3944    1 12000 11:03:04 /usr/bin/bash=0A=
I    2396    1364    1368       2396    ?   18 16:00:00 /usr/sbin/cron=0A=
     2352    2396    2352       2604    ? 12000 16:00:02 /usr/bin/sh=0A=
     4088    2352    2352       2680    ? 12000 16:00:02 /usr/bin/bash=0A=
      804    4088    2352       2620    ? 12000 16:42:35 /usr/bin/rsync=0A=
     1492     804    2352       1492    ? 12000 16:42:35 /usr/bin/rsync=0A=
I    2640    1364    1368       2640    ?   18 17:00:00 /usr/sbin/cron=0A=
     3396    2640    3396       2380    ? 12000 17:00:02 /usr/bin/sh=0A=
     2384    3396    3396       1284    ? 12000 17:00:02 /usr/bin/bash=0A=
     2328    2384    3396       2928    ? 12000 17:30:10 /usr/bin/rsync=0A=
     2824    2328    3396       2824    ? 12000 17:30:10 /usr/bin/rsync=0A=
I     904    1364    1368        904    ?   18 19:00:00 /usr/sbin/cron=0A=
     2192     904    2192       3076    ? 12000 19:00:03 /usr/bin/sh=0A=
     3408    2192    2192       2332    ? 12000 19:00:03 /usr/bin/bash=0A=
     1896    3408    2192        300    ? 12000 19:04:44 /usr/bin/rsync=0A=
     2488    1896    2192       2488    ? 12000 19:04:45 /usr/bin/rsync=0A=
     3480       1    3480       3480    4 12000 19:46:39 /usr/bin/rxvt=0A=
      508    3480     508       3636    5 12000 19:46:39 /usr/bin/bash=0A=
     2944     508    2944       1944    5 12000 19:48:29 /usr/bin/ps=0A=

------=_NextPart_000_0073_01C394E7.EDD96730
Content-Type: text/plain;
	name="psW.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="psW.txt"

      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND=0A=
     1368       1    1368       1368    ?   18 10:46:45 =
/usr/bin/cygrunsrv=0A=
     1912       0       0       1912    ?    0 10:47:38 =
C:\WINXP\Explorer.EXE=0A=
      248       0       0        248    ?    0 10:47:39 =
C:\WINXP\System32\conime.exe=0A=
     1872       0       0       1872    ?    0 10:47:40 =
C:\WINXP\System32\ctfmon.exe=0A=
      704       0       0        704    ?    0 10:47:42 C:\Program =
Files\Elaborate Bytes\CloneCD\CloneCDTray.exe=0A=
      612       0       0        612    ?    0 10:47:42 C:\Program =
Files\D-Tools\daemon.exe=0A=
     1068       0       0       1068    ?    0 10:47:42 =
C:\WINXP\SOUNDMAN.EXE=0A=
     1748       0       0       1748    ?    0 10:47:43 C:\Program =
Files\Logitech\MouseWare\system\em_exec.exe=0A=
      588       0       0        588    ?    0 10:47:43 C:\Program =
Files\QuickTime\qttask.exe=0A=
      712       0       0        712    ?    0 10:47:44 =
D:\tools\jajc\jajc.exe=0A=
     1204       0       0       1204    ?    0 10:47:44 C:\Program =
Files\Messenger\msmsgs.exe=0A=
     1236       0       0       1236    ?    0 10:47:45 C:\Program =
Files\RSNet\RSEDNClient.exe=0A=
     1572       0       0       1572    ?    0 10:47:45 C:\Program =
Files\Gigabyte\Gigabyte Windows Utility Manager\gwum.exe=0A=
     1684       0       0       1684    ?    0 10:47:45 C:\Program =
Files\SonyPDA\Hotsync.exe=0A=
     1104       0       0       1104    ?    0 10:47:46 C:\Program =
Files\OpenOffice.org1.1\program\soffice.exe=0A=
      492       0       0        492    ?    0 10:47:47 C:\Program =
Files\One Guy Coding\Vern 3.2\vern32.exe=0A=
     2972       0       0       2972    ?    0 10:47:59 C:\Program =
Files\Outlook Express\msimn.exe=0A=
     3884       0       0       3884    ?    0 11:03:04 =
C:\WINXP\system32\cmd.exe=0A=
     3892       1    3892       3892    0 12000 11:03:04 /usr/bin/rxvt=0A=
     3944       0       0       3944    ?    0 11:03:05 =
d:\cygwin\bin\bash.exe=0A=
I    2396    1364    1368       2396    ?   18 16:00:00 /usr/sbin/cron=0A=
     2604       0       0       2604    ?    0 16:00:03 =
d:\cygwin\bin\sh.exe=0A=
     2680       0       0       2680    ?    0 16:00:03 =
d:\cygwin\bin\bash.exe=0A=
     2620       0       0       2620    ?    0 16:42:35 =
d:\cygwin\bin\rsync.exe=0A=
     1492     804    2352       1492    ? 12000 16:42:35 /usr/bin/rsync=0A=
I    2640    1364    1368       2640    ?   18 17:00:00 /usr/sbin/cron=0A=
     2380       0       0       2380    ?    0 17:00:03 =
d:\cygwin\bin\sh.exe=0A=
     1284       0       0       1284    ?    0 17:00:03 =
d:\cygwin\bin\bash.exe=0A=
     2928       0       0       2928    ?    0 17:30:11 =
d:\cygwin\bin\rsync.exe=0A=
     2824    2328    3396       2824    ? 12000 17:30:10 /usr/bin/rsync=0A=
I     904    1364    1368        904    ?   18 19:00:00 /usr/sbin/cron=0A=
     3076       0       0       3076    ?    0 19:00:03 =
d:\cygwin\bin\sh.exe=0A=
     2332       0       0       2332    ?    0 19:00:03 =
d:\cygwin\bin\bash.exe=0A=
      300       0       0        300    ?    0 19:04:45 =
d:\cygwin\bin\rsync.exe=0A=
     2488    1896    2192       2488    ? 12000 19:04:45 /usr/bin/rsync=0A=
     3060       0       0       3060    ?    0 19:46:39 =
C:\WINXP\system32\cmd.exe=0A=
     3480       1    3480       3480    4 12000 19:46:39 /usr/bin/rxvt=0A=
     3636       0       0       3636    ?    0 19:46:39 =
d:\cygwin\bin\bash.exe=0A=
     3964       0       0       3964    ?    0 19:48:06 =
C:\WINXP\system32\cmd.exe=0A=
     4000       0       0       4000    ?    0 19:48:26 =
d:\cygwin\bin\ps.exe=0A=


------=_NextPart_000_0073_01C394E7.EDD96730
Content-Type: text/plain; charset=us-ascii

--
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/
------=_NextPart_000_0073_01C394E7.EDD96730--


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019