msync - can someone shed some light please?

Chris Knipe <[email protected]> Thu, 12 Jun 2025 13:38:46 +0000
Newsgroups gmane.network.inn
Message-ID <CT2P275MB0531DFA350E717770C37529ADD74A@CT2P275MB0531.ZAFP275.PROD.OUTLOOK.COM>
--===============4326095687512137328==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_CT2P275MB0531DFA350E717770C37529ADD74ACT2P275MB0531ZAFP_"

--_000_CT2P275MB0531DFA350E717770C37529ADD74ACT2P275MB0531ZAFP_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

When adding groups (ctlinnd newgroup...), the following occurs:

2025-06-12T14:14:57.572314+02:00 nntpspool innd: SERVER msync failed /var/l=
ib/news/active 0x0x7f3f46800000 5062656 Cannot allocate memory
2025-06-12T14:14:57.572335+02:00 nntpspool innd: CNFS: CNFSshutdowncycbuff:=
 flushing 0
2025-06-12T14:14:57.594777+02:00 nntpspool systemd[1]: inn2.service: Main p=
rocess exited, code=3Dexited, status=3D1/FAILURE

Inn refuses to start up, until I literally remove 1 line from my active fil=
e.  As soon as I add them again, the issue reoccurs.  The name of the group=
 being added/removed is of no consequence, the issue is about the amount of=
 groups - that is what is getting me here, I completely fail to understand =
how inn can't start up with ~107K groups in the active file.

root@nntpspool ~ # cat /var/lib/news/active|wc -l
107411

INN 2.7.3

Inn is using about 4GB RAM, the server has 128GB.  I am pulling my hair out=
 here...

Thnx
Chris


--_000_CT2P275MB0531DFA350E717770C37529ADD74ACT2P275MB0531ZAFP_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-ZA" link=3D"#0563C1" vlink=3D"#954F72" style=3D"word-wrap:=
break-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">When adding groups (ctlinnd newgroup&#8230;), the fo=
llowing occurs:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">2025-06-12T14:14:57.572314+02:00 nntpspool innd: SER=
VER msync failed /var/lib/news/active 0x0x7f3f46800000 5062656 Cannot alloc=
ate memory<o:p></o:p></p>
<p class=3D"MsoNormal">2025-06-12T14:14:57.572335+02:00 nntpspool innd: CNF=
S: CNFSshutdowncycbuff: flushing 0<o:p></o:p></p>
<p class=3D"MsoNormal">2025-06-12T14:14:57.594777+02:00 nntpspool systemd[1=
]: inn2.service: Main process exited, code=3Dexited, status=3D1/FAILURE<o:p=
></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Inn refuses to start up, until I literally remove 1 =
line from my active file.&nbsp; As soon as I add them again, the issue reoc=
curs.&nbsp; The name of the group being added/removed is of no consequence,=
 the issue is about the amount of groups &#8211; that
 is what is getting me here, I completely fail to understand how inn can&#8=
217;t start up with ~107K groups in the active file.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">root@nntpspool ~ # cat /var/lib/news/active|wc -l<o:=
p></o:p></p>
<p class=3D"MsoNormal">107411<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">INN 2.7.3<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Inn is using about 4GB RAM, the server has 128GB.&nb=
sp; I am pulling my hair out here&#8230;
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Thnx<o:p></o:p></p>
<p class=3D"MsoNormal">Chris<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_CT2P275MB0531DFA350E717770C37529ADD74ACT2P275MB0531ZAFP_--

--===============4326095687512137328==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
inn-workers mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/inn-workers

--===============4326095687512137328==--