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 #21

To make my CPU usage a little My host said me to optimise some of my files. Will it solve the problem if I do that? @ all

Wait...

anderson Developer · 146 posts #23

How a sql query may be optimised?

Wait...

GumSlone Administrator Principal · 1,690 posts #24

QUOTE (vijayan @ Feb 28 2009, 11:46 AM) <{POST_SNAPBACK}>

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..

where do you get this one?

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

GumSlone Administrator Principal · 1,690 posts #25

QUOTE (anderson @ Mar 2 2009, 09:55 AM) <{POST_SNAPBACK}>

How a sql query may be optimised?

select from database only the things you need eg.

SELECT `id`,`username`,`password`,`email` FROM `users`

instead of

SELECT * FROM `users`

there are some more optimization ways

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

coder Newbie · 6 posts #26

Well i run on a basic shared server, 4.99 a month 20gb bandwidth limit, 30gb space. I get 300,000+ page views a day. and running mysql and images on nearly every page. No need for dedicated servers on wap, unless u got thosands online. ive been there before use dedicated server, or gone with shit hosts blah blah.

Anshul Senior · 296 posts #27

QUOTE (anderson @ Jan 25 2009, 05:21 PM) <{POST_SNAPBACK}>

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.....

Dont use user defined functions tooo much 😛

djlee Developer · 224 posts #28

stop using fetch_array everywhere too, cant believe people still use that as a perfect alternative to assoc and row

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