Re: Boxes hanging intermittently. Anybody seen such ?

2009-08-17 Thread Stuart Henderson
On 2009-08-17, Andres Salazar  wrote:
>
> During the past week two boxes two boxes on the same network have
> stopped responding, they carry OpenBSD 4.5 i386 and I have logged at
> every possible log to find out why this occurs however I havent been
> able to spot anything unusual. All of the sudden they just stop
> responding requests.
>
> What these freezes do have in common is that when the boxes are
> reached via the KVM they present the login screen, they allow text to
> be entered in the login field... but upon hitting enter for it to ask
> the password thats when it just hangs.
>
> Iam afraid this will keep on happening and I woudl like to know if
> anybody has experienced this before.. these have been perfectly
> working boxes and it would be just odd both would have the same
> problem in the same few days.
>
> Upon a reboot everything returns to normal.

Set ddb.console=1 in sysctl.conf and reboot (you can't change this
on a running system with securelevel=1 as is normally set), if/when it
happens again you can try breaking into DDB (ctrl+alt+esc from glass
console, BREAK from serial console) and you may be able to get more
information about what's happening (trace/ps would be good places
to start - serial console would let you paste the output into email
which would be helpful if you need other people to look at it).



Re: Boxes hanging intermittently. Anybody seen such ?

2009-08-17 Thread Michal
Is there a set time when this will happen, say after it's been up for ~5
hours, or is it completely random, 2 days one time, 1 hour another

-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of
Andres Salazar
Sent: 17 August 2009 01:29
To: misc@openbsd.org
Subject: Boxes hanging intermittently. Anybody seen such ?

Hello,

During the past week two boxes two boxes on the same network have
stopped responding, they carry OpenBSD 4.5 i386 and I have logged at
every possible log to find out why this occurs however I havent been
able to spot anything unusual. All of the sudden they just stop
responding requests.

What these freezes do have in common is that when the boxes are
reached via the KVM they present the login screen, they allow text to
be entered in the login field... but upon hitting enter for it to ask
the password thats when it just hangs.

Iam afraid this will keep on happening and I woudl like to know if
anybody has experienced this before.. these have been perfectly
working boxes and it would be just odd both would have the same
problem in the same few days.

Upon a reboot everything returns to normal.

Thank you.
Andres



Re: Boxes hanging intermittently. Anybody seen such ?

2009-08-17 Thread Peter van Oord van der Vlies

For me the same issue on a couple of boxes.
The only common thing for me is :

- Soekris
- SpamAssassin
- Clamav-milter
- PF + spamd
- Sendmail

Most of the boxes runs without any problems for years and sometimes it 
dies...


Peter

On Mon, 17 Aug 2009, Michal wrote:


Is there a set time when this will happen, say after it's been up for ~5
hours, or is it completely random, 2 days one time, 1 hour another

-Original Message-
From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of
Andres Salazar
Sent: 17 August 2009 01:29
To: misc@openbsd.org
Subject: Boxes hanging intermittently. Anybody seen such ?

Hello,

During the past week two boxes two boxes on the same network have
stopped responding, they carry OpenBSD 4.5 i386 and I have logged at
every possible log to find out why this occurs however I havent been
able to spot anything unusual. All of the sudden they just stop
responding requests.

What these freezes do have in common is that when the boxes are
reached via the KVM they present the login screen, they allow text to
be entered in the login field... but upon hitting enter for it to ask
the password thats when it just hangs.

Iam afraid this will keep on happening and I woudl like to know if
anybody has experienced this before.. these have been perfectly
working boxes and it would be just odd both would have the same
problem in the same few days.

Upon a reboot everything returns to normal.

Thank you.
Andres




Re: Boxes hanging intermittently. Anybody seen such ?

2009-08-17 Thread J.C. Roberts
On Sun, 16 Aug 2009 19:29:28 -0500 Andres Salazar
 wrote:

> What these freezes do have in common is that when the boxes are
> reached via the KVM they present the login screen, they allow text to
> be entered in the login field... but upon hitting enter for it to ask
> the password thats when it just hangs.

By your description, particularly the use of the term "field," it seems
you're running xdm (graphical login).

You did *NOT* mention the specific arch where you are having the
problem, and you did *NOT* mention the types of input/output devices on
the system?

You did *NOT* mention the specific brand and model of KVM you're using,
or how you have things wired (i.e. PS/2 connectors, USB connectors,
$OTHER connectors, or the dreaded USB-to-PS/2 adapters)?


As for things going bad upon switching from one OpenBSD i386 system to
another via a Belkin F1D108-OSD 8-port KVM, yes, I've seen it happen.

The cause is using dodgy USB-to-PS2 adapters to connect the KVM to
machines that do not have PS2 ports.

On occasion, it works fine, but often it does crazy things and then
locks up. In these cases, the keyboard still sorta works for a bit, and
occasionally the mouse goes on mad clicking spree, until the whole
thing locks up. --What I've seen seems real similar to what you very
vaguely described.


-- 
J.C. Roberts



Re: Boxes hanging intermittently. Anybody seen such ?

2009-08-17 Thread Eric Furman
On Mon, 17 Aug 2009 20:33 -0700, "J.C. Roberts"
 wrote:
> On Sun, 16 Aug 2009 19:29:28 -0500 Andres Salazar
>  wrote:
> 
> > What these freezes do have in common is that when the boxes are
> > reached via the KVM they present the login screen, they allow text to
> > be entered in the login field... but upon hitting enter for it to ask
> > the password thats when it just hangs.
> 
> By your description, particularly the use of the term "field," it seems
> you're running xdm (graphical login).
> 
> You did *NOT* mention the specific arch where you are having the
> problem, and you did *NOT* mention the types of input/output devices on
> the system?
> 
> You did *NOT* mention the specific brand and model of KVM you're using,
> or how you have things wired (i.e. PS/2 connectors, USB connectors,
> $OTHER connectors, or the dreaded USB-to-PS/2 adapters)?
> 
> 
> As for things going bad upon switching from one OpenBSD i386 system to
> another via a Belkin F1D108-OSD 8-port KVM, yes, I've seen it happen.
> 
> The cause is using dodgy USB-to-PS2 adapters to connect the KVM to
> machines that do not have PS2 ports.
> 
> On occasion, it works fine, but often it does crazy things and then
> locks up. In these cases, the keyboard still sorta works for a bit, and
> occasionally the mouse goes on mad clicking spree, until the whole
> thing locks up. --What I've seen seems real similar to what you very
> vaguely described.

ditto, +1 or whatever JC. Those setups are definitively problematic.  :)