Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 05-15-2008 10:03:31

TerryA
Member
From: Sanford, Fl
Registered: 07-14-2003
Posts: 1322
Website

CCP5.1 appears to be calling itself and looping

I have one site on my servers that is driving the load up on the server.  There are at times over 50 active processes of CCP running for this site.  Looking at the logs, we see hundreds of the following entries for the site:

(Server IP) - - [15/May/2008:08:15:48 -0500] "GET /cgi-bin/ccp51/cp-app.cgi?pg=

cat&ref=ARRAY(0x9f3a058) HTTP/1.1" 200 20423 "-" "libwww-perl/5.805"

(Server IP) - - [15/May/2008:08:15:40 -0500] "GET /cgi-bin/ccp51/cp-app.cgi?pg=

cat&ref=ARRAY(0xa37c030) HTTP/1.1" 200 20423 "-" "libwww-perl/5.805"

(Server IP) - - [15/May/2008:08:15:55 -0500] "GET /cgi-bin/ccp51/cp-app.cgi?pg=

cat&ref=ARRAY(0xa97c528) HTTP/1.1" 200 20423 "-" "libwww-perl/5.805"

(Server IP) - - [15/May/2008:08:16:02 -0500] "GET /cgi-bin/ccp51/cp-app.cgi?pg=

cat&ref=ARRAY(0xa765410) HTTP/1.1" 200 20423 "-" "libwww-perl/5.805"

Is this something that is normal?  Any ideas about what might be causing this?

Offline

 

#2 05-15-2008 10:42:21

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: CCP5.1 appears to be calling itself and looping

Never seen a "ref=ARRAY(0x9f3a058)"... looks like maybe a database_call result is not being correctly translated to a variable.  Have there been mods to ste_cat.pl or ste_prod.pl?  I would tend to suspect ste_cat.pl, since the page called at the time is a category page.


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

#3 05-16-2008 14:40:48

TerryA
Member
From: Sanford, Fl
Registered: 07-14-2003
Posts: 1322
Website

Re: CCP5.1 appears to be calling itself and looping

It looks like it is a hard drive on it's way out that was causing this.  We will know before the day is over.  Thanks for the input, Rachael!

Offline

 

#4 05-16-2008 14:50:44

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: CCP5.1 appears to be calling itself and looping

Interesting failure mode for a hard drive failure if that's what it turns out to be.

Offline

 

#5 05-16-2008 15:31:28

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: CCP5.1 appears to be calling itself and looping

Second that thought... dang strange way for a hard drive to go.  Do keep us up to date on how it turns out!


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

#6 05-16-2008 19:36:30

TerryA
Member
From: Sanford, Fl
Registered: 07-14-2003
Posts: 1322
Website

Re: CCP5.1 appears to be calling itself and looping

We did FDSK on the hard drive and got it repaired.  After the repair, the script would not run.  Upon investigating further, there was a mod done on the site two days ago and that was when the problem started.  I returned the files in the cgi-bin to the latest distribution and now everything is happy! (Except for the client that paid to have the mod done that caused the problem, but that is going to be another saga.)

Offline

 

#7 05-16-2008 23:30:45

warrior2girl
Member
Registered: 04-05-2008
Posts: 4

Re: CCP5.1 appears to be calling itself and looping

HELLO EVERY BODY

Yesterday mr.Terry from hosttec  sent a question as follows

I have one site on my servers that is driving the load up on the server.  There are at times over 50 active processes of CCP running for this site.  Looking at the logs, we see hundreds of the following entries for the site:

It is my website , I bought number of  http://www.aatechservices.com/clickcart … temap.html about a year ago and all were working fine
and it not have any problem ,they worked great,but two day ago I ago Ibought two modlue from wwwcartmod.com to beter my website
and  for  two day now my web site is down ,I can see the picture but when I am clicking on the picture it is giving me this information

Forbidden
You don't have permission to access /cgi-bin/ccp51/ on this server.


--------------------------------------------------------------------------------

Apache Server at www..com Port 80


I bought all the module over $600 dollars and Mr. Terry  had to remove  module so it can run but it is not running and he took out my ats moudle which never caused any problem as I have them installed by Mr.mark from ATs over a year ago,I donot know what to do
pls some body pls guide me,as they all give all this tecnical information.My site is down and I cannot get anyy body till monday

Offline

 

#8 05-18-2008 09:42:30

vbsaltydog
Member
From: Florida
Registered: 05-02-2005
Posts: 947
Website

Re: CCP5.1 appears to be calling itself and looping

This high server load comes from the RSS mod that we (cartmod) installed. It runs a high server load when running an update on ALL category pages of CCP so that the site's RSS feeds are current before the mod pings several media outlets with the site's RSS feeds. It should cause a spike in server load while doing the updates but the server load should not be anywhere near strong enough to bring down the hosting server and the update only runs for a minute or two depending on the number of categories in the site. I admit that the array reference is not being translated from the memory hash in this particular instance and that will be corrected for the client and we will put in some delay code between each iteration of the category loop to lessen the load on the server but again, we run this mod on our own servers regularly and they have little impact on the server resources. The code  essentially mimics what would happen if you had hundreds of visitors on your website so if this code brought your site down then your server will also fail if you get a hundred visitors on your site simultaneously.


Latest CCP 7 XMods Available:


Offline

 

#9 05-19-2008 14:12:12

TerryA
Member
From: Sanford, Fl
Registered: 07-14-2003
Posts: 1322
Website

Re: CCP5.1 appears to be calling itself and looping

With the RSS mod running, it seems like it brought out a hidden issue with the servers hard drive controller.  Seems it was on it's way out and finally completed it's job last night while the data center was running tests on it.  We are now in the process of replacing the drive and restoring the server.  I would guess that a server that was operating properly could handle the load that the RSS module created, just so happened that this server had a hidden problem that soon became apparent once the load was increased.

Probably wouldn't be a bad idea to put some time delays in the module just in case it was running during a heavy load time on any shared server.

Offline

 

Board footer