Subject Re: [firebird-support] Help: firebird and apache Processes doesn't die
Author Aldo Caruso
Hi again,

  I tested it many times: after stopping Apache server, the quantity of Firebird processes decrease to 2, but the memory isn't released. Running "top -u firebird" command displays a lot of memory ( nearly 2 GBytes ) consumed by Firebird.   
 
  Is this a bug in Firebird Super Server or it was designed this way ?

Thanks,
Aldo Caruso

El 08/01/17 a las 17:12, Aldo Caruso aldo.caruso@... [firebird-support] escribió:
 

Hi,

I'm using Firebird 2.5 Super server, PHP 5.5 and Apache2 on Ubuntu 14.04

As I start apache server, and the web site gets visits, apache
processes start to grow as well as firebird processes ( one per second
), nearly without limit. The memory consumption also increases. After a
few seconds my site is unresponsive.

If I stop apache, firebird processes don't decrease immediately as
expected, but only after a minute they jump from the high quantity (for
example 150) to 2 processes. Nevertheless, firebird doesn't release the
memory.

In my php scripts every ibase_pconnect sentence has it corresponding
ibase_close sentence, inside a try statement.

Any idea about why apache processes keep alive and also why they
don't free firebird processes ?

( I'm in a hurry, because my site is not working )

Thanks in advance for any help.

Aldo