Re: cygrunsrv taking near all cpu time

2004-03-08 Thread Christopher Faylor
On Mon, Mar 08, 2004 at 07:52:31AM +, Christian Weinberger wrote:
Gregory Borota [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]: 
From your message I understand the problem is caused by Panda Antivirus
not cygrunsrv

That seems to me more a philosophical question.  The development team
may decide if they consider it worth the time looking into this.

The development team doesn't really care if an antivirus package causes
cygwin to misbehave since it seems clear that the antivirus package
shouldn't be interfering with normal programs.

cgf

--
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/



Re: cygrunsrv taking near all cpu time

2004-03-07 Thread Christian Weinberger
Gregory Borota [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]: 

  From your message I understand the problem is caused by Panda
  Antivirus 
 not cygrunsrv
 

That seems to me more a philosophical question. The development team may 
decide if they consider it worth the time looking into this.

Just to complete what I found out:
I wasn´t sure it it may only be a cygrunsrv issue. So I replaced cygrunsrv 
by the microsoft tool srvany to run sshd. With this configuration sshd was 
the process on 100% cpu load.

So it seems to be specific to the cygwin runtim dll and not to cygrunsrv 
only.

Christian


--
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/



Re: cygrunsrv taking near all cpu time

2004-03-05 Thread Gregory Borota
From your message I understand the problem is caused by Panda Antivirus
not cygrunsrv
I also had in the past some minor issues with McAfee
(halting one postinstall script, causing cygwin to run slower, etc.).
From my experience antivirus software would cause problems not only with
cygwin but also lots of native programs.
Greg

You wrote on 3/5/2004 1:50 AM:
- Original Message -
From: Larry Hall cygwin-lh at cygwin.com
 1. Turn off your anti-virus and see if that helps.



I had exaclty the same issue with Panda Antivirus. It happened with Panda 2004 
and with the recend version of the old release, I think 2.0.5. Older versions 
worked fine (2.0.4) but will get updated automatically.

After playing a bit around with setting dependencies on services, I had no 
success and gave up. In the end I dropped Panda and moved to NOD32 which runs 
very well up till now.

PS: It is definitely cygrunsrv that causes the problem. I have few daemons 
running (sshd, fetchmail) and all had the same problem.

Regards,
Christian
--
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/


cygrunsrv taking near all cpu time

2004-03-04 Thread mnicolet
I installed the latest version of cygwin on Win2000 SP 4.
I am starting sshd as a service.
cygrunsrv takes up near all CPU time, and does not allow any other
thing to run.
The only way to cope is stopping the service.
What am I doing the wrong way ?
Te setting up was ( in bash ) cigrunsrv -S sshd.
TIA
Marcelo


--
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/



Re: cygrunsrv taking near all cpu time

2004-03-04 Thread Brian Ford
On Thu, 4 Mar 2004, mnicolet wrote:

 I installed the latest version of cygwin on Win2000 SP 4.
 I am starting sshd as a service.
 cygrunsrv takes up near all CPU time, and does not allow any other
 thing to run.
 The only way to cope is stopping the service.
 What am I doing the wrong way ?

For starters, you are not following the problem reporting guidelines here:

 Problem reports:   http://cygwin.com/problems.html

 Te setting up was ( in bash ) cigrunsrv -S sshd.
 TIA
 Marcelo

Please describe exactly how you set up sshd.  Did you use the
ssh-host-config script?  If not, try that and read:

/usr/share/doc/Cygwin/openssh.README

HTH.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
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/



Re: cygrunsrv taking near all cpu time

2004-03-04 Thread Larry Hall
At 09:26 AM 3/4/2004, you wrote:
I installed the latest version of cygwin on Win2000 SP 4.
I am starting sshd as a service.
cygrunsrv takes up near all CPU time, and does not allow any other
thing to run.
The only way to cope is stopping the service.
What am I doing the wrong way ?
Te setting up was ( in bash ) cigrunsrv -S sshd.
TIA
Marcelo


Read and follow this:

Problem reports:   http://cygwin.com/problems.html


The information you've provided so far is not enough for anyone here to 
make an educated guess at the cause of your problem.



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


--
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/



cygrunsrv taking near all cpu time

2004-03-04 Thread mnicolet
I installed sshd as it would be. At the point I could connect from
another machine.

I can, now, state the problem better.

The question is whenever the service start is set to 'automatic' so
it's started at boot-up time, cygrunsrv is taking up all cpu time it's
allowed. Even if sshd.exe is up and running fine, taking itself no
noticeable cpu time.

But, if I stop the sshd service, set up it as 'manual' and then
restart it, cygrunsrv is working fine, taking no noticeble cpu time.

Sorry if my previous post scared some one.

But I think my question was concise, and pointing exactly to the
problem.

Marcelo


--
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/



Re: cygrunsrv taking near all cpu time

