2008/9/8 Janno Sannik <[EMAIL PROTECTED]>:
> Lazy wrote:
>> 2008/9/3 Bipin Gautam <[EMAIL PROTECTED]>:
>>
>>> Hi,
>>> I am using peruser module in Gentoo in one of my server. The server is
>>> serving few high traffic website with bandwith hit upto ~100Gega Bytes
>>> data transfer per day and seldome exceeding 4.5 millon http request
>>> per day.
>>>
>>> During high http load... in quiet a few occasions...... the apache
>>> process crashes to idle! if you do ps -aux you see httpd processes but
>>> the server isnt serving any data even though its listening in 80 and
>>> able to initiate http /200 response successfully.
>>>
>>> after that the server is just idle. Even During such problem Nagois
>>> http alert module shows the server's http is ok.
>>>
>>> has anyone have observed similar? known bug?
>>>
>>
>> try recompiling apache with more file descriptors by setting FD_SETSIZE of 
>> 4096
>>
>>
> How should this *excactly* be done  on a centos4 system?

in files
/usr/include/bits/typesizes.h:#define   __FD_SETSIZE            1024
/usr/include/linux/posix_types.h:#define __FD_SETSIZE   1024
/usr/include/nptl/bits/typesizes.h:#define      __FD_SETSIZE            1024

change 1024 to 4096 and recompile apache (make clean if ou compilled it before)

-- 
Lazy
_______________________________________________
Peruser mailing list
[email protected]
http://www.telana.com/mailman/listinfo/peruser

Reply via email to