Abhilash Raj wrote:
It looks like you are looking at the Mailman-web logs. From the looks of it, the client side is basically timing out after 30 seconds. Same seems to be true for the script you wrote (which is calling the REST API underneath using mailmanclient), which is trying to fetch the list of non-members. Can you also look at the server side of the logs? It should be available at /opt/mailman/core/var/logs/mailman.log if you are using the standard docker-compose file from the repository.
OK, here's the output from /opt/mailman/core/var/logs/mailman.log when I click on delete in the web interface:
[10/Apr/2020:08:53:31 +0000] "GET /3.1/lists/scss-sysadmins.lists.scss.tcd.ie HTTP/1.1" 200 421 "-" "GNU Mailman REST client v3.3.0" [10/Apr/2020:08:53:31 +0000] "GET /3.1/lists/scss-sysadmins.lists.scss.tcd.ie/roster/owner HTTP/1.1" 200 626 "-" "GNU Mailman REST client v3.3.0" [10/Apr/2020:08:53:31 +0000] "GET /3.1/lists/scss-sysadmins.lists.scss.tcd.ie/roster/moderator HTTP/1.1" 200 90 "-" "GNU Mailman REST client v3.3.0" [10/Apr/2020:08:53:31 +0000] "GET /3.1/members/find?list_id=scss-sysadmins.lists.scss.tcd.ie&role=nonmember&count=0&page=1 HTTP/1.1" 200 92 "-" "GNU Mailman REST client v3.3.0" [10/Apr/2020:08:53:33 +0000] "GET /3.1/members/find?list_id=scss-sysadmins.lists.scss.tcd.ie&role=nonmember&count=25&page=1 HTTP/1.1" 200 12511 "-" "GNU Mailman REST client v3.3.0" [10/Apr/2020:08:53:33 +0000] "GET /3.1/lists/scss-sysadmins@lists.scss.tcd.ie/requests HTTP/1.1" 200 90 "-" "GNU Mailman REST client v3.3.0" [10/Apr/2020:08:53:33 +0000] "GET /3.1/lists/scss-sysadmins@lists.scss.tcd.ie/held?count=50&page=1 HTTP/1.1" 200 90 "-" "GNU Mailman REST client v3.3.0" [10/Apr/2020:08:53:37 +0000] "GET /3.1/lists/scss-sysadmins.lists.scss.tcd.ie HTTP/1.1" 200 421 "-" "GNU Mailman REST client v3.3.0"
[2020-04-10 08:54:07 +0000] [30] [CRITICAL] WORKER TIMEOUT (pid:36) [2020-04-10 08:54:07 +0000] [36] [INFO] Worker exiting (pid: 36) [2020-04-10 08:54:08 +0000] [38] [INFO] Booting worker with pid: 38 [10/Apr/2020:09:00:07 +0000] "GET /3.0/lists?count=10&page=1 HTTP/1.1" 200 3749 "-" "GNU Mailman REST client v3.3.0" [10/Apr/2020:10:00:07 +0000] "GET /3.0/lists?count=10&page=1 HTTP/1.1" 200 3749 "-" "GNU Mailman REST client v3.3.0"
Stephen