Forum Moderators: phranque

Message Too Old, No Replies

Apache Timeout

         

bowietime

3:24 am on Jan 10, 2007 (gmt 0)

10+ Year Member



I'm not sure if this is the right place or not but I'll give it a shot.

I'm on a VPS that is timing out and not able to run a simple script.
This script works on the production machine and others but not on the VPS it is currently on.
I can't find anything at all in the logs.

Following are some log files.(3) They each end where the server times out.
All this script is, is a simple file_get_contents() php function to get the contents of the xml file.

The VPS has 384mb guaranteed ram burstable to 1.5gb so memory shouldn't be an issue.

Here are the beancounters results before the log results. Any thoughts would be appreciated.

Version: 2.5
uid resource held maxheld barrier limit failcnt
306: kmemsize 7080408 7098797 88842240 91422720 0
lockedpages 0 0 1536 1536 0
privvmpages 61449 61455 393216 416808 386951
shmpages 731 731 129024 129024 0
dummy 0 0 0 0 0
numproc 75 75 600 600 0
physpages 36047 36051 0 2147483647 0
vmguarpages 0 0 98304 2147483647 0
oomguarpages 36047 36051 98304 2147483647 0
numtcpsock 32 32 2160 2160 0
numflock 9 9 1128 1236 0
numpty 1 1 64 64 0
numsiginfo 0 0 1536 1536 0
tcpsndbuf 288444 270556 10321920 16220160 0
tcprcvbuf 524288 491520 10321920 16220160 0
othersockbuf 38712 38712 6756480 12582912 0
dgramrcvbuf 0 0 1572864 1572864 0
numothersock 47 47 1260 1260 0
dcachesize 959436 962381 13639680 14499840 0
numfile 3151 3160 12288 12288 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 318 318 2000 2000 0

>>> -----------------
>>> DEBUG - 2007-01-06 23:47:29 (mem: 251.03) --> Config Class
>>> Initialized
>>> DEBUG - 2007-01-06 23:47:29 (mem: 252.40) --> Hooks Class
>>> Initialized
>>> DEBUG - 2007-01-06 23:47:29 (mem: 361.30) --> Router Class
>>> Initialized
>>> DEBUG - 2007-01-06 23:47:29 (mem: 417.43) --> Output Class
>>> Initialized
>>> DEBUG - 2007-01-06 23:47:29 (mem: 520.07) --> Input Class
>>> Initialized
>>> DEBUG - 2007-01-06 23:47:29 (mem: 522.88) --> Global POST and
>>> COOKIE data sanitized
>>> DEBUG - 2007-01-06 23:47:29 (mem: 556.18) --> URI Class Initialized
>>> DEBUG - 2007-01-06 23:47:29 (mem: 572.07) --> Language Class
>>> Initialized
>>> DEBUG - 2007-01-06 23:47:29 (mem: 1,187.01) --> Loader Class
>>> Initialized
>>> DEBUG - 2007-01-06 23:47:29 (mem: 1,599.43) --> Database Driver
>>> Class Initialized
>>> DEBUG - 2007-01-06 23:47:29 (mem: 1,600.83) --> Controller Class
>>> Initialized
>>> DEBUG - 2007-01-06 23:47:29 (mem: 1,624.20) --> Config file
>>> loaded: config/config-xAppOS.php
>>> DEBUG - 2007-01-06 23:47:29 (mem: 2,185.96) --> Session Class
>>> Initialized
>>> DEBUG - 2007-01-06 23:47:29 (mem: 2,935.58) --> Config file
>>> loaded: config/config-OpenHouse.php
>>> DEBUG - 2007-01-06 23:47:29 (mem: 2,938.84) --> (3) Preparing to
>>> sync with RealtyLink...
>>> DEBUG - 2007-01-06 23:47:36 (mem: 3,215.77) --> Loading Agent
>>> data using SimpleXML: [mlsr.realtylink.org...]
>>> res_sale_result.cfm?agentid=022863&BCD=VI&mxrw=999
>>> -----------------

