View Full Version : Volume counters reporting zero
digerata
02-06-2009, 11:55 AM
I have a branched WEB5 appliance. I did some minor changes to to install Drupal. (Modify some apache configuration, install php modules, etc) Nothing out of the ordinary besides that. I'm using the content volume for it and not the fs tab for storing files.
The monitor reports 0 for all "Volume content" statistics.
Additionally, the feed_apache_counters.sh script keeps failing. After starting, it will exit with "Broken pipe" after anywhere from 1 minute to 1 hour elapses.
Any ideas?
PeterNic
02-06-2009, 03:29 PM
Mike,
(btw, see the "hack" from PavelGeorgiev on being able install modules without branching WEB5)
If you use WEB5 with external content (content_on_fs), rather than on the "content" volume, the content volume stats will be all zeroes. You will see traffic on the "fs" interface instead. Can this be the issue?
Regarding the broken pipe -- I don't know. I am guessing insufficient memory or really old version of the counter collection agent, or very low bandwidth available on the appliance. What version of AppLogic is this on?
Regards,
-- Peter
digerata
02-10-2009, 07:43 AM
Sorry for the late reply. I thought I had posted this already but it looks like I must have skipped the ever so important step, "click submit reply."
The content is on the content volume. Not on the FS tab. There is a 1 GB volume with about 200 MB used up.
There is 512MB currently and it is around 40% used. As part of other testing, I have increased it to 2 GB and saw the same problems. It doesn't matter where the memory consumption is at. I'm testing currently with between 100M and 200M for bandwidth. It still is exhibiting the problem.
This script is the bandaid I have been using to get around it:
#!/bin/bash
while true
do
TEST=`ps -ef | grep feed | grep -v grep`
if [[ -z $TEST ]]
then
echo "apache feed down, starting again."
sh /appliance/feed_apache_counters.sh &
fi
sleep 5 || exit 1
echo -n "."
done
digerata
02-10-2009, 11:41 AM
To illustrate the problem, I've captured the output of the aforementioned script. Each period '.' represents 5 seconds:
[pz_qa:main.web ~]# ./monitor_alive.sh
apache feed down, starting again.
.................................................. .................................................. .................................................. .................................................. .................................................. ..................apache feed down, starting again.
.................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. ...................................apache feed down, starting again.
.................................................. .................................................. .................................................. .................................................. .........................................apache feed down, starting again.
.................................................. .................................................. .................................................. .................................................. .................................................. .........................................apache feed down, starting again.
.................................................. .................................................. .................................................. .....................................apache feed down, starting again.
.................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .....apache feed down, starting again.
.................................................. ............apache feed down, starting again.
.................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. ...............................
This is a sample from a time period of about 2 hours 30 minutes.
PeterNic
02-10-2009, 04:58 PM
Mike -- thanks. What is the grid version? And can you easily try to reproduce the problem on the standard WEB5 (unmodified)?
(did you check the MON appliance bandwidth, too?)
Regards,
-- Peter
digerata
02-18-2009, 06:05 PM
Mon bandwidth is fairly high around 50 MB. We are on 2.4.7.
I haven't tried on an unbranched WEB5 yet. The next site we spin up I'll use that first to see.
vBulletin® v3.7.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.