Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 09-01-2011, 09:00 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 48,659
Nemesis is on a distinguished road
Default High CPU usage

Is there ever a time when the script goes hay wire and uses all the cpu? I have a client who's site was suspended due to high cpu usage. The server admin said it was affecting everyone's sites, as I did have some pm's on sites being down, and he went ahead and suspended it. Not a problem as I can reinstate it, but don't want it to happen again. History has a few hundred of these "Updating disk usage in my sql"

I currently have 42 clients sign ups/emails and 25 sites right now remain active. No other sites having these issues as i have been checking the logs. And I am no where near over capacity on this server. so why did this one site use up all resources a few 100 times in a day? And what should I do reinstall the script?
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
  #2  
Old 09-01-2011, 09:04 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 81,942
SilverDragonTears is on a distinguished road
Default

This was the site I was working on and have no idea why it would do that. I work on my own site a million times a day and have never had this issue.
__________________

Check out SilvaTales
Reply With Quote
  #3  
Old 09-01-2011, 09:29 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 48,659
Nemesis is on a distinguished road
Default

it is rather weird im thinking it was just a glitch and no ones fault I will reinstate it tomorrow and see if i can find out anything
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
  #4  
Old 09-01-2011, 10:05 PM
Chibi_Chicken Chibi_Chicken is offline
Niwatori Kami
 
Join Date: Jun 2011
Posts: 63
Gender: Unknown/Other
Credits: 4,973
Chibi_Chicken is on a distinguished road
Default

Could it be caused by heavy use of GD image library?

I know if you use large images in my custom pet mod that it will slowdown, and take a while to display the preview then the final adopt.
How much CPU time it is taking I dont know. I am unsure how to test it on a local server.
Reply With Quote
  #5  
Old 09-01-2011, 10:11 PM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 81,942
SilverDragonTears is on a distinguished road
Default

I don't think he's using that... but I'm not sure.
__________________

Check out SilvaTales
Reply With Quote
  #6  
Old 09-02-2011, 09:29 AM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 48,659
Nemesis is on a distinguished road
Default

site is re activated I am gonna see if i can get to the bottom of this. Only thing i can think of is a bunch of people on at same time adopting a lot and leveling each others a lot.
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
  #7  
Old 09-02-2011, 08:31 PM
Slix's Avatar
Slix Slix is offline
Member
 
Join Date: Jun 2010
Posts: 14
Credits: 2,223
Slix
Default

It very well could be the signature images. I had my server hanging for a while, so I took out most of the code on the siggy.php file to only leave the part where it actually checks the id and displays the image... it never hung after that.

Try that, if you're risky and wanna try it. XD
__________________
Poliwager ~ Pokémon Forums ~ Adopt a Pokémon

Reply With Quote
  #8  
Old 09-03-2011, 10:33 AM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 48,659
Nemesis is on a distinguished road
Default

sounds interesting, will wait for another coders thoughts on that though.
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
  #9  
Old 09-05-2011, 11:37 AM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 10,628
BMR777 is on a distinguished road
Default

I'm also fairly positive it's siggy.php. Also, check your site's vote_voters table in the database. Any records that are over 24 hours old can probably be safely deleted and a lot of records here could cause slowdowns as every time someone clicks a pet it has to check this table, so more than 50,000 records here indicates this may be a source of slowness.
Reply With Quote
  #10  
Old 09-06-2011, 04:31 PM
Nemesis's Avatar
Nemesis Nemesis is offline
Member
 
Join Date: Mar 2011
Location: Ohio, United States
Posts: 641
Gender: Male
Credits: 48,659
Nemesis is on a distinguished road
Default

thank you guys for helping it did happen again. slix may I see your siggy.php please?
__________________
https://gemnode.com
Free Hosting for Mysidia Adopt Sites
Just join our forum and request your free hosting account
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trading High Quality Art for Web Design Teshia Staff Central 0 06-24-2011 12:03 AM
Average Bandwidth Usage Per Forum OceanLove Other Chat 11 09-24-2008 06:34 PM


All times are GMT -5. The time now is 02:30 PM.

Currently Active Users: 328 (0 members and 328 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636