[peruser] peruser coredump patch

Lazy lazy404 at gmail.com
Fri Feb 15 03:28:13 MST 2008


2008/2/15, Sean Gabriel Heacock <gabriel at telana.com>:
>  On Thu, 2008-02-14 at 12:38 +0100, Lazy wrote:
>  > from my testing i think it crashes when there are no file descriptors left,
>  > after that the serwer is in unresponsive state
>
>
> Well that would do it.  Have you tried raising FD_SETSIZE?  On linux
>  it's defined in /usr/include/linux/posix_types.h and is 1024 by default.
>  If it's still set that low, raise it to something like 8194 and
>  recompile apache and peruser.
>
>  You can also run "ulimit -n 8192" from apachectl or an init script, but
>  I believe you can't set a higher limit than is defined by FD_SETSIZE.
>
>  I wonder... maybe we can redefine FD_SETSIZE inside mpm.h?  I hate
>  making changes to core include files like posix_types.h, since it just
>  gets wiped out next time I upgrade glibc.
it alredy is 4096, i gues we will raise it to 8196 but still it would
be nicer if apache would restart in that case

Please let me exploit your aperance further :), please have a look at
these patches,
any pointers how to improve them ?

peruser-missing-processor.patch:
logs and adds processor based on serverenviroment if a Processor is missing

peruser-ssl-vhosts.patch:
dirty hack to enable use of multiple vhosts for ssl enabled host port
pair if all of them use same serverenviroment and ssl cert,
without this ssl enabled namebasedvirtualhosts don't work

Thanks for your time

-- 
Michal Grzedzicki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: peruser-missing-processor.patch
Type: text/x-diff
Size: 1538 bytes
Desc: not available
Url : http://www.telana.com/pipermail/peruser/attachments/20080215/a0424c57/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: peruser-ssl-vhosts.patch
Type: text/x-diff
Size: 2125 bytes
Desc: not available
Url : http://www.telana.com/pipermail/peruser/attachments/20080215/a0424c57/attachment-0001.bin 


More information about the Peruser mailing list