[Snort-users] Barnyard2 -ERROR: Unable to allocate memory! (3737895080 requested)

wkitty42 at ...14940... wkitty42 at ...14940...
Fri Jun 2 16:16:27 EDT 2017


On 06/02/2017 12:38 AM, ‫moon sun‬ ‫ wrote:
>   I used hping3 to simulate Dos attackby  :
> $ sudo hping3example.com -c 10000 -d 120 -S -w 64 --flood -p 80
> And i logged it by snort to log file.
> 
> Then I used barnyard2 to send this log file to snort mysql , but it give me this error :
> 
> 
> ERROR: Unable to allocate memory!  (3737895080 requested)
> Fatal Error, Quitting..
> Barnyard2 exiting
> database: Closing connection to database "snort"
> 
> before simulating the dos attack and logged it , it was work fine.
> Why this happen and how can I fix it?

it is trying to allocate 3Gig of RAM... i'd imagine that that's a pretty large 
U2 file it is trying to deal with...


FWIW: quoting from https://github.com/firnsy/barnyard2

------------------------------------------------------------------------------
4. CONTACT
------------------------------------------------------------------------------

You can contact the barnyard2 team and user base for question/help debugging 
issue concerning barnyard2 by using our mailing lists.

barnyard2-users at ...14071...
AND
barnyard2-devel at ...14071...



-- 
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list unless*
        *a signed and pre-paid contract is in effect with us.*




More information about the Snort-users mailing list