mysqld_safe holding open a pty/tty on FreeBSD (7.x and 8.x)

2010-09-29 Thread Jeremy Chadwick
Something interesting I've come across which happens on both RELENG_7 and RELENG_8 (indicating it's not a problem with the older tty code or the newer pty/pts code), and it's reproducible on Linux (sort of...). mysqld_safe appears to hold a pty/tty open even after the process has been backgrounded

MCA messages in dmesg

2010-09-29 Thread Adam Vande More
For awhile now, my home server has been acting up. Actually it had a bad set of RAM long ago, replaced and it and worked fine. It's been weird again now, and I've found this in dmesg: MCA: Bank 0, Status 0xf2000800 MCA: Global Cap 0x0806, Status 0x MCA: Vendor

Re: CPU time accounting broken on 8-STABLE machine after a few hours of uptime

2010-09-29 Thread Andriy Gapon
on 30/09/2010 02:27 Don Lewis said the following: > On 29 Sep, Andriy Gapon wrote: >> on 29/09/2010 11:56 Don Lewis said the following: >>> I'm using the same kernel config as the one on a slower !SMP box which >>> I'm trying to squeeze as much performance out of as possible. My kernel >>> config

Re: cpu timer issues

2010-09-29 Thread Andriy Gapon
on 30/09/2010 01:27 Jurgen Weber said the following: > Gentlemen > > Ah, ok. Learn something new everyday. Fantastic. The first time the machine > stopped during the boot process, but that is ok the 2nd time we have success. > > http://pastebin.com/r4UWdN7U > > I am not sure if ACPI is on, Jerem

Re: zfs send/receive: is this slow?

2010-09-29 Thread Dan Langille
On 9/29/2010 3:57 PM, Artem Belevich wrote: On Wed, Sep 29, 2010 at 11:04 AM, Dan Langille wrote: It's taken about 15 hours to copy 800GB. I'm sure there's some tuning I can do. The system is now running: # zfs send storage/bac...@transfer | zfs receive storage/compressed/bacula Try piping

Re: CPU time accounting broken on 8-STABLE machine after a few hours of uptime

2010-09-29 Thread Don Lewis
On 29 Sep, Andriy Gapon wrote: > on 29/09/2010 11:56 Don Lewis said the following: >> I'm using the same kernel config as the one on a slower !SMP box which >> I'm trying to squeeze as much performance out of as possible. My kernel >> config file contains these statements: >> nooptions

Re: cpu timer issues

2010-09-29 Thread Jurgen Weber
Gentlemen Ah, ok. Learn something new everyday. Fantastic. The first time the machine stopped during the boot process, but that is ok the 2nd time we have success. http://pastebin.com/r4UWdN7U I am not sure if ACPI is on, Jeremy you mention below that it should be in just by booting with th

Re: cpu timer issues

2010-09-29 Thread Andriy Gapon
on 30/09/2010 00:51 Jurgen Weber said the following: > Hi > > I do not understand what you mean by a verbose dmesg.. looking at the man > page there is no verbose option for dmesg except what I completed (dmesg -a). > > Once that is clarified I can reboot the backup machine and turn on ACPI

Re: cpu timer issues

2010-09-29 Thread Jeremy Chadwick
On Thu, Sep 30, 2010 at 07:51:49AM +1000, Jurgen Weber wrote: > I do not understand what you mean by a verbose dmesg.. looking > at the man page there is no verbose option for dmesg except what I > completed (dmesg -a). > > Once that is clarified I can reboot the backup machine and turn on >

Re: cpu timer issues

2010-09-29 Thread Jurgen Weber
Hi I do not understand what you mean by a verbose dmesg.. looking at the man page there is no verbose option for dmesg except what I completed (dmesg -a). Once that is clarified I can reboot the backup machine and turn on ACPI for you. Thanks On 29/09/10 5:26 PM, Andriy Gapon wrote:

Re: cpu timer issues

2010-09-29 Thread Jurgen Weber
I do not understand what you mean by a verbose dmesg.. looking at the man page there is no verbose option for dmesg except what I completed (dmesg -a). Once that is clarified I can reboot the backup machine and turn on ACPI for you. On 29/09/10 5:29 PM, Jeremy Chadwick wrote: On Wed, S

Re: wifi issues under -stable

