1
answer

hi , 2 days ago i started getting this error :

ERROR ### ASSERTION FAILED at line 33 in xm_gelf.c/xm_gelf_writer_udp(): "deflateInit(&strm, Z_DEFAULT_COMPRESSION) == Z_OK" ###
INFO reconnecting in 1 seconds

 

anu idea ? tks .

AskedOctober 20, 2015 - 4:16pm

Comments (4)

  • adm's picture
    (NXLog)

    You can add this to nxlog.conf to get a core dump on assertion failure:

    Panic Hard

    Optionally you can attach a debugger to the nxlog process to figure out the return value of deflateInit().

    We can help identify the cause and fix it under a commercial support contract.

    November 2, 2015 - 9:29pm
  • logstarter's picture

    tks , i will try and get back .

    December 6, 2015 - 3:46pm
  • logstarter's picture

    2016-02-02 07:01:17 CRITICAL ### PANIC at line 33 in xm_gelf.c/xm_gelf_writer_udp(): "### ASSERTION FAILED: "deflateInit(&strm, Z_DEFAULT_COMPRESSION) == Z_OK" ###" ###

    February 2, 2016 - 11:03pm

Answer (1)

I guess that's a bug. Mosty likely deflateInit returns Z_MEM_ERROR which indicates an out-of-memory issue. Can you check the memory use of the nxlog service on the system?

There were a couple memory leaks discovered and fixed since in NXLog EE that are still affecting NXLog CE 2.9.1347.

AnsweredOctober 21, 2015 - 5:27pm

Comments (1)