Subject Re: [firebird-php] Re: Win32 Vs Linx
Author Lester Caine
Alan McDonald wrote:

> in several places - even on this list it has been and the php documents, the
> pconnect has been accused of memory leakage or system crashes under heavy
> user number use.
>>And regarding persistent connections: don't!
>> From my experience, I only can discourage from using those.
>>PHP seems to be not very good at reusing existing connections, so it
>>will open a lot of new ones, while not closing old ones.
> I'lll try to find it again. Anyway - I know that ODBC drivers do not use
> have persistent connections but they connect/disconnect very quickly and
> even when using heavy-weight classes e.g. recordset objects, they appear to
> perform faster over new pages

Having lived through the hell of IB5.X and trying to make
that stable, I am used to monitoring activity as a matter of
routine. I have 20-30 machines accessing via PHP on the test
network, but I'm not seeing anything that concerns me yet. I
could well agree with those statements for Interbase, and it
was probably not simply PHP going wrong.

That said, PHP5 has had a lot of work done on the interbase
module, and once that is complete I will up the load on the
test rig and see what happens. Rather than running 2 to 300
hundred trains an hour we can switch to 2000 per hour with
30 active stations :)

I also have a machine running a demo copy of ibWebAdmin and
while it is only running on an ADSL link, it's starting to
see some heavier use, and I can switch persistent
connections on their later so I can monitor it. ( They are
off on that at present ).

Lester Caine
L.S.Caine Electronic Services