2004-03-04 Thread Brian Ford
Here we go again.  I think you missed the point of what we were trying
to tell you.

Please review again http://cygwin.com/problems.html (I highly doubt that
you did the first time).  At least, pay special attention to the part
about attaching cygcheck output.

On Thu, 4 Mar 2004, mnicolet wrote:

 I installed sshd as it would be. At the point I could connect from
 another machine.

What does as it would be mean?

 I can, now, state the problem better.

 The question is whenever the service start is set to 'automatic' so
 it's started at boot-up time, cygrunsrv is taking up all cpu time it's
 allowed. Even if sshd.exe is up and running fine, taking itself no
 noticeable cpu time.

 But, if I stop the sshd service, set up it as 'manual' and then
 restart it, cygrunsrv is working fine, taking no noticeble cpu time.

Reporting the result of attaching strace to the run-away cygrunsrv might
be interesting, but only after you have followed the advice above.

 Sorry if my previous post scared some one.

It did not scare anyone, but you did not follow the advice given.

 But I think my question was concise, and pointing exactly to the
 problem.

A little too concise, perhaps?

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
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/



Re: cygrunsrv taking near all cpu time

2004-03-04 Thread Larry Hall
I have only a couple of suggestions, beyond what Brian has already said.

  1. Turn off your anti-virus and see if that helps.

  2. Try this with a recent snapshot http://cygwin.com/snapshots/

I don't know if either of these quick-fix ideas will help.  But your
cygcheck output prompted me to suggest them.

Larry


At 02:05 PM 3/4/2004, you wrote:
Thank you.

'As is would' means I had run both config scripts ( ssh-host-config
and ssh-user-config ). And that was ok, because I can connect both
locally and remotely.

I setted up sshd as a service using then command
cygrunsrv -S sshd

Please, see attached cygcheck.out

TIA
Marcelo

- Original Message -
From: Brian Ford [EMAIL PROTECTED]
To: mnicolet [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 3:30 PM
Subject: Re: cygrunsrv taking near all cpu time


 Here we go again.  I think you missed the point of what we were
trying
 to tell you.

 Please review again http://cygwin.com/problems.html (I highly doubt
that
 you did the first time).  At least, pay special attention to the
part
 about attaching cygcheck output.

 On Thu, 4 Mar 2004, mnicolet wrote:

  I installed sshd as it would be. At the point I could connect from
  another machine.
 
 What does as it would be mean?

  I can, now, state the problem better.
 
  The question is whenever the service start is set to 'automatic'
so
  it's started at boot-up time, cygrunsrv is taking up all cpu time
it's
  allowed. Even if sshd.exe is up and running fine, taking itself no
  noticeable cpu time.
 
  But, if I stop the sshd service, set up it as 'manual' and then
  restart it, cygrunsrv is working fine, taking no noticeble cpu
time.
 
 Reporting the result of attaching strace to the run-away cygrunsrv
might
 be interesting, but only after you have followed the advice above.

  Sorry if my previous post scared some one.
 
 It did not scare anyone, but you did not follow the advice given.

  But I think my question was concise, and pointing exactly to the
  problem.
 
 A little too concise, perhaps?

 --
 Brian Ford
 Senior Realtime Software Engineer
 VITAL - Visual Simulation Systems
 FlightSafety International
 Phone: 314-551-8460
 Fax:   314-551-8444

--
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/ 


--
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/



Re: cygrunsrv taking near all cpu time

2004-03-04 Thread mnicolet
Thank you.
There is no point in turning off the antivirus, exception being a one
time test.
But that is not easy, because I don't know exactly which services make
up my Panda antivirus. Of course, carefully inspecting the services
win, I could guess that.
If you think this is an important test for the mainstream development,
I could try it.
Regarding snapshots, generally I dislike them, unless I'm very sure
what I'm doing, which is not the case.
The better solution, I think, is to manually enable sshd when I need
it.

