Xavier
1/26/2005 12:18:00 AM
On Wed, 26 Jan 2005 08:20:29 +0900, Eric Hodel wrote:
> On 25 Jan 2005, at 14:30, Xavier wrote:
>
>> Hi Group,
>>
>> I am getting many errors like the following in my apache logs:
>>
>> /usr/lib/ruby/1.8/cgi.rb:725: [BUG] rb_sys_fail() - errno == 0
>> ruby 1.8.2 (2004-12-25) [i686-linux]
>>
>> 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 :)
Thanks 100x,
Xavier