How find lagged scripts?

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 096.
Note: Core 096 is no longer officially supported.
Post Reply
CrazyMan
Expert Poster
Posts: 71
Joined: Wed Apr 05, 2006 8:08 am

How find lagged scripts?

Post by CrazyMan »

I have sysload 20-40% on shard.
polcore().error_creations_per_min return 105189
Its normal? How i can find scripts who create errors?
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post by CWO »

well, you could check debug.log (if you have that option enabled in pol.cfg), it will probably tell you where at least most of the errors are. Thats probably not entirely whats causing the lag though.
Whats your runaway script threshold?
Do you have lots of scripts that just say sleepms(1); just to stop it from running away?
How many connections to your shard?
How many script instructions/min on your shard?
What type of specs are on your server? (Processor speed, amount of RAM, RAM speed, etc...)
Post Reply