|
Posted by Chung Leong on 08/03/06 21:12
Joshua Ruppert wrote:
> It seems like I might be back to having a monitoring process to look
> for orphaned processes. One detail I may not have included in our
> discussion so far is that the orphanded processes are always lower in
> memory usage (~100K - ~6,000K) than properly working processes
> (~10,000K - ~14,000K). This tells me that it's probably failing before
> it even gets to the db connection. Does that make sense?
I wouldn't read too much into it. Memory management in Windows is quite
complex. I believe the memory usage reported in task manager is the
physical amount. A process that has stalled will have a smaller foot
print since the OS would divert memory previously allocated to it to
other processes.
You can figure out where the process is stalling through Process
Explorer. Go to properties then threads, select the php.exe thread and
press the stack button. The item at the bottom is the last function
called across a DLL. Somewhere in the chain you might see a function
name SQLxxxxxx. That'd be a function in the ODBC driver.
Navigation:
[Reply to this message]
|