Cpu Over Usage Problem

Started on the old forum in January 2009 · view the original in the archive · old links redirect here

27 replies · 1,477 views · started 17 years ago · 1 min read

11 participants
anderson Developer · 146 posts #1

Hello friendz, For lavalair scripts I am facing a server problem lately. The problem is CPU over usage. At a time I am allowed up to 15% of CPU usage but sometimes it becomes over 50%!!! Host warned me again and again. My site visitor is not more than 10 people at a time and maximum time they use PM-PM. My host says the inboxproc.php file makes the high CPU usage. I dont know why it occurs. If anyone know about it better plz post here.....

Wait...

subzero Super moderator Fellow · 3,954 posts #2

Whats sql into phpmyadmin

Your over flowing inbox sql so to mean you logging ppls chats ? lol

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

anderson Developer · 146 posts #3

Whats sql into phpmyadmin

Your over flowing inbox sql so to mean you logging ppls chats ? lol

Ya, they use PM most. Now tell me the best solution. @ subzero

Wait...

subzero Super moderator Fellow · 3,954 posts #4

Nothing only thing can do is take out the coding that using the sql

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

inet Senior · 264 posts #5

Best answer to this problem... hope i had help you!

Ya, they use PM most. Now tell me the best solution. @ subzero

just edit or optimize your sql queries most of the queries happen in inbox when they use this alot of times..

hmmmm... min0taur the owner of pinoywap has the same problem before!

http://www.getacoder.com/projects/minimizi...tml?ord=biddate

Minimizing Or Optimizing MYSQ

Budget: $ 20-100 Status: Closed for Bidding Project Creator: min0taur

Rating: (No Feedback Yet) Required Skills: Database Development, MySQL, PHP, Programming Attached Files: (None)

Description I have a wapsite http://pinoywap.net (WML and XHTML) and I always got mysql and server problems. The site gets all the server loads and small servers will crash. My host says that the problem is on my php script mysql queries. Im new in this field so dont know how to decrease my site server loads. I want mysql and php expert to help me fix my site server loads or mysql problem

http://answers.yahoo.com/question/index?qi...26205419AAjVqJa

How to minimize database queries.. My wap site http://pinoywap[link]net has this problem?

From yahoo answers a question made by min0..

min0taurs site has several hundreds of online users every day! now he is concern with this problem too..

old lava script has that problem here are some issues that i encountered before with some freehost or any shared server. take note i am not just one of those who has problem with this look at the above statment min0 has that problem 8months ago or even before that!

MySQL Query: update ibwf_users set onlinetime=\'1218237983\' where id=\'170\' MySQL Query: select uid from ibwf_ses where id=\'\' MySQL Query: insert into ibwf_ses set id=\'9bc9b4c6e19fc5d9ccc978e38a1623ea\', uid=\'222\', expiretm=\'1218181141\' MySQL Query: delete from ibwf_ses where expiretm<\'1218105758\' MySQL Query: select hvia from ibwf_users where id=\'222\' MySQL Query: update ibwf_users set resetime=\'1218230459\' where id=\'193\' MySQL Query: update ibwf_users set browserm=\'\', ipadd=\'203.177.91.134\' where id=\'222\'

Slow MySQL queries are not allowed, because you share server resources with thousands of other users and your long MySQL queries are slowering the server and other users are having MySQL performance and connectivity problems. Please optimize your MySQL queries as soon as possible or we may need to suspend your account.

Here are some good articles how to optimize MySQL queries: http://www.google.com/search?q=optimize+mysql+queries

Services

Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

Below is a list of services I offer:

Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

Rates

General consulting – My current hourly rate is $100 / hour. Custom Wapsite Community - My current rate is $500 / Wap Community Development.

anderson Developer · 146 posts #6

Thank You inet.

Really I am very worried with this problem. Are you facing the same problem? However I need to optimize sql. My host also said it earler. @ inet

If anyone know information about optimizing scripts please here.

Wait...

inet Senior · 264 posts #7

Thank You inet.

Really I am very worried with this problem. Are you facing the same problem? However I need to optimize sql. My host also said it earler. @ inet

If anyone know information about optimizing scripts please here.

