Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mosquitto 2.0.15 "Error: Out of memory." on MacOS 12.6 #2796

Open
Bemygoodfriend opened this issue Apr 30, 2023 · 0 comments
Open

Mosquitto 2.0.15 "Error: Out of memory." on MacOS 12.6 #2796

Bemygoodfriend opened this issue Apr 30, 2023 · 0 comments

Comments

@Bemygoodfriend
Copy link

Bemygoodfriend commented Apr 30, 2023

Hi,

I am on MacOS Monterey 12.6, and have "Out of Memory" error when starting mosquitto 2.0.5. I have no clue for debugging, and I also set "export DYLD_PRINT_LIBRARIES=1" for info. Can the experts here provide more insight so I can find out its root cause? Thanks.

[~] brew reinstall mosquitto
==> Fetching mosquitto
==> Downloading https://ghcr.io/v2/homebrew/core/mosquitto/manifests/2.0.15
Already downloaded: /Users/dma/Library/Caches/Homebrew/downloads/101cf683c6cea6e38ecc5ae389e2299105a87f8e0c7e7837a8720f414738ff6e--mosquitto-2.0.15.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/mosquitto/blobs/sha256:3d0a5aef85420aae906b0b0eb5c112c27af783c87d80a51ccdddfeeaa4daf386
Already downloaded: /Users/dma/Library/Caches/Homebrew/downloads/6a05816bf8f8b83436b8d57dec9680d9b282942ed5283627c0b7a24324f6b4a2--mosquitto--2.0.15.monterey.bottle.tar.gz
==> Reinstalling mosquitto
==> Pouring mosquitto--2.0.15.monterey.bottle.tar.gz
==> Caveats
mosquitto has been installed with a default configuration file.
You can make changes to the configuration by editing:
/usr/local/etc/mosquitto/mosquitto.conf

To restart mosquitto after an upgrade:
brew services restart mosquitto
Or, if you don't want/need a background service you can just run:
/usr/local/opt/mosquitto/sbin/mosquitto -c /usr/local/etc/mosquitto/mosquitto.conf
==> Summary
🍺 /usr/local/Cellar/mosquitto/2.0.15: 43 files, 1.6MB
==> Running brew cleanup mosquitto...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see man brew).

