SV: MPM perchild.

2002-11-26 Thread Jonas Eriksson


Hmm sorry! I did a bougus error in http.conf ...

When i now start the server i get the following in my shell promt and
the server starts.
What does the debug info tell? Is it all ok or do i have to change
anyting?

[root@mose /usr/local/apache2.0.43/bin]# ./httpd -f
/usr/local/apache2.0.43/conf/httpd.conf
[Tue Nov 26 18:35:41 2002] [debug] perchild.c(2007): filling out
child_info_table; UID: 1096, GID: 1094, SD: 4 4, OUTPUT: 5 5, Child Num:
0
[Tue Nov 26 18:35:41 2002] [debug] perchild.c(2007): filling out
child_info_table; UID: 1096, GID: 1094, SD: 4 4, OUTPUT: 5 5, Child Num:
1
[Tue Nov 26 18:35:41 2002] [debug] perchild.c(2007): filling out
child_info_table; UID: 1096, GID: 1094, SD: 4 4, OUTPUT: 5 5, Child Num:
2
 



On Tue, Nov 26, 2002, Jonas Eriksson <[EMAIL PROTECTED]> wrote:
> I Still get error "Unable to find process with matching uid/gid."
> after compileing 2.43 with
>
http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/mpm/experimental/perc
> hild/perchild.c

Are you sure you configured your setup correctly?

Do you have a ChildPerUserId before you use AssignUserId?

Can you give us the configuration you're using?

JE





SV: MPM perchild againg

2002-11-26 Thread Jonas Eriksson

I'm usning 

Revision 1.136  

./configure  --enable-so --prefix=/usr/local/apache2.0.43
--with-mpm=perchild


On Tue, Nov 26, 2002, Enrico Weigelt <[EMAIL PROTECTED]> wrote:
> it seems that under some circumstances the messages for connection
> passing between childs are not received at the destination process.
> sometimes it also happened, that apr_poll() returned w/o error, 
> but scan through the listener list does not find the touched socket.
> perhaps there's a leak in the listener list. where could it be
modified ? 
> should the pollset better be recreated before each poll ?

What version of the perchild MPM are you using?

There were some significant bugs earlier that I've fixed, but there's
still one significant bug that prevents perchild from being useful.

JE





MPM perchild.

2002-11-26 Thread Jonas Eriksson

Hi

I Still get error "Unable to find process with matching uid/gid."
after compileing 2.43 with
http://cvs.apache.org/viewcvs.cgi/httpd-2.0/server/mpm/experimental/perc
hild/perchild.c

Any ideas?





SV: perchild mpm

2002-10-18 Thread Jonas Eriksson

Last time i was compileing apache it was 2.39 and I hade the same
problem as you.
I quess nobody have had the time to work with it get then..

/ Jonas




I've started some debugging.

In my case, passing the request off to a different process is causing
corruption and the request to fail.

That's as far as I have gotten so far :)

What problems are you having?

JE





perchild mpm

2002-10-17 Thread Jonas Eriksson



 
Any progress in getting perchild to work ?
 
/ Jonas
 


SV: mysqlsupport for virtuals.

2002-07-30 Thread Jonas Eriksson


Well.. I want it to work with apache 2.0x
but thanks anyway.



-Ursprungligt meddelande-
Från: Jacob Rief [mailto:[EMAIL PROTECTED]] 
Skickat: den 30 juli 2002 14:20
Till: [EMAIL PROTECTED]
Ämne: Re: mysqlsupport for virtuals.


I did some work on this. I am using mod_rewrite
and do a dynamical lookup for a rewrite-map using
LDAP. If you wish you may use a RDB instead of LDAP:
This dynamic rewrite-map then can be used to map virtual
hosts and whatever you want.

The biggest problem with mod_rewrite is, that it does
allow only one instance of a mapping program to run.
And if this progam has a problem, the whole webserver
has a problem. I therefore wrote a patch which allows 
to link dynamically such a mapping-dso into mod_rewrite.

Unfortunately nobody from the Apache-group was ever
interrested in this patch. Not even comments.

Have a look at
http://bugs.apache.org/index.cgi/full/7688
and
http://homes.tiscover.com/jrief/apache_1.3.19-rewrite-dso.patch
BTW: the patch works up to version 1.3.26.

Jacob




On Wed, 2002-07-24 at 17:50, Jonas Eriksson wrote:
> Hi
> 
> My http.conf file grows every day and its getting big...
> It's getting hard to find anyting without seartching in it.
> 
> My question is :
> 
> I like to move all virtualshosts away from httpd.conf in to a mysql
server.
> My doing that it would be muth easy to maintain my virtualhosts.
> 
> Have someone tried this without loosing  preformance?
>  
>  
>






Re: mysqlsupport for virtuals.

2002-07-24 Thread Jonas Eriksson

I wait for it..

/ Jonas






> Hi Jonas,
> 
> i'm actually workin on hacking a module for this. (ie, like mod_vhost_alias,
> but uses a db)
> 
> give me maybe a few weeks and i'll publish..
> 
>  -- james
> 
> >
> > Hi
> >
> > My http.conf file grows every day and its getting big...
> > It's getting hard to find anyting without seartching in it.
> >
> > My question is :
> >
> > I like to move all virtualshosts away from httpd.conf in to a
> > mysql server.
> > My doing that it would be muth easy to maintain my virtualhosts.
> >
> > Have someone tried this without loosing  preformance?
> >
> >
> >
> >
> >
> 
> 




mysqlsupport for virtuals.

2002-07-24 Thread Jonas Eriksson

Hi

My http.conf file grows every day and its getting big...
It's getting hard to find anyting without seartching in it.

My question is :

I like to move all virtualshosts away from httpd.conf in to a mysql server.
My doing that it would be muth easy to maintain my virtualhosts.

Have someone tried this without loosing  preformance?