Jump to content

Recommended Posts

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
Posted

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

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...