2010-09-29 Thread Jim Bryant
Warren Block wrote: On Wed, 22 Sep 2010, Jim Bryant wrote: i have two laptops, both are Compaq(HP) C300 series using the motherboards with the 945GM chipset and using T7200 and T7600 Core2 Duos. One (this one) has an intel pro wireless 3945ABG installed, which returns: wpi0: irq 18 at de

Re: zfs send/receive: is this slow?

2010-09-29 Thread Artem Belevich
On Wed, Sep 29, 2010 at 11:04 AM, Dan Langille wrote: > It's taken about 15 hours to copy 800GB.  I'm sure there's some tuning I > can do. > > The system is now running: > > # zfs send storage/bac...@transfer | zfs receive storage/compressed/bacula Try piping zfs data through mbuffer (misc/mbuffe

zfs send/receive: is this slow?

2010-09-29 Thread Dan Langille
It's taken about 15 hours to copy 800GB. I'm sure there's some tuning I can do. The system is now running: # zfs send storage/bac...@transfer | zfs receive storage/compressed/bacula All the drives are ATA-8 SATA 2.x device from systat: 1 usersLoad 0.36 0.58 0.57 S

Re: resume slow on Thinkpad T42 FreeBSD 8-STABLE

2010-09-29 Thread Jeremy Chadwick
On Wed, Sep 29, 2010 at 08:24:21PM +0300, Vitaly Magerya wrote: > Jeremy Chadwick wrote: > > On Wed, Sep 29, 2010 at 09:57:53AM -0700, Chuck Swiger wrote: > >> Is prime95 testing running stable after waking from sleep? > > Yes, 0 errors, 0 warnings. > > > The Thinkpad hardware he's on is """old""

Re: resume slow on Thinkpad T42 FreeBSD 8-STABLE

2010-09-29 Thread Jeremy Chadwick
On Wed, Sep 29, 2010 at 10:16:13AM -0700, Chuck Swiger wrote: > On Sep 29, 2010, at 10:07 AM, Jeremy Chadwick wrote: > > On Wed, Sep 29, 2010 at 09:57:53AM -0700, Chuck Swiger wrote: > >> > >> I doubt repeated coincidences. :-) Is prime95 testing running stable > >> after waking from sleep? > >

Re: resume slow on Thinkpad T42 FreeBSD 8-STABLE

2010-09-29 Thread Vitaly Magerya
Jeremy Chadwick wrote: > On Wed, Sep 29, 2010 at 09:57:53AM -0700, Chuck Swiger wrote: >> Is prime95 testing running stable after waking from sleep? Yes, 0 errors, 0 warnings. > The Thinkpad hardware he's on is """old""" (note the quotes), so I > wouldn't be surprised if the CPU (Intel Pentium M)

Re: resume slow on Thinkpad T42 FreeBSD 8-STABLE

2010-09-29 Thread Jeremy Chadwick
On Wed, Sep 29, 2010 at 09:57:53AM -0700, Chuck Swiger wrote: > Hi-- > > On Sep 29, 2010, at 8:42 AM, Vitaly Magerya wrote: > > The test run for 17 hours without any problems (or MCA messages), > > That part is good. At least starting from normal operation, your laptop is > running stably under

Re: resume slow on Thinkpad T42 FreeBSD 8-STABLE

2010-09-29 Thread Chuck Swiger
Hi-- On Sep 29, 2010, at 8:42 AM, Vitaly Magerya wrote: > The test run for 17 hours without any problems (or MCA messages), That part is good. At least starting from normal operation, your laptop is running stably under load > then I put the laptop for a 5 minute sleep, resumed the test, a

Re: resume slow on Thinkpad T42 FreeBSD 8-STABLE

2010-09-29 Thread Vitaly Magerya
Chuck Swiger wrote: >> MCA: Bank 1, Status 0xe20001f5 >> MCA: Global Cap 0x0005, Status 0x >> MCA: Vendor "GenuineIntel", ID 0x695, APIC ID 0 >> MCA: CPU 0 UNCOR PCC OVER DCACHE L1 ??? error > > That is very likely to be a matter of luck. If I translate thi

Diskless/readonly root booting issues

2010-09-29 Thread Morgan Reed
Hi all, I've been working on updating my semi-embedded images to 7.3-stable of late (I generally wait for .3+ releases), it's been a few years since the last time I did one of these and I'm having some issues getting my netboot test environment to behave itself. I'm sure it's something si

Re: CPU time accounting broken on 8-STABLE machine after a few hours of uptime