i had already resolve that problem 7 months ago..

as i told you read articles regarding this..

http://www.google.com/search?q=optimize+mysql+queries

Google has the answer...

http://www.google.com/search?hl=en&q=o...amp;btnG=Search

Services

Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

Below is a list of services I offer:

Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

Rates

General consulting – My current hourly rate is $100 / hour. Custom Wapsite Community - My current rate is $500 / Wap Community Development.

inet Senior · 264 posts #9

How you resolved the problem? I just want to know.

i read this item before...

The Slow Query Log>>>>

http://dev.mysql.com/doc/refman/5.1/en/optimization.html

this is not spam just to help this person who ask something..

http://download.oracle.com/docs/html/A97672_01/wn32tune.htm

http://dev.mysql.com/doc/refman/5.1/en/slow-query-log.html

http://dev.mysql.com/tech-resources/presen...0719/index.html

http://msdn.microsoft.com/en-us/library/ms979196.aspx

as i recomend to you use google and search for i knew i have read this item before!

http://www.devshed.com/c/a/MySQL/An-Introd...-Normalization/

i'm now lazy searching for the items..

bettter do it by your own...

i'm sleepy its 2:30 am at the Philippines and i'm now lazy and sleepy..

try to spend time reading..

as i said ask google

http://www.google.com/search?hl=en&q=o...art=20&sa=N http://www.google.com/search?hl=en&q=n...amp;btnG=Search

i'm tired and sleepy..

see you all 1:10 pm Philippine time... i'll be online ok...

Services

Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

Below is a list of services I offer:

Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

Rates

General consulting – My current hourly rate is $100 / hour. Custom Wapsite Community - My current rate is $500 / Wap Community Development.

underground Developer · 95 posts #10

i read this item before...

The Slow Query Log>>>>

http://dev.mysql.com/doc/refman/5.1/en/optimization.html

this is not spam just to help this person who ask something..

http://download.oracle.com/docs/html/A97672_01/wn32tune.htm

http://dev.mysql.com/doc/refman/5.1/en/slow-query-log.html

http://dev.mysql.com/tech-resources/presen...0719/index.html

http://msdn.microsoft.com/en-us/library/ms979196.aspx

as i recomend to you use google and search for i knew i have read this item before!

http://www.devshed.com/c/a/MySQL/An-Introd...-Normalization/

i'm now lazy searching for the items..

bettter do it by your own...

i'm sleepy its 2:30 am at the Philippines and i'm now lazy and sleepy..

try to spend time reading..

as i said ask google

http://www.google.com/search?hl=en&q=o...art=20&sa=N http://www.google.com/search?hl=en&q=n...amp;btnG=Search

i'm tired and sleepy..

see you all 1:10 pm Philippine time... i'll be online ok...

LOL!!!

the most best answer is dont use lavalair LOL!! tons of backdoors

External image (may be gone) TIME SPACE WARP NGAYON DIN!!! Ang amin ay amin lamang at ang sa inyo ay amin parin - TEAM LUPIN

inet Senior · 264 posts #11

QUOTE (underground @ Jan 25 2009, 10:53 PM) <{POST_SNAPBACK}>

LOL!!!

the most best answer is dont use lavalair LOL!! tons of backdoors

if that is your answer it is reserverd for your choice...

better code your own wap community site! for it is safe on your hands! 🤔

take note all of you tried to use lavalair script 😳 , all others do edits to it to make it safe!

🙄

the topic is not about backdoors its all about his Cpu Over Usage Problem due to mysql and server problems pertaining to php script mysql queries overload or slow queries and the best answer is to study sql Optimization or Normalization!

if you want to search it .. the result is 128,000 most of them are almost reliable but there only 3sites that have clear results.

Services

Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

Below is a list of services I offer:

Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

Rates

General consulting – My current hourly rate is $100 / hour. Custom Wapsite Community - My current rate is $500 / Wap Community Development.

anderson Developer · 146 posts #12

QUOTE (inet @ Jan 26 2009, 08:31 AM) <{POST_SNAPBACK}>

if that is your answer it is reserverd for your choice...

better code your own wap community site! for it is safe on your hands! 🤔

