collect HUP signal

Meilán García Antonio <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization TRedess 2010 S.L.
Message-ID <[email protected]>
Hi,

I have a loaded module by snmpd.conf file with 'dlmod'. The problem is 
when I send

kill -HUP snmpdpid

the system does not retrieve all memory, the snmpd proces take more and 
more memory (RAM) if I send more HUP signals.

For test that my module is the problem, I modify the snmpd.conf and 
comment the 'dlmod' line. So, I can send HUP signal and the snmpd the 
memory is constant (the snmpd process doesn't take more memory)

So my question are:

1.- how can I register a function in my module for execute the routines 
for freeing all memory before restart snmpd (just when snmpd receives 
also the HUP signal)?

2.- Are there some routine for freeing all memory of my module process 
quickly or I have to unregister table to table and old that?

Thanks in advance.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.