Subject | RE: [firebird-php] Win2003 Vs Win2k performance?? |
---|---|
Author | Alan McDonald |
Post date | 2004-02-24T23:56:57Z |
I can see that Win2K (IIS5) differs in the application settings to Win2003
Win2003 has a check box to set the number of script engines which are
cached - mine is set to 30 by default I imagine
Win2K does not have this setting - it only allows caching of ISAPI filters.
I imagine that php.exe does not conform to the dll spec and thus does not
get cached.
I can only imagine this as the reason for far better start up performance on
the win2003 server. I also do not use the fb server on the same box - I
connect to an fb server on another NT4 box so that may also be a reason.
Alan
-----Original Message-----
From: Milan Babuskov [mailto:albis@...]
Sent: Wednesday, February 25, 2004 1:07 AM
To: firebird-php@yahoogroups.com
Subject: Re: [firebird-php] Win2003 Vs Win2k performance??
Alan McDonald wrote:
I have discovered that the first connection to the database is the
problem. When I open isql and connect, everything works great from PHP
while isql is connected. As soon as I disconnect with isql, it works for
few pages and then I get the problems again.
So I made the conclusion that there is some problem when FB is attaching
the database file. But I don't know how to solve it. Right now, the
server has always one isql connected, and everything works, but I
consider that "a dirty hack", not a solution.
Can you please try it, and tell us if it is the same problem.
--
Milan Babuskov
http://fbexport.sourceforge.net
Yahoo! Groups Sponsor
ADVERTISEMENT
----------------------------------------------------------------------------
--
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-php/
b.. To unsubscribe from this group, send an email to:
firebird-php-unsubscribe@yahoogroups.com
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]
Win2003 has a check box to set the number of script engines which are
cached - mine is set to 30 by default I imagine
Win2K does not have this setting - it only allows caching of ISAPI filters.
I imagine that php.exe does not conform to the dll spec and thus does not
get cached.
I can only imagine this as the reason for far better start up performance on
the win2003 server. I also do not use the fb server on the same box - I
connect to an fb server on another NT4 box so that may also be a reason.
Alan
-----Original Message-----
From: Milan Babuskov [mailto:albis@...]
Sent: Wednesday, February 25, 2004 1:07 AM
To: firebird-php@yahoogroups.com
Subject: Re: [firebird-php] Win2003 Vs Win2k performance??
Alan McDonald wrote:
> I have my dev machine on Win2003 Server and my production on Win2KServer.
> Does anyone know of a setting on the win2K env which would cause it tominutes
> perform very slowly? After letting the app ly dormant for only a few
> and then requesting a new page, the app is very slow to respond, thenit's
> fine for the next few pages, then if you stop for a minute or so andrequest
> another page, you get the same sluggish response. This does not occur onI have the similar problem on Win2003.
> win2003 server.
> Is there a setting I have missed perhaps?
> is it IIS5 Vs IIS6? or something else?
> thanks
I have discovered that the first connection to the database is the
problem. When I open isql and connect, everything works great from PHP
while isql is connected. As soon as I disconnect with isql, it works for
few pages and then I get the problems again.
So I made the conclusion that there is some problem when FB is attaching
the database file. But I don't know how to solve it. Right now, the
server has always one isql connected, and everything works, but I
consider that "a dirty hack", not a solution.
Can you please try it, and tell us if it is the same problem.
--
Milan Babuskov
http://fbexport.sourceforge.net
Yahoo! Groups Sponsor
ADVERTISEMENT
----------------------------------------------------------------------------
--
Yahoo! Groups Links
a.. To visit your group on the web, go to:
http://groups.yahoo.com/group/firebird-php/
b.. To unsubscribe from this group, send an email to:
firebird-php-unsubscribe@yahoogroups.com
c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
[Non-text portions of this message have been removed]