take note all of you tried to use lavalair script 😳 , all others do edits to it to make it safe!

🙄

the topic is not about backdoors its all about his Cpu Over Usage Problem due to mysql and server problems pertaining to php script mysql queries overload or slow queries and the best answer is to study sql Optimization or Normalization!

if you want to search it .. the result is 128,000 most of them are almost reliable but there only 3sites that have clear results.

Your inbox folder is full. Remove old PMs sothat you can receive PMs. @ inet

Wait...

vijayan Newbie · 7 posts #13

Hello I would Like know some Answers

1) How Much MB are GB your Mysql ? 2)Normally How many people are online ? 3) What os and control panel your using ?

Plz answer this all there ..i will look @ this issues

Guest #14

Yes if the inbox database table is full then inboxproc will have to use a lot to search through them everytime a user opens there inbox.

Maybe you might also have a memory leek in the inboxpoc.php file itself

coder Newbie · 6 posts #15

Dont no how u manage to have cpu problems, there must be a big problems with the server, wap dont use any kind of resouses your loading 10kb on average per page not hunreads of mb, like most web sites do. The truth about hosting: Never rent out a vps or dedicated server unless you are paying atleast $500 each month, Reason for this all dedicated and vps are based on a single server and they share all the cpu and ram with other accounts. NOT GOOD. Most stats are fixed to make it look like your using more resorces. Why? They are there to make as much profit as possible, They will say the server has this cpu ram blah blah but none of it is true. Remember these web hosts only want sites that get a few hits a day, so they can squeeze as many accounts onto the server posssible to make as much profit as they can. To be honest unless your willing to pay loads of cash out each month, the best way foward is to use a shared hosting account, most shared hosting platforms have hundreads of machines wired up, to share resores accross the whole network, its called load balancing. So basicly u could have 1000times the amount of resourses u would ever get with a vps or dedicated server. They dont like telling you that, coz they want profit profit and profit.

metulj Super moderator Principal · 1,726 posts #16

QUOTE (coder @ Feb 28 2009, 04:09 AM) <{POST_SNAPBACK}>

.....The truth about hosting: Never rent out a vps or dedicated server unless you are paying atleast $500 each month.....

$500/month is way to much ! $100-$200(max)/month should provide you very decent dedicated server 🤔

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

subzero Super moderator Fellow · 3,954 posts #17

i sell when i get more lines and ip in $99 per month

and this servers are AMD Athlon™ 64 X2 Dual-Core x 2

this has tested server with alot of crap scripts like lavalair with bugs...

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

vijayan Newbie · 7 posts #18

I can get Best Server with Best Support

hasis Supermicro 1U Rackmount Processor Intel Core2Quad Yorkfield 2.83GHZ w/ 12Mb L2 Cache Memory 8 GB RAM Memory (DDR2) Hard Drive 500 GB Seagate SATA Hard Drive (7200 RPM) Monthly bandwidth UNMETERED (100 MBPS Port, No Transfer Limit!) Operating system options Linux (CentOS, Debian, Etc.) Windows Server 2003, 2008 (various subversions) Control panel options CPanel/WHM Parallels PLESK Data Center Location Chicago, IL

For Just 150$/m..

djlee Developer · 224 posts #19

QUOTE (rich @ Feb 24 2009, 07:12 PM) <{POST_SNAPBACK}>

Yes if the inbox database table is full then inboxproc will have to use a lot to search through them everytime a user opens there inbox.

not really correct .. its the file itself that causes the problem not the size of the table... on my site my messages table has over 30,000 messages at any one time and theres little to no lag. takes about 3 seconds to display the inbox and for 2.9 seconds of that is due to global queries which i simple havent had time to optimise and fix up as im busy with my freelance projects.

Heres a quick tip. use indexes. They take up more room as it creates a index file for the table but makes searching quicker. If you often select messages WHERE receiver=$uid for example, indexing receiver would be a good option. Ive known people to index nearly ever field in there database. This is not really neccassary and i advise against it, but since they had over 4TB of HDD space to play with i guess there index file sizes was of no concern

wap2k Developer · 168 posts #20

Thankyou for pointing that out Lee 🙂

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close