ID: 11554 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: PostgreSQL related Operating system: Linux 2.2 (RH 7.0) PHP Version: 4.0.5 Description: Apache processes get stuck I forgot to say that php is compiled as dso with apache 1.3.19. I have tried to compile postgresql extension both as php dso and to compile it into the php module, with the same result. Previous Comments: --------------------------------------------------------------------------- [2001-06-19 05:05:17] [EMAIL PROTECTED] After adding PostgreSQL module to an Apache webserver, the load on the machine went up to 20. There was no PostgreSQL code invoved, just pgsql.so was activated in php.ini. Here is the backtrace of a runaway process: #0 0x4068eb1a in pqFlush () from /usr/lib/libpq.so.2 #1 0x4068e25a in pqPutBytes () from /usr/lib/libpq.so.2 #2 0x4068e475 in pqPutnchar () from /usr/lib/libpq.so.2 #3 0x4068c3b3 in PQsendQuery () from /usr/lib/libpq.so.2 #4 0x4068ceb0 in PQexec () from /usr/lib/libpq.so.2 #5 0x40678d33 in _rollback_transactions (rsrc=0x81738f8) at pgsql.c:168 #6 0x4029a556 in zend_hash_apply (ht=0x4033a834, apply_func=0x40678d00 <_rollback_transactions>) at zend_hash.c:692 #7 0x40678f48 in php_rshutdown_pgsql (type=1, module_number=20) at pgsql.c:246 #8 0x402972b9 in module_registry_cleanup (module=0x81506a8) at zend_API.c:785 #9 0x4029a556 in zend_hash_apply (ht=0x4033a9e0, apply_func=0x4029728c <module_registry_cleanup>) at zend_hash.c:692 #10 0x40296420 in zend_deactivate_modules () at zend.c:522 #11 0x402a748c in php_request_shutdown (dummy=0x0) at main.c:670 #12 0x402a4fb9 in php_apache_request_shutdown (dummy=0x0) at mod_php4.c:290 #13 0x8051374 in run_cleanups () #14 0x804fb76 in ap_clear_pool () #15 0x804fbf6 in ap_destroy_pool () #16 0x80600b5 in child_main () #17 0x80602cf in make_child () #18 0x8060380 in startup_children () #19 0x80609cd in standalone_main () #20 0x806120f in main () PHP 4.0.5 PostgreSQL 7.1 RedHat Linux 7.0 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=11554 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]