2010-09-29 Thread Andriy Gapon
on 29/09/2010 11:56 Don Lewis said the following: > I'm using the same kernel config as the one on a slower !SMP box which > I'm trying to squeeze as much performance out of as possible. My kernel > config file contains these statements: > nooptions SMP > nodeviceapic >

Re: CPU time accounting broken on 8-STABLE machine after a few hours of uptime

2010-09-29 Thread Don Lewis
On 29 Sep, Andriy Gapon wrote: > on 29/09/2010 00:11 Don Lewis said the following: >> On 28 Sep, Don Lewis wrote: >> >> >>> % vmstat -i >>> interrupt total rate >>> irq0: clk 60683442 1000 >>> irq1: atkbd0 6

Re: CPU time accounting broken on 8-STABLE machine after a few hours of uptime

2010-09-29 Thread Andriy Gapon
on 29/09/2010 00:11 Don Lewis said the following: > On 28 Sep, Don Lewis wrote: > > >> % vmstat -i >> interrupt total rate >> irq0: clk 60683442 1000 >> irq1: atkbd0 6 0 >> irq8: rtc

Re: CPU time accounting broken on 8-STABLE machine after a few hours of uptime

2010-09-29 Thread Don Lewis
On 29 Sep, Jeremy Chadwick wrote: > On Wed, Sep 29, 2010 at 12:39:49AM -0700, Don Lewis wrote: >> On 29 Sep, Jeremy Chadwick wrote: >> >> > Given all the information here, in addition to the other portion of the >> > thread (indicating ntpd reports extreme offset between the system clock >> > and

Re: CPU time accounting broken on 8-STABLE machine after a few hours of uptime

2010-09-29 Thread Jeremy Chadwick
On Wed, Sep 29, 2010 at 12:39:49AM -0700, Don Lewis wrote: > On 29 Sep, Jeremy Chadwick wrote: > > > Given all the information here, in addition to the other portion of the > > thread (indicating ntpd reports extreme offset between the system clock > > and its stratum 1 source), I would say the mo

Re: CPU time accounting broken on 8-STABLE machine after a few hours of uptime

2010-09-29 Thread Don Lewis
On 29 Sep, Jeremy Chadwick wrote: > Given all the information here, in addition to the other portion of the > thread (indicating ntpd reports extreme offset between the system clock > and its stratum 1 source), I would say the motherboard is faulty or > there is a system device which is behaving b

Re: cpu timer issues

2010-09-29 Thread Jeremy Chadwick
On Wed, Sep 29, 2010 at 01:49:39PM +1000, Jurgen Weber wrote: > Andriy > > You can find everything you are after here: > > http://pastebin.com/WH4V2W0F The information provided here shows ACPI is disabled in addition to the boot not being verbose. -- | Jeremy Chadwick

Re: cpu timer issues

2010-09-29 Thread Andriy Gapon
on 29/09/2010 06:49 Jurgen Weber said the following: > Andriy > > You can find everything you are after here: > > http://pastebin.com/WH4V2W0F Looks like this was with ACPI disabled? Can you try to re-enable it? Also, it doesn't look like the dmesg is verbose. > On 28/09/10 8:07 PM, Andriy Gap

Re: Still getting kmem exhausted panic

2010-09-29 Thread Andriy Gapon
on 29/09/2010 03:38 Artem Belevich said the following: > On Tue, Sep 28, 2010 at 3:22 PM, Andriy Gapon wrote: >> BTW, have you seen my posts about UMA and ZFS on hackers@ ? >> I found it advantageous to use UMA for ZFS I/O buffers, but only after >> reducing >> size of per-CPU caches for the zone

Re: fetch: Non-recoverable resolver failure

2010-09-29 Thread Jeremy Chadwick
On Tue, Sep 28, 2010 at 10:59:04PM +0200, Miroslav Lachman wrote: > Jeremy Chadwick wrote: > >On Tue, Sep 28, 2010 at 08:12:00PM +0200, Miroslav Lachman wrote: > >>Hi, > >> > >>we are using fetch command from cron to run PHP scripts periodically > >>and sometimes cron sends error e-mails like this:

Re: CPU time accounting broken on 8-STABLE machine after a few hours of uptime

2010-09-29 Thread Jeremy Chadwick
On Tue, Sep 28, 2010 at 10:31:27PM -0700, Don Lewis wrote: > On 28 Sep, Don Lewis wrote: > > > Looking at the timestamps of things and comparing to my logs, I > > discovered that the last instance of ntp instability happened when I was > > running "make index" in /usr/ports. I tried it again with