4 Replies Latest reply: Nov 4, 2008 3:20 PM by Rick Anderson
Rick Anderson Level 2 Level 2 (165 points)
Is anyone else experiencing freezes after the 10.5.5 update? My computer is locking up daily and requires a force reboot with the power button. I'm thinking it's related to cron and launchd as I see lots of these messages in the logs prior to the lockup:

--------------------------
com.apple.launchd 1 com.apple.console Warning (org.postfix.master[987]) Stray process with PGID equal to this dead job: PID 989 PPID 1 qmgr 10/28/08 Tue, Oct 28, 2008 2:22:36 PM

com.apple.launchd 1 com.apple.console Warning (0x10c410.cron[1000]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 2:23:00 PM
--------------------------

I have many cron jobs running (several, every 5 minutes.) I know that cron is being phased out but I would have hoped it would continue working for now.

Message was edited by: Rick Anderson

Dual 2Ghz PPC G5, 2 GB SDRAM, Mac OS X (10.5.5)
  • glsmith Level 3 Level 3 (875 points)
    Have you tried disabling your cron jobs for a few days to see if the freezes continue? Also, are you
    purposefully running Postfix on your system? Is Postfix always implicated in the your system.log prior to the crashes?
  • Rick Anderson Level 2 Level 2 (165 points)
    Can't really turn off the cron jobs very easily as many of the jobs are shuffling around data that is essential to the business where I work. I've turned off some of the more recent additions and some of the more frequent cron jobs to see if there was any change and there isn't.

    Yes, running Postfix to send email alerts internally for certain scripts. Launchd is logging that warning about Postfix every 2-10 minutes in my logs. Hadn't noticed that prior to you asking so the occurrence of it prior to crashing may be coincidental.

    Here's the last half-hour of info from my console prior to the crash.

    ---------------------------------------------------------

    postfix/local 19949 mail Warning warning: service not found: biff/udp 10/28/08 Tue, Oct 28, 2008 9:55:00 AM
    postfix/local 19949 mail Warning warning: service not found: biff/udp 10/28/08 Tue, Oct 28, 2008 9:55:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10d600.cron[19954]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 9:56:00 AM
    com.apple.launchd 1 com.apple.console Warning (org.postfix.master[19950]) Stray process with PGID equal to this dead job: PID 19951 PPID 1 pickup 10/28/08 Tue, Oct 28, 2008 9:56:45 AM
    com.apple.launchd 1 com.apple.console Warning (org.postfix.master[19950]) Stray process with PGID equal to this dead job: PID 19952 PPID 1 qmgr 10/28/08 Tue, Oct 28, 2008 9:56:45 AM
    com.apple.launchd 1 com.apple.console Warning (0x10d600.cron[19967]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 9:57:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10d600.cron[19973]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 9:58:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10d600.cron[19979]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 9:59:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10ded0.cron[20006]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:00:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10c7a0.cron[19996]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:00:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10e580.cron[20002]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:00:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10e780.cron[20004]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:00:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10e980.cron[20005]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:00:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10eb80.cron[20003]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:00:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10ed80.cron[20001]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:00:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10ef80.cron[20008]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:00:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10d800.cron[20009]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:00:00 AM
    postfix/local 20039 mail Warning warning: service not found: biff/udp 10/28/08 Tue, Oct 28, 2008 10:00:00 AM
    postfix/local 20039 mail Warning warning: service not found: biff/udp 10/28/08 Tue, Oct 28, 2008 10:00:00 AM
    postfix/local 20039 mail Warning warning: service not found: biff/udp 10/28/08 Tue, Oct 28, 2008 10:00:01 AM
    postfix/local 20040 mail Warning warning: service not found: biff/udp 10/28/08 Tue, Oct 28, 2008 10:00:22 AM
    postfix/local 20039 mail Warning warning: service not found: biff/udp 10/28/08 Tue, Oct 28, 2008 10:00:22 AM
    postfix/local 20040 mail Warning warning: service not found: biff/udp 10/28/08 Tue, Oct 28, 2008 10:00:23 AM
    com.apple.launchd 1 com.apple.console Warning (0x10bb50.cron[20057]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:01:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10d500.cron[20058]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:01:00 AM
    KernelEventAgent 36 daemon Notice tid 00000000 received VQ_DEAD event (32) 10/28/08 Tue, Oct 28, 2008 10:01:00 AM
    KernelEventAgent 36 daemon Notice tid 00000000 type 'smbfs', mounted on '/Volumes/Uploads', from '//bel-adv-proc3/Uploads', dead 10/28/08 Tue, Oct 28, 2008 10:01:00 AM
    loginwindow 35 auth Error No servers unresponsive 10/28/08 Tue, Oct 28, 2008 10:01:00 AM
    KernelEventAgent 36 daemon Notice tid 00000000 found 1 filesystem(s) with problem(s) 10/28/08 Tue, Oct 28, 2008 10:01:00 AM
    postfix/local 20084 mail Warning warning: service not found: biff/udp 10/28/08 Tue, Oct 28, 2008 10:01:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10bd50.cron[20092]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:02:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10d500.cron[20091]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:02:00 AM
    com.apple.launchd 1 com.apple.console Warning (org.postfix.master[20086]) Stray process with PGID equal to this dead job: PID 20087 PPID 1 pickup 10/28/08 Tue, Oct 28, 2008 10:02:46 AM
    com.apple.launchd 1 com.apple.console Warning (0x10bd50.cron[20101]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:03:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10bd50.cron[20112]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:04:00 AM
    com.apple.launchd 1 com.apple.console Warning (org.postfix.master[20099]) Stray process with PGID equal to this dead job: PID 20103 PPID 1 pickup 10/28/08 Tue, Oct 28, 2008 10:04:47 AM
    com.apple.launchd 1 com.apple.console Warning (0x10be50.cron[20121]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:05:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10c7a0.cron[20123]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:05:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10dcd0.cron[20124]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:05:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10e430.cron[20148]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:06:00 AM
    com.apple.launchd 1 com.apple.console Warning (org.postfix.master[20118]) Stray process with PGID equal to this dead job: PID 20142 PPID 1 pickup 10/28/08 Tue, Oct 28, 2008 10:06:19 AM
    com.apple.launchd 1 com.apple.console Warning (0x10e730.cron[20151]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:07:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10e430.cron[20163]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:08:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10e8e0.cron[20166]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:09:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10f0e0.cron[20169]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:10:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10f2e0.cron[20171]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:10:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10f4e0.cron[20172]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:10:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10f8e0.cron[20174]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:11:00 AM
    com.apple.launchd 1 com.apple.console Warning (0x10fce0.cron[20176]) Could not setup Mach task special port 9: (os/kern) no access 10/28/08 Tue, Oct 28, 2008 10:12:00 AM
    fseventsd 40 daemon Error callback_client: ERROR: d2fcallbackrpc() => (ipc/send) timed out (268435460) for pid 112 10/28/08 Tue, Oct 28, 2008 10:12:51 AM

    Message was edited by: Rick Anderson
  • glsmith Level 3 Level 3 (875 points)
    Looks like one of your cron entries is triggering the "Could not setup Mach task " bug/message every minute. Do you have something in cron running that frequently?

    Whatever is causing that error may be related to your underlying issue. In any event, the frequency of occurrence is somewhat concerning...
  • Rick Anderson Level 2 Level 2 (165 points)
    I never did figure this out completely, but I have moved some of the more frequent and most recent additions from cron to launchd and the problem has gone away. I'm guessing something in 10.5.5 doesn't like the frequency of one of my scripts and/or what it's doing. In any case, things are back to normal.

    Thank you for the help.