The uwsgi process died with "libgcc_s.so.1 must be set for pthread_cancel to work"

uWSGI runs on CentOS 5 with python2.6

Sometimes the errors below are displayed in the uwsgi log:

libgcc_s.so.1 must be set for pthread_cancel for DAMN to work! process 2474 died: (trying to respawn ... Respawned uWSGI worker (new pid: 6328)

I searched on the Internet, but I do not understand why this is happening.

Additional Information:

find libgcc / lib / libgcc _s-4.1.2-20080825.so.1 / lib / libgcc _s.so.1 / lib 64 / libgcc_s-4.1.2-20080825.so.1 / lib 64 / libgcc_s.so.1 / usr / lib / gcc / x 86_64-redhat-linux / 3.4.6 / libgcc.a / usr / lib / gcc / x 86_64-redhat-linux / 3.4.6 / libgcc_eh.a / usr / lib / gcc / x 86_64-redhat-linux / 3.4.6 / libgcc_s.so / usr / lib / gcc / x 86_64-redhat-linux / 3.4.6 / libgcc_s_32.so / usr / lib / gcc / x 86_64-redhat-linux / 3.4. 6/32 / libgcc.a / usr / lib / gcc / x 86_64-redhat-linux / 3.4.6 / 32 / libgcc_eh.a / usr / lib / gcc / x 86_64-redhat-linux / 4.1.1 / libgcc. a / usr / lib / gcc / x 86_64-redhat-linux / 4.1.1 / libgcc_eh.a / usr / lib / gcc / x 86_64-redhat-linux / 4.1.1 / libgcc_s.so / usr / lib / gcc / x 86_64-redhat-linux / 4.1.1 / 32 / libgcc.a / usr / lib / gcc / x 86_64-redhat-linux / 4.1.1 / 32 / libgcc_eh.a / usr / lib / gcc / x 86_64-redhat -linux / 4.1.1 / 32 / libgcc_s.so / usr / lib / gcc -lib / i386-redhat-linux / 2.96 / libgcc.a / usr / lib / gcc -lib / i386-redhat-linux / 2.96 / libgcc_eh .a / usr / sbin / libgcc _post_upgrade / usr / share / doc / libgcc-4.1.2 / usr / share / doc / libgcc -4.1.2 / COPYING.LIB

+4
source share
1 answer

This error is usually related to uwsgi configuration. Allows you to "limit-as" become larger or remove restrictions. But I also highly recommend you use cgroup

+3
source

Source: https://habr.com/ru/post/1369483/


All Articles