> This error occurs whenever the client breaks the connection. > The fastcgi process logs the error and exits with an untrapped signal 6 > error message.
Attach a debugger, and you will see what fcgi.so is doing wrong (errno is not set properly).
> This can lead to a DoS because mod_fastcgi will stop spawning fcgi's > whenever processes have failed to keep running for at least 30 seconds.
> How could I either prevent cgi.rb from breaking or trap and recover > from > the signal 6?
You don't. This is Ruby saying "I don't know what's wrong, so I'm freaking out and dying here and now."
I sent a patch to moonwolf some time ago, but he has not responded...
It turned out that patch is wrong, but I haven't had time to write the correct patch. On line 158 of fcgi.c (0.8.5) err needs to be copied to errno so rb_sys_fail works correctly.
>> This error occurs whenever the client breaks the connection. >> The fastcgi process logs the error and exits with an untrapped signal >> 6 >> error message.
> Attach a debugger, and you will see what fcgi.so is doing wrong (errno > is not set properly).
>> This can lead to a DoS because mod_fastcgi will stop spawning fcgi's >> whenever processes have failed to keep running for at least 30 >> seconds.
>> How could I either prevent cgi.rb from breaking or trap and recover >> from >> the signal 6?
> You don't. This is Ruby saying "I don't know what's wrong, so I'm > freaking out and dying here and now."
> I sent a patch to moonwolf some time ago, but he has not responded...
> It turned out that patch is wrong, but I haven't had time to write the > correct patch. On line 158 of fcgi.c (0.8.5) err needs to be copied > to errno so rb_sys_fail works correctly.
>> This error occurs whenever the client breaks the connection. >> The fastcgi process logs the error and exits with an untrapped signal 6 >> error message.
> Attach a debugger, and you will see what fcgi.so is doing wrong (errno > is not set properly).
>> This can lead to a DoS because mod_fastcgi will stop spawning fcgi's >> whenever processes have failed to keep running for at least 30 seconds. > I sent a patch to moonwolf some time ago, but he has not responded...
> It turned out that patch is wrong, but I haven't had time to write the > correct patch. On line 158 of fcgi.c (0.8.5) err needs to be copied to > errno so rb_sys_fail works correctly.
Thanks Eric. Your hint helped me solve the problem. More tests after a good night of sleep :)