|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-07-01 14:55 UTC] dfe-csi dot gips at ti dot ch
Description:
------------
Description:
-----------------------------------------------
Our webserver works on a oracle 8.1.7 database
trought the oci8 php extension.
We observe (with apache server-status module)
that the apache process isn't stable
and reboots frequently (up to 50times/day).
Each crash causes a Dr. Watson dump (Exception
number: c0000005 - access violation)
We can reproduce the crash on calling a simple
OCILogon function with 5 concurrent users.
Tested Issues:
- Upgading the oracle client from 8.1.7 to 9.2.0
and 10.1.0 we have longer uptime but crashes anyway.
- Using TNS address string in OCILogon (like
BUG# 26558 suggestion) makes less core dumps.
- We could not reproduce the error with PHP/Linux
using the same hardware.
We currently wonder if this could be an issue
with PHP/Oracle running on a Multiprocessor
Windows server?
Sysconfig:
-----------------------------------------------
Compaq Proliant DL360 (Dual Processor);
Windows 2000 server SP 4,
Apache 1.3.29,
PHP 4.3.6 (apache module)
Oracle client 10.0
Reproduce code:
---------------
<?php
if ($c=OCILogon("user", "pass", "host")){
print "OCILogon success";
OCILogoff($c);
} else {
print "OCILogon failed";
}
?>
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 20:00:01 2025 UTC |
I have reproduced this problem with oracle10g / php 4.7 / apache 2.0 - on a windows xp box with an intel Hyperthreading CPU ("multiprocessor" system too). Using 10 concurrent users doing repeatedly logon, after 8 minutes I do get the address violation, the stack trace points to oracle10.dll.