Unix Technical Forum

Alarmprogram & Dynamic Server resource overflow:Locks

This is a discussion on Alarmprogram & Dynamic Server resource overflow:Locks within the Informix forums, part of the Database Server Software category; --> Hello All We have alarmprogram turned on but unfortunately, when the Server runs out of locks we recieve hundreds ...


Go Back   Unix Technical Forum > Database Server Software > Informix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 11:43 AM
tomcaml@yahoo.com
 
Posts: n/a
Default Alarmprogram & Dynamic Server resource overflow:Locks

Hello All

We have alarmprogram turned on but unfortunately, when the Server runs
out of locks we recieve hundreds or even thousands of emails stating
so - " Attention! : Dynamic Server resource overflow: 'Locks'."

Is there a way to configure the alarm so that we get a limited number -
say 10 or 50 emails rather than an email for each of the sessions and
the locks that are overflowing?


Thanks in Advance!

Tom

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 11:43 AM
Art S. Kagel
 
Posts: n/a
Default Re: Alarmprogram & Dynamic Server resource overflow:Locks

tomcaml@yahoo.com wrote:
> Hello All
>
> We have alarmprogram turned on but unfortunately, when the Server runs
> out of locks we recieve hundreds or even thousands of emails stating
> so - " Attention! : Dynamic Server resource overflow: 'Locks'."
>
> Is there a way to configure the alarm so that we get a limited number -
> say 10 or 50 emails rather than an email for each of the sessions and
> the locks that are overflowing?


Take a look at my alarm program, eventalarm.c, in the package utils3_ak in
the IIUG Software Repository. Basically it avoids this problem by making a
record in a file of the last time it sent a message about a particular event
id and only sends another email after N minutes have passed (N is
configurable but defaults to 5 minutes)

Art S. Kagel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-20-2008, 11:44 AM
tomcaml@yahoo.com
 
Posts: n/a
Default Re: Alarmprogram & Dynamic Server resource overflow:Locks

Gracias!!!!




Art S. Kagel wrote:
> tomcaml@yahoo.com wrote:
> > Hello All
> >
> > We have alarmprogram turned on but unfortunately, when the Server runs
> > out of locks we recieve hundreds or even thousands of emails stating
> > so - " Attention! : Dynamic Server resource overflow: 'Locks'."
> >
> > Is there a way to configure the alarm so that we get a limited number -
> > say 10 or 50 emails rather than an email for each of the sessions and
> > the locks that are overflowing?

>
> Take a look at my alarm program, eventalarm.c, in the package utils3_ak in
> the IIUG Software Repository. Basically it avoids this problem by making a
> record in a file of the last time it sent a message about a particular event
> id and only sends another email after N minutes have passed (N is
> configurable but defaults to 5 minutes)
>
> Art S. Kagel


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:59 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com