XML Sitemaps Generator

Author Topic: Generator creates a heavy load on the CPU for more than 10 seconds.  (Read 8141 times)

vals

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Hi,

Generator creates a heavy load on the CPU for more than 10 seconds.

I set a pause of 10 seconds after one request in config, however there is one request that load the CPU on about 100% for more than 10 sec.

The trial version of this did not happen.

How to fix? Or extend trial period till fix problem.

PS. nice -n 20 php runcrawler.php do not help

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #1 on: November 30, 2012, 03:58:45 PM »
Hello,

> however there is one request that load the CPU

which request does that?
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

vals

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #2 on: November 30, 2012, 05:39:49 PM »
in the top window see PID 8282
in the window below - request #68
« Last Edit: November 30, 2012, 06:13:23 PM by vals »

vals

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #3 on: December 02, 2012, 12:49:47 PM »
My hoster said:
If the process load CPU for a long period of more than 60% - that process will killed. This period for shared hosting server is 10 seconds.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #4 on: December 02, 2012, 07:10:42 PM »
Does it work correctly when running from browser?
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

vals

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #5 on: December 03, 2012, 08:07:11 AM »
from browser works the same
well that it does not happen every time when launch
5-7% of launches is unsuccesful
i am afraid it depends from common load capacity of server

vals

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #6 on: December 05, 2012, 06:52:56 AM »
Приветствую,

Так что, никак нельзя ограничить нагрузку на процессор? А то часто получается такая картина:

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #7 on: December 06, 2012, 12:46:31 PM »
It can only be done by adding delays between requests.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

vals

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #8 on: December 06, 2012, 01:56:33 PM »
it doesn't work... :'( :'( :'(

is always a one tricky request that all breaks

what are the numbers in a columns?

vals

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #9 on: December 07, 2012, 06:18:50 AM »
is it possible to launch script on another host with the same basic settings?
except pathes of course... )

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #10 on: December 07, 2012, 08:00:30 PM »
Hello,

yes, that is possible.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

vals

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #11 on: December 09, 2012, 07:15:28 PM »
Would you be so kind as to tell me how to do it?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #12 on: December 11, 2012, 04:42:37 PM »
The installation steps would be the same: http://www.xml-sitemaps.com/howto-install.html
And you would just specify your website link as Starting URL.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

vals

  • Registered Customer
  • Approved member
  • *
  • Posts: 9
Re: Generator creates a heavy load on the CPU for more than 10 seconds.
« Reply #13 on: December 12, 2012, 09:30:17 AM »
Thank you. I've done that.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2