# Address is in use?

**URL:** <https://discuss.elastic.co/t/address-is-in-use/167127>\
**Category:** Logstash\
**Created:** [February 5, 2019, 1:22pm UTC](https://discuss.elastic.co/t/address-is-in-use/167127 "2019-02-05T13:22:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fribse](https://avatars.discourse-cdn.com/v4/letter/f/c67d28/32.png) [@fribse](https://discuss.elastic.co/u/fribse)\
**Post date:** [February 5, 2019, 1:22pm UTC](https://discuss.elastic.co/t/address-is-in-use/167127/1 "2019-02-05T13:22:07Z")

</div>

I have a setup with parallell logstash. The docker-compose file places the second (test) on port 5001, where the production is on 5000.

When I look in logs I see these messages:

```
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,319][DEBUG][logstash.filters.grok] Grok compiled OK {:pattern=>"^%{SPACE}\\* Process ID: %{NUMBER:pid}", :expanded_pattern=>"^(?:\\s*)\\* Process ID: (?<NUMBER:pid>(?:(?:(?<![0-9.+-])(?>[+-]?(?:(?:[0-9]+(?:\\.[0-9]+)?)|(?:\\.[0-9]+))))))"}
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,340][DEBUG][logstash.filters.aggregate] Aggregate register call {:code=>"map['sent'] = 0 ; map['duration'] = 0"}
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,371][DEBUG][logstash.filters.aggregate] Aggregate register call {:code=>"map['duration'] += event.get('batchduration')"}
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,375][DEBUG][logstash.filters.aggregate] Aggregate register call {:code=>"map['sent'] += event.get('batchsent')"}
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,378][DEBUG][logstash.filters.aggregate] Aggregate register call {:code=>"event.set('Duration', map['duration']) ; event.set('Sent', map['sent'])"}
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,385][DEBUG][logstash.filters.aggregate] Aggregate timeout for '%{identity}' pattern: 1000 seconds
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,388][DEBUG][logstash.filters.aggregate] Aggregate default timeout: 1000 seconds
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,509][DEBUG][io.netty.util.internal.logging.InternalLoggerFactory] Using SLF4J as the default logging framework
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,535][DEBUG][io.netty.util.internal.PlatformDependent0] -Dio.netty.noUnsafe: false
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,535][DEBUG][io.netty.util.internal.PlatformDependent0] Java version: 8
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,537][DEBUG][io.netty.util.internal.PlatformDependent0] sun.misc.Unsafe.theUnsafe: available
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,537][DEBUG][io.netty.util.internal.PlatformDependent0] sun.misc.Unsafe.copyMemory: available
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,538][DEBUG][io.netty.util.internal.PlatformDependent0] java.nio.Buffer.address: available
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,538][DEBUG][io.netty.util.internal.PlatformDependent0] direct buffer constructor: available
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,539][DEBUG][io.netty.util.internal.PlatformDependent0] java.nio.Bits.unaligned: available, true
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,539][DEBUG][io.netty.util.internal.PlatformDependent0] jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable prior to Java9
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,539][DEBUG][io.netty.util.internal.PlatformDependent0] java.nio.DirectByteBuffer.<init>(long, int): available
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,539][DEBUG][io.netty.util.internal.PlatformDependent] sun.misc.Unsafe: available
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,540][DEBUG][io.netty.util.internal.PlatformDependent] -Dio.netty.tmpdir: /tmp (java.io.tmpdir)
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,540][DEBUG][io.netty.util.internal.PlatformDependent] -Dio.netty.bitMode: 64 (sun.arch.data.model)
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,541][DEBUG][io.netty.util.internal.PlatformDependent] -Dio.netty.noPreferDirect: false
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,541][DEBUG][io.netty.util.internal.PlatformDependent] -Dio.netty.maxDirectMemory: 259522560 bytes
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,541][DEBUG][io.netty.util.internal.PlatformDependent] -Dio.netty.uninitializedArrayAllocationThreshold: -1
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,542][DEBUG][io.netty.util.internal.CleanerJava6] java.nio.ByteBuffer.cleaner(): available
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,544][DEBUG][io.netty.util.internal.NativeLibraryLoader] -Dio.netty.native.workdir: /tmp (io.netty.tmpdir)
ESC[33mlogstashdebug |ESC[0m [2019-02-05T13:19:03,545][DEBUG][io.netty.util.internal.NativeLibraryLoader] Unable to load the library 'netty_tcnative_linux_x86_64', trying other loading mechanism.
ESC[33mlogstashdebug |ESC[0m java.lang.UnsatisfiedLinkError: no netty_tcnative_linux_x86_64 in java.library.path

```

From there it just keeps crashing.  
It's the postfix setup I'm trying to set up elsewhere.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 5, 2019, 1:22pm UTC](https://discuss.elastic.co/t/address-is-in-use/167127/2 "2019-03-05T13:22:13Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