[~] /usr/local/opt/mosquitto/sbin/mosquitto -c /usr/local/etc/mosquitto/mosquitto.conf -v
dyld[23339]: /usr/local/Cellar/mosquitto/2.0.15/sbin/mosquitto
dyld[23339]: /usr/local/Cellar/[email protected]/1.1.1s/lib/libssl.1.1.dylib
dyld[23339]: /usr/local/Cellar/[email protected]/1.1.1s/lib/libcrypto.1.1.dylib
dyld[23339]: <8E7D2B41-940D-3371-8D5B-07F6BC4119AE> /usr/lib/libSystem.B.dylib
dyld[23339]: <54431C2C-7EBD-3E17-AEA3-9A7FFD3403AC> /usr/lib/system/libcache.dylib
dyld[23339]: <1A00FE13-7DED-3B41-9655-EF210F31764E> /usr/lib/system/libcommonCrypto.dylib
dyld[23339]: /usr/lib/system/libcompiler_rt.dylib
dyld[23339]: <3F9E168D-0697-3311-86DE-63884A75299C> /usr/lib/system/libcopyfile.dylib
dyld[23339]: /usr/lib/system/libcorecrypto.dylib
dyld[23339]: <1A04B380-76E4-3E4B-B0FC-9837533D021D> /usr/lib/system/libdispatch.dylib
dyld[23339]: <64C284B3-231B-391D-845C-A285DFA305CD> /usr/lib/system/libdyld.dylib
dyld[23339]: <16BAFDE1-B1FC-3A4B-B06B-709AB4E357AB> /usr/lib/system/libkeymgr.dylib
dyld[23339]: <1A2B574F-0D91-376B-8122-C9915A89B719> /usr/lib/system/libmacho.dylib
dyld[23339]: /usr/lib/system/libquarantine.dylib
dyld[23339]: <0A06ABF0-FA65-3ADA-A46A-A6F7C62F5C15> /usr/lib/system/libremovefile.dylib
dyld[23339]: <4C84DA5F-6450-3B33-8CA5-E6775EB3C7BB> /usr/lib/system/libsystem_asl.dylib
dyld[23339]: /usr/lib/system/libsystem_blocks.dylib
dyld[23339]: /usr/lib/system/libsystem_c.dylib
dyld[23339]: /usr/lib/system/libsystem_collections.dylib
dyld[23339]: /usr/lib/system/libsystem_configuration.dylib
dyld[23339]: <4A6C44F7-FD36-3315-85EA-904106DB1995> /usr/lib/system/libsystem_containermanager.dylib
dyld[23339]: <8C364FD4-92EB-3D96-903B-23556015AD00> /usr/lib/system/libsystem_coreservices.dylib
dyld[23339]: /usr/lib/system/libsystem_darwin.dylib
dyld[23339]: <1DFA63CE-158B-3B32-A6BD-9881C2B4045E> /usr/lib/system/libsystem_dnssd.dylib
dyld[23339]: /usr/lib/system/libsystem_featureflags.dylib
dyld[23339]: <6D4B0DA7-8EFC-3E6D-B984-F49260C3C194> /usr/lib/system/libsystem_info.dylib
dyld[23339]: <5873BB02-9C24-330E-BE3F-A69937620E64> /usr/lib/system/libsystem_m.dylib
dyld[23339]: <47042ACD-A337-322A-8DB7-ECD59CC60D92> /usr/lib/system/libsystem_malloc.dylib
dyld[23339]: /usr/lib/system/libsystem_networkextension.dylib
dyld[23339]: <8FDAD401-BF94-33BD-AC95-6928272AF18D> /usr/lib/system/libsystem_notify.dylib
dyld[23339]: <27C0A669-AF41-38F3-AF68-B4DE8FFD5128> /usr/lib/system/libsystem_product_info_filter.dylib
dyld[23339]: <625E0912-0D81-39CC-8914-F8973E106D02> /usr/lib/system/libsystem_sandbox.dylib
dyld[23339]: <1073080D-83EA-3190-AB3F-F299FC7C042E> /usr/lib/system/libsystem_secinit.dylib
dyld[23339]: <8CC28466-FD2F-3C80-9834-9525B7BEAC19> /usr/lib/system/libsystem_kernel.dylib
dyld[23339]: /usr/lib/system/libsystem_platform.dylib
dyld[23339]: /usr/lib/system/libsystem_pthread.dylib
dyld[23339]: <643A7FA0-DC38-30CF-B755-8FFE9A768B30> /usr/lib/system/libsystem_symptoms.dylib
dyld[23339]: <5E19C3FF-05E3-39AD-BF5F-118B4CA909E1> /usr/lib/system/libsystem_trace.dylib
dyld[23339]: <079E4280-10E2-3062-BC91-A190F3A0C07E> /usr/lib/system/libunwind.dylib
dyld[23339]: <97773259-BCCA-3435-B545-3818BB30EFEC> /usr/lib/system/libxpc.dylib
dyld[23339]: <7B800BB6-32E7-3597-B292-2C4DA4C377B1> /usr/lib/libc++abi.dylib
dyld[23339]: <4D9B0DCA-7151-3875-B98E-B255DB8267A8> /usr/lib/libobjc.A.dylib
dyld[23339]: /usr/lib/liboah.dylib
dyld[23339]: /usr/lib/libc++.1.dylib
1682816173: mosquitto version 2.0.15 starting
1682816173: Config loaded from /usr/local/etc/mosquitto/mosquitto.conf.
1682816173: Starting in local only mode. Connections will only be possible from clients running on this machine.
1682816173: Create a configuration file which defines a listener to allow remote access.
1682816173: For more details see https://mosquitto.org/documentation/authentication-methods/
1682816173: Opening ipv4 listen socket on port 1883.
1682816173: Opening ipv6 listen socket on port 1883.
1682816173: Error: Out of memory.

[~] ls -al /usr/local/etc/mosquitto/mosquitto.conf
lrwxr-xr-x 1 dma admin 58 Apr 30 08:55 /usr/local/etc/mosquitto/mosquitto.conf -> ../../Cellar/mosquitto/2.0.15/etc/mosquitto/mosquitto.conf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant