[Bro-Dev] [JIRA] (BIT-1115) topic/jazoff/suppression

2014-01-20 Thread Robin Sommer (JIRA)

 [ 
https://bro-tracker.atlassian.net/browse/BIT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robin Sommer updated BIT-1115:
--

Resolution: Merged  (was: Fixed)
Status: Closed  (was: Merge Request)

 topic/jazoff/suppression
 

 Key: BIT-1115
 URL: https://bro-tracker.atlassian.net/browse/BIT-1115
 Project: Bro Issue Tracker
  Issue Type: Patch
  Components: Bro
Affects Versions: 2.2
Reporter: Justin Azoff





--
This message was sent by Atlassian JIRA
(v6.2-OD-07-028#6211)
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


[Bro-Dev] [JIRA] (BIT-1115) topic/jazoff/suppression

2014-01-15 Thread Justin Azoff (JIRA)
Justin Azoff created BIT-1115:
-

 Summary: topic/jazoff/suppression
 Key: BIT-1115
 URL: https://bro-tracker.atlassian.net/browse/BIT-1115
 Project: Bro Issue Tracker
  Issue Type: Patch
  Components: Bro
Affects Versions: 2.2
Reporter: Justin Azoff






--
This message was sent by Atlassian JIRA
(v6.2-OD-07-027#6211)
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


[Bro-Dev] [JIRA] (BIT-1115) topic/jazoff/suppression

2014-01-15 Thread Justin Azoff (JIRA)

 [ 
https://bro-tracker.atlassian.net/browse/BIT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Azoff updated BIT-1115:
--

Status: Merge Request  (was: Open)

 topic/jazoff/suppression
 

 Key: BIT-1115
 URL: https://bro-tracker.atlassian.net/browse/BIT-1115
 Project: Bro Issue Tracker
  Issue Type: Patch
  Components: Bro
Affects Versions: 2.2
Reporter: Justin Azoff





--
This message was sent by Atlassian JIRA
(v6.2-OD-07-027#6211)
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


[Bro-Dev] [JIRA] (BIT-1115) topic/jazoff/suppression

2014-01-15 Thread Justin Azoff (JIRA)

[ 
https://bro-tracker.atlassian.net/browse/BIT-1115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=15203#comment-15203
 ] 

Justin Azoff commented on BIT-1115:
---

Instead of storing the entire notice in Notice::suppressing, just store the 
time the notice should be suppressed until.

This has the same functionality, except that end_suppression can no longer be 
generated.

This has the effect of greatly reducing the memory usage on a bro cluster that 
is raising a lot of suppressed notices.  This can happen if suppression is 
enabled, but the suppression id is too specific and multiple notices are raised 
anyway.  
This problem is exacerbated on cluster nodes that are running 10 workers, since 
the suppression information is duplicated across all workers ( and then across 
all nodes )

For a stress test of a pcap that raises 38609 notices:

| Without the patch | 147255296  maximum resident set size|
| With the patch | 49586176  maximum resident set size|
| Difference | 93 MB |

On the real cluster, I was seeing memory usage growing at the rate of 2 
megabytes/second or so.  Even with 24G of ram the nodes were OOMing after a few 
hours.  Bro workers would crash, eventually resync the data, and crash again.

 topic/jazoff/suppression
 

 Key: BIT-1115
 URL: https://bro-tracker.atlassian.net/browse/BIT-1115
 Project: Bro Issue Tracker
  Issue Type: Patch
  Components: Bro
Affects Versions: 2.2
Reporter: Justin Azoff





--
This message was sent by Atlassian JIRA
(v6.2-OD-07-027#6211)
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev