well, if you are using IE5 then perhaps what you are seeing is it's strong
caching - it is unlikely that it is hitting the same child (unless you are
using single server mode, which is the way to test this)

try printing $$ (the pid of the child process) to your browser and make sure
it changes when you reload...

--Geoff

> -----Original Message-----
> From: vinecent hong [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 28, 2000 12:34 PM
> To: [EMAIL PROTECTED]
> Cc: Geoffrey Young
> Subject: Re:help me under those Apache::DBI log info.
> 
> 
> What I've found out...
> 
> > 1) debug in single server mode - I'm sure you realize that 
> Apache::DBI
> > creates one connection per httpd child, not just one 
> connection that is
> > shared by all httpd processes.
> 
> Sorry,At first I really think  that all Apache child will 
> share one Mysql
> connection :-) Though Not now,but what a nice feature to add 
> later?just
> create the mysql connection when apache startup then pass the 
> dbh also as a
> GLOBAL var to apache child to share with.Not hard to add I think?
> 
> > I doubt that IE and Netscape are treating your DBI connection
> differently...
> 
> True,IE and Netscape treat it totally different. When exam this with
> mysqladmin processlist(I exam the Sleep time parameter list in the
> output),I've found out that,all script invoke in same IE 
> window will share
> the first mysql connection it used,say,if first time you 
> execute the script
> use mysql connection with id 100,the 2nd and 3rd... execute 
> will still use
> this connection  except you wait a long time beyond the 
> KeepAliveTimeout  in
> httpd.conf (is it?)and the apache child died.
> 
> But Netscape is totally different.It seems that Netscape will 
> randomly pick
> up a existed mysql connection to use,well,should be a random 
> apache child
> will serve netscape's request.Why?
> 
> 
> > do some more research and let me know what you find...
> >
> 
> I do find those stuff.hmmmm...what do you think?
> > --Geoff
> >
> 
> ______________________________________________
> FREE Personalized Email at Mail.com
> Sign up at http://www.mail.com?sr=mc.mk.mcm.tag001
> 

Reply via email to