- Original Message -
From: Larry Hall [EMAIL PROTECTED]
To: mnicolet [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, March 04, 2004 4:51 PM
Subject: Re: cygrunsrv taking near all cpu time


 I have only a couple of suggestions, beyond what Brian has already
said.

   1. Turn off your anti-virus and see if that helps.

   2. Try this with a recent snapshot http://cygwin.com/snapshots/

 I don't know if either of these quick-fix ideas will help.  But
your
 cygcheck output prompted me to suggest them.

 Larry


 At 02:05 PM 3/4/2004, you wrote:
 Thank you.
 
 'As is would' means I had run both config scripts ( ssh-host-config
 and ssh-user-config ). And that was ok, because I can connect both
 locally and remotely.
 
 I setted up sshd as a service using then command
 cygrunsrv -S sshd
 
 Please, see attached cygcheck.out
 
 TIA
 Marcelo
 
 - Original Message -
 From: Brian Ford [EMAIL PROTECTED]
 To: mnicolet [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Thursday, March 04, 2004 3:30 PM
 Subject: Re: cygrunsrv taking near all cpu time
 
 
  Here we go again.  I think you missed the point of what we were
 trying
  to tell you.
 
  Please review again http://cygwin.com/problems.html (I highly
doubt
 that
  you did the first time).  At least, pay special attention to the
 part
  about attaching cygcheck output.
 
  On Thu, 4 Mar 2004, mnicolet wrote:
 
   I installed sshd as it would be. At the point I could connect
from
   another machine.
  
  What does as it would be mean?
 
   I can, now, state the problem better.
  
   The question is whenever the service start is set to
'automatic'
 so
   it's started at boot-up time, cygrunsrv is taking up all cpu
time
 it's
   allowed. Even if sshd.exe is up and running fine, taking itself
no
   noticeable cpu time.
  
   But, if I stop the sshd service, set up it as 'manual' and then
   restart it, cygrunsrv is working fine, taking no noticeble cpu
 time.
  
  Reporting the result of attaching strace to the run-away
cygrunsrv
 might
  be interesting, but only after you have followed the advice
above.
 
   Sorry if my previous post scared some one.
  
  It did not scare anyone, but you did not follow the advice given.
 
   But I think my question was concise, and pointing exactly to
the
   problem.
  
  A little too concise, perhaps?
 
  --
  Brian Ford
  Senior Realtime Software Engineer
  VITAL - Visual Simulation Systems
  FlightSafety International
  Phone: 314-551-8460
  Fax:   314-551-8444
 
 --
 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/


 --
 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/



--
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/



Re: cygrunsrv taking near all cpu time

2004-03-04 Thread Brian Ford
On Thu, 4 Mar 2004, mnicolet wrote:

 Regarding snapshots, generally I dislike them, unless I'm very sure
 what I'm doing, which is not the case.
 The better solution, I think, is to manually enable sshd when I need
 it.

That is certainly your choice.  Two comments, though.

1.) At this particular time, the snapshot is considered more stable than
the current release.  Also, it is close to 1.5.8 release time.  Therefore,
it would be good for you, and the community at large, if you would see if the
bug is still present there.

2.) If it is, please try my strace suggestion with it.

PS. This list prefers that you do not quote raw email addresses in replies
as it just feeds the spammers.  Thanks.

 - Original Message -
 From: Larry Hall cygwin-lh at cygwin dot com
etc.

Brian Ford wrote:
 Reporting the result of attaching strace to the run-away
 cygrunsrv might be interesting, but only after you have followed the
 advice above.


-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
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/



Re: cygrunsrv taking near all cpu time

2004-03-04 Thread mnicolet
Excuse me regarding the source quoting. I nevr think about it as a
spamer feeding, but you are rigth.
I take your advice regarding snapshots. But I don't know exactly what
to download
that could be 'the minimum' to isolate this specific question, but
remains compatible with the rest of the installation ...
TIA
Marcelo

- Original Message -
Sent: Thursday, March 04, 2004 8:05 PM
Subject: Re: cygrunsrv taking near all cpu time


 On Thu, 4 Mar 2004, mnicolet wrote:

  Regarding snapshots, generally I dislike them, unless I'm very
sure
  what I'm doing, which is not the case.
  The better solution, I think, is to manually enable sshd when I
need
  it.
 
 That is certainly your choice.  Two comments, though.

 1.) At this particular time, the snapshot is considered more stable
than
 the current release.  Also, it is close to 1.5.8 release time.
Therefore,
 it would be good for you, and the community at large, if you would
see if the
 bug is still present there.

 2.) If it is, please try my strace suggestion with it.

 PS. This list prefers that you do not quote raw email addresses in
replies
 as it just feeds the spammers.  Thanks.

  - Original Message -
  From: Larry Hall .

 Brian Ford wrote:
  Reporting the result of attaching strace to the run-away
  cygrunsrv might be interesting, but only after you have followed
the
  advice above.
 

 --
 Brian Ford


--
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/



Re: cygrunsrv taking near all cpu time

2004-03-04 Thread Christian Weinberger
 - Original Message -
 From: Larry Hall cygwin-lh at cygwin.com
 
1. Turn off your anti-virus and see if that helps.
 

I had exaclty the same issue with Panda Antivirus. It happened with Panda 2004 
and with the recend version of the old release, I think 2.0.5. Older versions 
worked fine (2.0.4) but will get updated automatically.

After playing a bit around with setting dependencies on services, I had no 
success and gave up. In the end I dropped Panda and moved to NOD32 which runs 
very well up till now.

PS: It is definitely cygrunsrv that causes the problem. I have few daemons 
running (sshd, fetchmail) and all had the same problem.

Regards,
Christian


--
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/