Skip to content

Workaround for runaway metacity

January 26, 2010

Sun Ray on OpenSolaris build 131 requires the same workarounds I previously mentioned.

There is one more that helps with both 130 and 131. With the new gdm set up the login screen now runs “metacity” and occasionally this can get into a loop just consuming CPU. The trigger is that metacity has been sent a signal to terminate but then tries to be a bit too clever and goes into the loop. I’ve filed this bug so that it can be fixed.

Happily once again you can work around this with a bit of dtrace:

#!/usr/sbin/dtrace -qws
proc:::signal-handle
/ execname == "metacity" && args[0] == 15 / {
       system("logger -t metacity.d -p daemon.notice killing metacity[%d]", pid);
       raise(9)
}
Advertisements

From → Solaris

3 Comments
  1. ppi permalink

    hello,

    sorry to use this post for an unrelated comment, but I cannot find your rss feed in this page … A big orange button would be nice 🙂

Trackbacks & Pingbacks

  1. Chris Gerhard's Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: