Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Atreides_096
Wanderer


Joined: 21 Jan 2005
Posts: 99
Location: Solvang, CA

PostPosted: Fri Sep 02, 2005 4:59 am   

Pending Triggers
 
Been having some problems with zMUD lately, lag and crashes. Trying to figure out what's causing it, I noticed that #alarm, as well as showing alarms, shows pending triggers. I also noticed I had 225 pending triggers.

About 30 seconds later, I had 240 pending triggers. 10 secs after that, I got another access violation and had to reboot :P

I rebooted again, turned off my most resource-using script, and for about 10 mins, pending trigs stayed at 1/0. Then jumoed to 50. I turned off another script, and they started going down, then stayed at 20ish... my question is two-fold.

1) How many pending triggers is "safe" for zMUD to handle? At what point are you likely overloading it? (on a P4 3.2 with 1GB of ram, running nothing useage-intensive but zMUD, I.E., and virus scanner).

2) Is there a way to get a list of the actual pending triggers? Possibly try to figure out what's causing the backlog?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri Sep 02, 2005 8:55 am   
 
If you have many triggers that are open like #TR {*} then you will have this problem. Especially if those triggers preform a lot of proccessing. The best way to use such triggers is as a #CONDITION for another trigger. Only store the captured text during that trigger, then preform proccessing at a later time such as when your prompt comes up.

Other triggers that are composed mostly of wildcards take longer to match or fail. Since every active trigger is tested on every line you should always try to keep wildcard heavy triggers confined to be active only when they are likely to be matched. Again #CONDITION is a great way to do this, but you can also use #T+ and #T-.
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net