----------------------
DEBUG - 2007-01-08 01:38:07 (mem: 252.29) --> Config Class Initialized
DEBUG - 2007-01-08 01:38:07 (mem: 253.66) --> Hooks Class Initialized
DEBUG - 2007-01-08 01:38:07 (mem: 362.91) --> Router Class Initialized
DEBUG - 2007-01-08 01:38:07 (mem: 418.99) --> Output Class Initialized
DEBUG - 2007-01-08 01:38:07 (mem: 507.29) --> Input Class Initialized
DEBUG - 2007-01-08 01:38:07 (mem: 510.72) --> Global POST and COOKIE
data sanitized
DEBUG - 2007-01-08 01:38:07 (mem: 558.34) --> URI Class Initialized
DEBUG - 2007-01-08 01:38:07 (mem: 588.41) --> Language Class Initialized
DEBUG - 2007-01-08 01:38:07 (mem: 1,263.35) --> Loader Class Initialized
DEBUG - 2007-01-08 01:38:07 (mem: 1,661.54) --> Database Driver Class
Initialized
DEBUG - 2007-01-08 01:38:07 (mem: 1,662.94) --> Controller Class
Initialized
DEBUG - 2007-01-08 01:38:07 (mem: 1,685.75) --> Config file loaded:
config/config-xAppOS.php
DEBUG - 2007-01-08 01:38:07 (mem: 2,247.68) --> Session Class
Initialized
DEBUG - 2007-01-08 01:38:07 (mem: 2,828.81) --> Config file loaded:
config/config-OpenHouse.php
DEBUG - 2007-01-08 01:38:07 (mem: 3,322.12) --> (83) Not going to
sync with RealtyLink.
DEBUG - 2007-01-08 01:38:07 (mem: 3,149.68) --> Launched application:
OpenHouse
DEBUG - 2007-01-08 01:38:07 (mem: 3,179.47) --> Config file loaded:
config/config-RECV.php
DEBUG - 2007-01-08 01:38:07 (mem: 3,182.25) --> Launched application:
RECV
DEBUG - 2007-01-08 01:38:07 (mem: 3,222.98) --> Config file loaded:
config/tmp_content.php
DEBUG - 2007-01-08 01:38:07 (mem: 3,225.66) --> Config file loaded:
config/properties-config.php
DEBUG - 2007-01-08 01:38:07 (mem: 3,287.31) --> Helpers loaded: url
DEBUG - 2007-01-08 01:38:07 (mem: 3,289.11) --> Processing url
command: admin::import
----------------------

>> DEBUG - 2007-01-07 00:15:11 (mem: 251.61) --> Config Class
>> Initialized
>> DEBUG - 2007-01-07 00:15:11 (mem: 252.99) --> Hooks Class Initialized
>> DEBUG - 2007-01-07 00:15:11 (mem: 362.07) --> Router Class
>> Initialized
>> DEBUG - 2007-01-07 00:15:11 (mem: 418.26) --> Output Class
>> Initialized
>> DEBUG - 2007-01-07 00:15:11 (mem: 506.56) --> Input Class Initialized
>> DEBUG - 2007-01-07 00:15:11 (mem: 509.44) --> Global POST and
>> COOKIE data sanitized
>> DEBUG - 2007-01-07 00:15:11 (mem: 557.14) --> URI Class Initialized
>> DEBUG - 2007-01-07 00:15:11 (mem: 587.22) --> Language Class
>> Initialized
>> DEBUG - 2007-01-07 00:15:11 (mem: 1,218.99) --> Loader Class
>> Initialized
>> DEBUG - 2007-01-07 00:15:11 (mem: 1,631.39) --> Database Driver
>> Class Initialized
>> DEBUG - 2007-01-07 00:15:11 (mem: 1,633.03) --> Controller Class
>> Initialized
>> DEBUG - 2007-01-07 00:15:11 (mem: 1,656.38) --> Config file
>> loaded: config/config-xAppOS.php
>> DEBUG - 2007-01-07 00:15:11 (mem: 2,232.37) --> Session Class
>> Initialized
>> DEBUG - 2007-01-07 00:15:11 (mem: 2,969.35) --> Config file
>> loaded: config/config-OpenHouse.php
>> DEBUG - 2007-01-07 00:15:11 (mem: 3,447.76) --> (29) Not going to
>> sync with RealtyLink.
>> DEBUG - 2007-01-07 00:15:11 (mem: 3,275.25) --> Launched
>> application: OpenHouse
>> DEBUG - 2007-01-07 00:15:11 (mem: 3,304.83) --> Config file
>> loaded: config/config-RECV.php
>> DEBUG - 2007-01-07 00:15:11 (mem: 3,307.56) --> Launched
>> application: RECV
>> DEBUG - 2007-01-07 00:15:11 (mem: 3,326.52) --> Config file
>> loaded: config/tmp_content.php
>> DEBUG - 2007-01-07 00:15:11 (mem: 3,328.98) --> Config file
>> loaded: config/properties-config.php
>> DEBUG - 2007-01-07 00:15:11 (mem: 3,404.75) --> Helpers loaded: url
>> **** At this point, 48 records have been loaded from mysql and
>> are resident in memory. ****
>> **** The problem occurs when they are written back to mysql. ****
>> **** Disabling the "write" instruction prevents the problem from
>> occurring. ****
>> DEBUG - 2007-01-07 00:15:11 (mem: 4,193.71) --> almost dearchived
>> properties
>> DEBUG - 2007-01-07 00:15:11 (mem: 4,197.23) --> Helpers loaded: url
>> DEBUG - 2007-01-07 00:15:11 (mem: 4,198.94) --> ----> Redirecting
>> to: /properties
>> --------------------------