Project

General

Profile

Actions

Bug #1059

closed

Can't start in daemon mode with cuda activated

Added by Stefan Egger over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

There seem to be a Bug if you try to start in daemon Mode, without everything works fine

Startup: ********************************************************************
5/12/2013 -- 15:41:53 - <Info> - allocated 3670016 bytes of memory for the defrag hash... 65536 buckets of size 56
5/12/2013 -- 15:41:53 - <Info> - preallocated 65535 defrag trackers of size 144
5/12/2013 -- 15:41:53 - <Info> - defrag memory usage: 13107056 bytes, maximum: 33554432
5/12/2013 -- 15:41:53 - <Info> - AutoFP mode using default "Active Packets" flow load balancer
5/12/2013 -- 15:41:53 - <Info> - Use pid file /opt/suricata2/var/run/suricata.pid from config file.
5/12/2013 -- 15:41:54 - <Info> - preallocated 60000 packets. Total memory 1520640000
5/12/2013 -- 15:41:54 - <Info> - allocated 229376 bytes of memory for the host hash... 4096 buckets of size 56
5/12/2013 -- 15:41:54 - <Info> - preallocated 1000 hosts of size 120
5/12/2013 -- 15:41:54 - <Info> - host memory usage: 349376 bytes, maximum: 16777216
5/12/2013 -- 15:41:54 - <Info> - allocated 3670016 bytes of memory for the flow hash... 65536 buckets of size 56
5/12/2013 -- 15:41:54 - <Info> - preallocated 10000 flows of size 272
5/12/2013 -- 15:41:54 - <Info> - flow memory usage: 6390016 bytes, maximum: 33554432
5/12/2013 -- 15:41:54 - <Info> - IP reputation disabled
5/12/2013 -- 15:41:54 - <Info> - Added "34" classification types from the classification file
5/12/2013 -- 15:41:54 - <Info> - Added "12" reference types from the reference.config file
5/12/2013 -- 15:41:54 - <Info> - using magic-file /usr/share/file/magic
5/12/2013 -- 15:41:54 - <Info> - Delayed detect disabled
5/12/2013 -- 15:41:55 - <Info> - 38 rule files processed. 7822 rules successfully loaded, 0 rules failed
5/12/2013 -- 15:41:59 - <Info> - 7830 signatures processed. 567 are IP-only rules, 3444 are inspecting packet payload, 4942 inspect application layer, 72 are decoder event only
5/12/2013 -- 15:41:59 - <Info> - building signature grouping structure, stage 1: adding signatures to signature source addresses... complete
5/12/2013 -- 15:41:59 - <Info> - building signature grouping structure, stage 2: building source address list... complete
5/12/2013 -- 15:42:01 - <Info> - building signature grouping structure, stage 3: building destination address lists... complete
5/12/2013 -- 15:42:01 - <Error> - [ERRCODE: SC_ERR_CUDA_ERROR(134)] - cuCtxPushCurrent failed. Returned errocode - CUDA_ERROR_NOT_INITIALIZED
5/12/2013 -- 15:42:01 - <Error> - [ERRCODE: SC_ERR_FATAL(171)] - context push failed.

cardinfo: Nvidia Quadro K4000 with 3GB RAM
[root@gandalf log]# /opt/suricata2/bin/suricata --list-cuda-cards
5/12/2013 -- 15:48:41 - <Info> - This is Suricata version 2.0beta1 RELEASE
5/12/2013 -- 15:48:41 - <Info> - CPUs/cores online: 40
5/12/2013 -- 15:48:42 - <Info> - GPU Device 1: Quadro K4000, 4 Multiprocessors, 810MHz, CUDA Compute Capability 3.0
CUDA Cards recognized by the suricata CUDA module -
-----------------------------------------------------------------------------
Device Id Device Name Multi- Clock Rate Cuda Compute
Processors (MHz) Capability
-----------------------------------------------------------------------------
0 Quadro K4000 4 810 3.0
-----------------------------------------------------------------------------
Actions

Also available in: Atom PDF