[SNMP4J] Issue with bulk data loading into MOMutableTableModel

Frank Fock fock at agentpp.com
Fri Mar 14 16:52:54 CET 2014


Hi,

What do you mean with "crashing" exactly?
Is an exception being thrown?
Does the agent hang (i.e. not responding anymore)?

Best regards,
Frank

Am 14.03.2014 13:07, schrieb VIKRAM MODUGU:
> Hello Helpdesk,
>
> With this load the snmp agent is crashing repeatedly.
>
> Thanks,
> Vikram Modugu.
>
> From: VIKRAM MODUGU
> Sent: 14 March 2014 17:17
> To: 'snmp4j at agentpp.org'
> Subject: Issue with bulk data loading into MOMutableTableModel
>
> HI,
>
>
> We have seen the snmp4j agent is crashing when heavy load is being put on the snmp4j agent.
>
> We have a scenario of having 50k records in a particular  mib table, here we are giving how we are loading the content into the motable model.
>
>
>
>                  MOMutableTableModel model = (MOMutableTableModel) table.getModel();
>
>                                                  synchronized (model) {
>
>                                                                  model.clear();
>
>                                                                  Map<Integer, String> domainMap = postgresServ.getAllAvailableDomains();
>
>                                                                  logger.info("Acquired the lock on associated clients table model.");
>
>                                                                  List<AssociatedClient> assocClientList = redisServ
>
>                                                                                                  .getAssociatedClientsInfo();
>
>
>
>                                                                  int recCount = 1;
>
>                                                                  for (AssociatedClient client : assocClientList) {
>
>                                                                  model.addRow(new DefaultMOMutableRow2PC(),Variable[]);
>
> }
>
> }
>
> This table content is very dynamic in nature, they change very frequently. Can you pls clarify us if there is something wrong we are doing?
>
> We are using snmp4j agent version 2.1.0 and snmp4j api version 2.0.2.
>
>
>
> Thanks,
> Vikram Modugu.
>
>
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> https://s16675406.onlinehome-server.info/mailman/listinfo/snmp4j

-- 
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231




More information about the SNMP4J mailing list