Pixelated a phpBB Template by SkaidonDesigns
 
Cheapest Web Software Support Area Forum Index www.cheapestwebsoftware.com
Play with the Best, be the Best!
Blogs Automater
FAQ
Search
Memberlist
Usergroups
Profile
Log in to check your private messages
Log in

The Mightiest Webmaster Solutions Ever
Cheapest Adult Scripts
Cheapest Adult Scripts
Links Organizer
Links Organizer
Rocket Pinger
Rocket Pinger
Plug Rush
Plug Rush

Haven't registered yet? Do it here now!
BO is using too much server resources

 
Post new topic   Reply to topic    Cheapest Web Software Support Area Forum Index -> Blogs Organizer
View previous topic :: View next topic  
Author Message
polosas



Joined: 15 Nov 2007
Posts: 116

PostPosted: Sat Jan 16, 2010 10:16 am    Post subject: BO is using too much server resources Reply with quote
Hi,

is it have to be like this ? it uses half of server memory and 30% of cpu processes.

why is that so much ? how to reduce server resources usage ?
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger ICQ Number

Author Message
Atanasis
Owner


Joined: 22 May 2004
Posts: 4284
Location: The Net

PostPosted: Mon Jan 18, 2010 10:44 am    Post subject: Reply with quote
it uses it just for few seconds while processing the borssfeeder.php cronjob right? Well, thats normal since php requires cpu when making connections to other sites and the memory is used for example if you have assigned like 10 feeds per blog, script need to download and process them all at once.

However as i said thats just a spike for some seconds while the cronjob completes, it is not constant or something to worry about. I have 4 copies of BO on my server and server isn't loaded at all
_________________
Thanks,
Kaktusan

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number

Author Message
polosas



Joined: 15 Nov 2007
Posts: 116

PostPosted: Mon Jan 18, 2010 11:05 am    Post subject: Reply with quote
the problem is that last time i got bunch of email saying that:
public_html/bo/borposter.php
Already Running
Already Running
then
Query to MySQL Failed: MySQL server has gone away
Already Running
Query to MySQL Failed: MySQL server has gone away
Already Running
Already Running

they all came in 20 minutes

then after that i got:
Query to MySQL Failed: MySQL server has gone away
Query to MySQL Failed: MySQL server has gone away
Query to MySQL Failed: MySQL server has gone away
Already Running
Already Running
Already Running
Already Running
Already Running
Already Running
Already Running
sh: line 0: kill: (30533) - No such process

they all came in 25 minutes.

and when i check cpu usage of BO cron it takes :
today:
Top Process %CPU 71.0 /usr/local/bin/php /home/anddonec/public_html/bo/borssfeeder.php
Top Process %CPU 53.0 /usr/local/bin/php /home/anddonec/public_html/bo/borssfeeder.php
Top Process %CPU 28.0 /usr/local/bin/php /home/anddonec/public_html/bo/borssfeeder.php
Yesterday:
Top Process %CPU 100 /usr/local/bin/php /home/anddonec/public_html/bo/borssfeeder.php
Top Process %CPU 46.0 /usr/local/bin/php /home/anddonec/public_html/bo/borssfeeder.php
Top Process %CPU 30.0 /usr/local/bin/php /home/anddonec/public_html/bo/borssfeeder.php
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger ICQ Number

Author Message
Atanasis
Owner


Joined: 22 May 2004
Posts: 4284
Location: The Net

PostPosted: Tue Jan 19, 2010 8:53 pm    Post subject: Reply with quote
are you getting all this in one email or in separate ones? Because there should be only one instance of borssfeedr.php and borposter.php running at once. there can't be several ones, because there's a lock protection..
_________________
Thanks,
Kaktusan

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number

Author Message
polosas



Joined: 15 Nov 2007
Posts: 116

PostPosted: Tue Jan 19, 2010 9:09 pm    Post subject: Reply with quote
i get them in separate emails but they came one after another.
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger ICQ Number

Author Message
Atanasis
Owner


Joined: 22 May 2004
Posts: 4284
Location: The Net

PostPosted: Tue Jan 19, 2010 9:28 pm    Post subject: Reply with quote
ok, did some mods to the script to prevent some of these error messages you get. Watch it from now and let me know what you get again.. you now should be getting only "Already Running" from time to time, since sometimes the script might not get completed within a minute when the next run occures and exits with that warning message..
_________________
Thanks,
Kaktusan

Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number

Author Message
polosas



Joined: 15 Nov 2007
Posts: 116

PostPosted: Tue Jan 19, 2010 9:33 pm    Post subject: Reply with quote
i run it in 5 minutes period. because 2 years ago i was running it 1 minute period and server was crashing.
_________________
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger ICQ Number

Display posts from previous:   
Post new topic   Reply to topic    Cheapest Web Software Support Area Forum Index -> Blogs Organizer All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group