Unable to retrieve <800 members of Mailman list through Curl command
 
            Hi Team,
       I am currently running Mailman 3 with version 3.3.1 and in builtpostfix version 2.10.1-6 on RHEL 7.5 with PostgreSQL 11.7 version with default values. I am almost running 2000 lists with 128 GB RAM and 24 Cores on a single VM and on which all the mailman 3 components are running.
       It is observed for most of the lists having members more than500 is displaying "Mailman REST API not available. Please restart Mailman Core" message on the postorius window and on running the CURL command over REST API of Mailman it is reaching the time limit 30 seconds and showing the below error.
*curl: (52) Empty reply from serverNo JSON object could be decoded*
       The same behavior is observed on browsing the held messages forfew lists either through the browser or through CURL and REST API.
       How to resolve this issue ? What other details I can provide tomake you get an idea ?
Thanks & Regards, Shashi Kanth.K 9052671936
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
 
            Hi, thanks, Abhilash Raj
On Wed, Jan 20, 2021 at 17:58, Shashikanth Komandoor <shashikanth.komandoor@gmail.com> wrote:
Hi Team,
I am currently running Mailman 3 with version 3.3.1 and inbuilt postfix version 2.10.1-6 on RHEL 7.5 with PostgreSQL 11.7 version with default values. I am almost running 2000 lists with 128 GB RAM and 24 Cores on a single VM and on which all the mailman 3 components are running.
It is observed for most of the lists having members morethan 500 is displaying "Mailman REST API not available. Please restart Mailman Core" message on the postorius window and on running the CURL command over REST API of Mailman it is reaching the time limit 30 seconds and showing the below error.
This is a known issue with the Members API. You can use pagination1 to get the list of Members in batches instead of all in a single request. I'd say a page size of 200~ should be fine, but you should try out on your server and adjust the size.
You can also use the command line to run mailman members  ant.example.com to get a list of Members for the list.
Abhilash
*curl: (52) Empty reply from serverNo JSON object could be decoded*
The same behavior is observed on browsing the heldmessages for few lists either through the browser or through CURL and REST API.
How to resolve this issue ? What other details I canprovide to make you get an idea ?
Thanks & Regards, Shashi Kanth.K 9052671936
<<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>> Virus-free. www.avast.com <http://www.avast.com/> <<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Mailman-users mailing list -- mailman-users@mailman3.org <mailto:mailman-users@mailman3.org> To unsubscribe send an email to mailman-users-leave@mailman3.org <mailto:mailman-users-leave@mailman3.org> <https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/>
participants (2)
- 
                 Abhilash Raj Abhilash Raj
- 
                 Shashikanth Komandoor Shashikanth Komandoor