Sign in to follow this  
Followers 0
fi3ldy

High CPU Usage..?

3 posts in this topic

#1 ·  Posted (edited)

After doing some searching i came across a few reasons for high cpu usage other people have experienced, i attemoted to edit my script as advised and nothing, all i could find my script had from the possible reasons for high cpu usage was sleep(), which i tryed removing and no success.

I cannot post the script because it is HUGE! Can you guys give me any possible reasons for high cpu usage or functions known to cause it.

This is weird as i have a login script in my application, the high CPU only flys up at 100% AFTER i have logged in, ive looked throught at everything that goes on after the login, and theres nothing suspicious i could foind which would cause this.

Any hlep appriciated, thanks alot.

Edited by fi3ldy

Share this post


Link to post
Share on other sites



...reasons for high cpu usage was sleep(), which i tryed removing and no success...

Removing??? You should add sleep to give the CPU a rest - just like humans.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

rofl ill give it a try, always thought of it as holding the program, but obv not! :P

EDIT: oh look at that, added one sleep() to a while and its fine! thx alot lol

Edited by fi3ldy

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0