I am now seeing what appears to be a related problem: passenger will not start completely and errors are sent to the /var/log/kern.log. However, the symtoms are a little different, and I have a reproducible case.
Since my original post, I installed the rails stack, including passenger on an earlier version of Linux (Ubuntu Natty/11-04) running on Amazon EC2, and everything has been fine until May 18th. I am running a pretty standard Rails application: Apache 2.2.x, MySql 5.1, Ruby 1.9.3 using RVM
After a clean boot, the system processes relating to Apache and Passenger look like this:
One clue: I changed the contents of /etc/hostname between when everything was working, and now, when I have this problem is. Formerly it was the internal DNS name of the server provided by Amazon, now it's a more meaningful name related to our domain. Based on my notes, and on bash history, this appears to be the only system change I made.
(Also, to be clear, this problem does not occur if I disable the Passenger module -- apache starts fine.)
I am mystified. Any help the leads to understanding or resolution is welcome!
May 21 15:50:48 test kernel: [ 3.843709] alignment check: 0000 [#2] SMP
May 21 15:50:48 test kernel: [ 3.843716] last sysfs file: /sys/devices/system/cpu/cpu0/cache/index2/shared_cpu_map
May 21 15:50:48 test kernel: [ 3.843722] CPU 0
May 21 15:50:48 test kernel: [ 3.843726] Modules linked in: acpiphp
May 21 15:50:48 test kernel: [ 3.843733]
May 21 15:50:48 test kernel: [ 3.843736] Pid: 723, comm: PassengerWatchd Tainted: G D 2.6.38-11-virtual #50-Ubuntu
May 21 15:50:48 test kernel: [ 3.843747] RIP: e030:[<ffffffff8100b2b5>] [<ffffffff8100b2b5>] __setup_rt_frame+0x105/0x360
May 21 15:50:48 test kernel: [ 3.843757] RSP: e02b:ffff88002391ddd8 EFLAGS: 00050246
May 21 15:50:48 test kernel: [ 3.843762] RAX: ffff88002391dfd8 RBX: ffff88002391dee8 RCX: ffff880023912da0
May 21 15:50:48 test kernel: [ 3.843769] RDX: ffff88002391de68 RSI: ffff88002391dfd8 RDI: 0000000000000000
May 21 15:50:48 test kernel: [ 3.843774] RBP: ffff88002391de28 R08: 0000000000000000 R09: 0000000000000008
May 21 15:50:48 test kernel: [ 3.843780] R10: 0000000000000001 R11: 0000000000000202 R12: 00007f5529a87b38
May 21 15:50:48 test kernel: [ 3.843786] R13: ffff88002391df58 R14: 00007f5529a87d00 R15: ffff8800239132d8
May 21 15:50:48 test kernel: [ 3.843794] FS: 00007f5529a88700(0000) GS:ffff8800266a8000(0000) knlGS:0000000000000000
May 21 15:50:48 test kernel: [ 3.843801] CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b
May 21 15:50:48 test kernel: [ 3.843806] CR2: 000000000048f55f CR3: 00000000021ac000 CR4: 0000000000002620
May 21 15:50:48 test kernel: [ 3.843812] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
May 21 15:50:48 test kernel: [ 3.843819] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000000
May 21 15:50:48 test kernel: [ 3.843825] Process PassengerWatchd (pid: 723, threadinfo ffff88002391c000, task ffff880023912da0)
May 21 15:50:48 test kernel: [ 3.843831] Stack:
May 21 15:50:48 test kernel: [ 3.843834] ffff88002391de68 00007f5529a87b38 ffff880023912da0 0000000a2391df58
May 21 15:50:48 test kernel: [ 3.843845] ffff880023912da0 ffff88002391df58 ffff88002391dee8 00007f5529a889c0
May 21 15:50:48 test kernel: [ 3.843856] 000000000000000a 0000000000000003 ffff88002391de58 ffffffff8100b821
May 21 15:50:48 test kernel: [ 3.843867] Call Trace:
May 21 15:50:48 test kernel: [ 3.843872] [<ffffffff8100b821>] handle_signal+0x1d1/0x260
May 21 15:50:48 test kernel: [ 3.843878] [<ffffffff8100b923>] do_signal+0x73/0x180
May 21 15:50:48 test kernel: [ 3.843885] [<ffffffff811643a0>] ? vfs_read+0x120/0x180
May 21 15:50:48 test kernel: [ 3.843891] [<ffffffff8116447c>] ? sys_read+0x7c/0x90
May 21 15:50:48 test kernel: [ 3.843897] [<ffffffff8100bab5>] do_notify_resume+0x65/0x80
May 21 15:50:48 test kernel: [ 3.843903] [<ffffffff8105f667>] ? schedule_tail+0x27/0xb0
May 21 15:50:48 test kernel: [ 3.843909] [<ffffffff8100c290>] int_signal+0x12/0x17
May 21 15:50:48 test kernel: [ 3.843914] Code: ff 0f 85 67 02 00 00 f6 43 08 04 0f 85 05 02 00 00 65 48 8b 04 25 88 cc 00 00 44 8b 80 88 e0 ff ff c7 80 88 e0 ff ff 00 00 00 00 <48> 8b 05 68 54 ab 00 a9 00 00 00 04 0f 85 89 01 00 00 49 c7 44
May 21 15:50:48 test kernel: [ 3.844001] RIP [<ffffffff8100b2b5>] __setup_rt_frame+0x105/0x360
May 21 15:50:48 test kernel: [ 3.844009] RSP <ffff88002391ddd8>
May 21 15:50:48 test kernel: [ 3.844014] ---[ end trace 47e2fb6364f8c188 ]---