You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ bash t.sh + rm -rf uwsgi-dogstatsd+ git clone https://github.com/DataDog/uwsgi-dogstatsdCloning into 'uwsgi-dogstatsd'...remote: Enumerating objects: 84, done.remote: Total 84 (delta 0), reused 0 (delta 0), pack-reused 84Receiving objects: 100% (84/84), 19.95 KiB | 600.00 KiB/s, done.Resolving deltas: 100% (27/27), done.+ cd uwsgi-dogstatsd/example+ virtualenv venvcreated virtual environment CPython3.10.4.final.0-64 in 78ms creator CPython3Posix(dest=/tmp/y/uwsgi-dogstatsd/example/venv, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/asottile/.local/share/virtualenv) added seed packages: pip==22.2.2, setuptools==63.4.1, wheel==0.37.1 activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator+ export PATH=/tmp/y/uwsgi-dogstatsd/example/venv/bin:/home/asottile/bin:/home/asottile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin+ PATH=/tmp/y/uwsgi-dogstatsd/example/venv/bin:/home/asottile/bin:/home/asottile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin+ pip install pyuwsgiCollecting pyuwsgi Using cached pyuwsgi-2.0.20-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (926 kB)Installing collected packages: pyuwsgiSuccessfully installed pyuwsgi-2.0.20+ uwsgi --build-plugin ..*** uWSGI building and linking plugin from .. ***[aarch64-linux-gnu-gcc] dogstatsd_plugin.sobuild time: 0 seconds*** dogstatsd plugin built and available in dogstatsd_plugin.so ***+ uwsgi app.ini[uWSGI] getting INI configuration from app.ini!!! UNABLE to load uWSGI plugin: ./dogstatsd_plugin.so: undefined symbol: uwsgi !!!unable to find "dogstatsd" stats_pusher
seems to work fine with uwsgi though:
$ bash t.sh uwsgi...Successfully installed uwsgi-2.0.20+ uwsgi --build-plugin ..*** uWSGI building and linking plugin from .. ***[aarch64-linux-gnu-gcc] dogstatsd_plugin.sobuild time: 0 seconds*** dogstatsd plugin built and available in dogstatsd_plugin.so ***+ uwsgi app.ini[uWSGI] getting INI configuration from app.ini*** Starting uWSGI 2.0.20 (64bit) on [Tue Aug 16 11:04:36 2022] ***compiled with version: 11.2.0 on 16 August 2022 15:04:32os: Linux-5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:08:11 UTC 2022nodename: asottile-work-vmmachine: aarch64clock source: unixpcre jit disableddetected number of CPU cores: 8current working directory: /tmp/y/uwsgi-dogstatsd/exampledetected binary path: /tmp/y/uwsgi-dogstatsd/example/venv/bin/uwsgiyour processes number limit is 15222your memory page size is 4096 bytesdetected max file descriptor number: 1024lock engine: pthread robust mutexesthunder lock: disabled (you can enable it with --thunder-lock)uWSGI http bound on :9090 fd 4uwsgi socket 0 bound to TCP address 127.0.0.1:35949 (port auto-assigned) fd 3Python version: 3.10.4 (main, Jun 29 2022, 12:14:53) [GCC 11.2.0]Python main interpreter initialized at 0xaaaae3ec5310python threads support enabledyour server socket listen backlog is limited to 100 connectionsyour mercy for graceful operations on workers is 60 secondsmapped 145840 bytes (142 KB) for 1 cores*** Operational MODE: single process ***initialized 38 metricsWSGI app 0 (mountpoint='') ready in 0 seconds on interpreter 0xaaaae3ec5310 pid: 13901 (default app)*** uWSGI is running in multiple interpreter mode ***spawned uWSGI master process (pid: 13901)spawned uWSGI worker 1 (pid: 13902, cores: 1)metrics collector thread startedspawned uWSGI http 1 (pid: 13905)^CSIGINT/SIGTERM received...killing workers...gateway "uWSGI http 1" has been buried (pid: 13905)worker 1 buried after 1 secondsgoodbye to uWSGI.
The text was updated successfully, but these errors were encountered:
a small reproduction
seems to work fine with
uwsgi
though:The text was updated successfully, but these errors were encountered: