Copy link to clipboard
Copied
I've been having problems lately with Coldfusion 9 on Windows.
Apache logs show:
[Tue Jan 25 11:45:28 2011] [notice] jrApache[2088: 55360] Couldn't initialize from remote server, JRun server(s) probably down.
[Tue Jan 25 11:45:28 2011] [notice] jrApache[2088: 10694] could not initialize proxy for 127.0.0.1:51800
[Tue Jan 25 11:45:28 2011] [notice] jrApache[2088: 10694] Couldn't initialize from remote server, JRun server(s) probably down.
[Tue Jan 25 11:45:29 2011] [notice] jrApache[2088: 54283] could not initialize proxy for 127.0.0.1:51800
[Tue Jan 25 11:45:29 2011] [notice] jrApache[2088: 54283] Couldn't initialize from remote server, JRun server(s) probably down.
[Tue Jan 25 11:45:30 2011] [notice] jrApache[2088: 6919] could not initialize proxy for 127.0.0.1:51800
But Coldfusion is responsive (on port 8500).
The problem seems to get fixed if I stop both Apache, and Coldfusion, and restart them again.
CPU use and Memory use at the time of the problem are minimal (around 2% and 1GB for CF).
I believe the problem is with the Connector itself, but I have no idea how to diagnose.
It's not saturation, because at the time of the problem, around 4-5 requests are being serviced (according to cfstats)
Pg/Sec DB/Sec CP/Sec Reqs Reqs Reqs AvgQ AvgReq AvgDB Bytes Bytes
Now Hi Now Hi Now Hi Q'ed Run'g TO'ed Time Time Time In/Sec Out/Sec
0 5 0 196 -1 -1 0 1 0 0 -2 4 0 0
1 5 3 196 -1 -1 0 1 0 0 7 0 1570 0
0 5 2 196 -1 -1 0 2 0 0 -4 0 521 0
1 5 58 196 -1 -1 0 2 0 0 421 0 1436 0
2 5 3 196 -1 -1 0 2 0 0 126 0 913 0
1 5 13 196 -1 -1 0 1 0 0 250 0 0 0
1 5 4 196 -1 -1 0 3 0 0 -136 0 3375 0
Any ideas how to attack the problem of what other information I can provide? It's driving me nuts, since I cannot figure it out.
Thanks in advance.
Copy link to clipboard
Copied
Hello,
I expect the details in \ColdFusion9\runtime\logs\coldfusion-out.log (\Jrun4\logs multi-server) prior to the CF restart will provide clues. Paste some of the log so we can have a look.
CFSTAT does not show a particularly busy CF.
CF9 32 or 64 bit? Win03 or 08?
HTH, Carl.
Copy link to clipboard
Copied
Windows 2003, CF32 bit. I will wait for the time it happens, and post the log here. Am I looking for something towars the end of the long, or it could be at any point inside the log?
Thanks
Copy link to clipboard
Copied
No need to wait. Just find the details prior to the last crash restart. Your CF startup will have this syntax:
Starting Macromedia JRun 4.0 (Build 108858), coldfusion server
...
01/24 14:54:36 Information [main] - Starting Event Gateways.
01/24 14:54:36 Information [main] - Starting FlexAssembler...
01/24 14:54:36 Information [main] - Starting .NET...
01/24 14:54:36 Information [main] - Starting Monitoring...
01/24 14:54:36 Information [main] - ColdFusion started
...
So will need some of the log before the start. Not sure what we are looking for yet so for now probably more log the better until the issue gets narrowed down. Then again I might be on the wrong track and the OUT log will not show any salient problem and we need to look elsewhere. Most recent detail is at end of log file. When the log file gets to 200k it will copy and truncate so detail might be in one of the OUTn (n number) files.
What is CF9 version, updater1 applied, CHF1 applied?
Regards, Carl.
Copy link to clipboard
Copied
I think I've located the problem. Following your cue, I looked at stange activity in the .out files, and noticed that PHP files were taking a long time to process.
I think the problem is PHP related. Not sure why but increased use of PHP templates, creates a bottle neck over time. I just made sure I was running latest PHP (5.3.5), I tried both VC6 and VC9 versions, and using stock PHP.INI's files.
If I disable the PHP calls, the server works fine. If I enable the PHP calls, over time it starts slowing Apache down (and thus the Apache connector, etc).
I understand this is a Coldfusion forum, so I guess I should look for answers to my PHP problem somewhere else.
Still, I grateful for the clues you gave me. I guess in the meantime I'll just move the PHP to a cheap hosting on godaddy, where it would not interfere with my Coldfusion operation.