🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Eric D Prescott Wed, 05 Apr 2000 00:00
makehistory -i
#45547
Author: Eric D Prescott
Date: Wed, 05 Apr 2000 00:00
39 lines
1797 bytes
I have generated the cycbuffs and made sure they have
the correct ownership and permission.  

When I run make history I get the oh so helpfull error of:
	Can't initialize storage manager: one or more 
	storage methods failed initialization

My cycbuffs are 
*snip*
-rw-rw-r--   1 news     news     1024000000 Apr  5 17:06 buf10
-rw-rw-r--   1 news     news     1024000000 Apr  5 17:06 buf11
-rw-rw-r--   1 news     news     1024000000 Apr  5 17:06 buf12
*snip*

My cycbuff.conf
points to them all correctly.

If I modify it such that my metacycbuffs use 16 or less cycbufs
'makehistory -i' works correctly. it does not seem to care
which cycbuffs I point to so it's not them specificly.
It does not care which metacycbuffs I use as long as the total
cycbuffs within do not exceed 16.

This system is a sun Ultra-2 runing solaris 7 in 32bit mode.
64bit mode is not an opition due to driver issues.

Ideas?

Thank
-Eric
---------------------------------------------------------------------
Eric Prescott           prescott@cse.psu.edu   (814)-863-1142   
Sr. Systems Analyst, PSU Computer Science & Eng., 121 Pond Lab
---------------------------------------------------------------------



Re: makehistory -i
#45542
Author: Russ Allbery
Date: Wed, 05 Apr 2000 00:00
23 lines
1473 bytes
Eric D Prescott <prescott@math.psu.edu> writes:

> I have generated the cycbuffs and made sure they have
> the correct ownership and permission.  

> When I run make history I get the oh so helpfull error of:
> 	Can't initialize storage manager: one or more 
> 	storage methods failed initialization

What does syslog say?  That's where the error messages are logged.

> If I modify it such that my metacycbuffs use 16 or less cycbufs
> 'makehistory -i' works correctly. it does not seem to care which
> cycbuffs I point to so it's not them specificly.  It does not care which
> metacycbuffs I use as long as the total cycbuffs within do not exceed
> 16.

Hm.  That makes me think there may be a file descriptor limit problem.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: makehistory -i
#45666
Author: dj-prescott
Date: Mon, 10 Apr 2000 00:00
66 lines
3108 bytes
ok Here is what I found in my syslog.
Apr  6 09:44:44 lepidopteran.cse.psu.edu makehistory[22277]:
 Reading config from /var/news/etc/inn.conf
Apr  6 09:44:44 lepidopteran.cse.psu.edu makehistory[22277]:
 CNFS-sm: CNFSinitdisks: mmap for /var/news/spool/cycbuffs/buf70
 offset 0 len 0 failed: Not enough space
Apr  6 09:44:44 lepidopteran.cse.psu.edu makehistory[22277]:
 SM storage method 'cnfs' failed initialization
Apr  6 09:44:44 lepidopteran.cse.psu.edu makehistory[22277]:
 SM one or more storage methods failed initialization

Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
 Reading config from /var/news/etc/inn.conf
Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
 CNFS-sm: CNFSinitdisks: mmap for /var/news/spool/cycbuffs/buf67
 offset 0 len 0 failed: Not enough space
Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
 SM storage method 'cnfs' failed initialization
Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
 SM one or more storage methods failed initialization


the buff that generates the error is the 17th of all the buffs.
I ran it twice using diffrent buffs. I can get the one that
failed to be recognized but only if it is cycbuf 16 or lower in
in order of use.


Ideas?

-Eric Prescott

In article <ylln2s9m4d.fsf@windlord.stanford.edu>,Apr  6 12:12:30

  Russ Allbery <rra@stanford.edu> wrote:
> Eric D Prescott <prescott@math.psu.edu> writes:
>
> > I have generated the cycbuffs and made sure they have
> > the correct ownership and permission.
>
> > When I run make history I get the oh so helpfull error of:
> > 	Can't initialize storage manager: one or more
> > 	storage methods failed initialization
>
> What does syslog say?  That's where the error messages are logged.
>
> > If I modify it such that my metacycbuffs use 16 or less cycbufs
> > 'makehistory -i' works correctly. it does not seem to care which
> > cycbuffs I point to so it's not them specificly.  It does not care
which
> > metacycbuffs I use as long as the total cycbuffs within do not
exceed
> > 16.
>
> Hm.  That makes me think there may be a file descriptor limit problem.
>
> --
> Russ Allbery (rra@stanford.edu)
<http://www.eyrie.org/~eagle/>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: makehistory -i
#45672
Author: Russ Allbery
Date: Mon, 10 Apr 2000 00:00
24 lines
1770 bytes
dj-prescott <dj-prescott@cse.psu.edu> writes:

> Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
>  Reading config from /var/news/etc/inn.conf
> Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
>  CNFS-sm: CNFSinitdisks: mmap for /var/news/spool/cycbuffs/buf67
>  offset 0 len 0 failed: Not enough space
> Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
>  SM storage method 'cnfs' failed initialization
> Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
>  SM one or more storage methods failed initialization

> the buff that generates the error is the 17th of all the buffs.  I ran
> it twice using diffrent buffs. I can get the one that failed to be
> recognized but only if it is cycbuf 16 or lower in in order of use.

How much memory is in this machine?  mmap is claiming it's out of memory,
which is suspcious since not that much of the CNFS buffer is mmap'd at
startup (only the bitmaps, IIRC).

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: makehistory -i
#45675
Author: edprescott
Date: Tue, 11 Apr 2000 00:00
41 lines
2192 bytes
In article <yl66tpk7px.fsf@windlord.stanford.edu>,
  Russ Allbery <rra@stanford.edu> wrote:
> dj-prescott <dj-prescott@cse.psu.edu> writes:
>
> > Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
> >  Reading config from /var/news/etc/inn.conf
> > Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
> >  CNFS-sm: CNFSinitdisks: mmap for /var/news/spool/cycbuffs/buf67
> >  offset 0 len 0 failed: Not enough space
> > Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
> >  SM storage method 'cnfs' failed initialization
> > Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
> >  SM one or more storage methods failed initialization
>
> > the buff that generates the error is the 17th of all the buffs.  I
ran
> > it twice using diffrent buffs. I can get the one that failed to be
> > recognized but only if it is cycbuf 16 or lower in in order of use.
>
> How much memory is in this machine?  mmap is claiming it's out of
memory,
> which is suspcious since not that much of the CNFS buffer is mmap'd at
> startup (only the bitmaps, IIRC).

The machine has 256meg.  I have an extra 64 meg I can throw in if I need
to.

-Eric


>
> --
> Russ Allbery (rra@stanford.edu)
<http://www.eyrie.org/~eagle/>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: makehistory -i
#45696
Author: Russ Allbery
Date: Tue, 11 Apr 2000 00:00
30 lines
1954 bytes
edprescott <edprescott@my-deja.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> dj-prescott <dj-prescott@cse.psu.edu> writes:

>>> Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
>>>  Reading config from /var/news/etc/inn.conf
>>> Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
>>>  CNFS-sm: CNFSinitdisks: mmap for /var/news/spool/cycbuffs/buf67
>>>  offset 0 len 0 failed: Not enough space
>>> Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
>>>  SM storage method 'cnfs' failed initialization
>>> Apr  6 12:12:30 lepidopteran.cse.psu.edu makehistory[22345]:
>>>  SM one or more storage methods failed initialization

>> How much memory is in this machine?  mmap is claiming it's out of
>> memory, which is suspcious since not that much of the CNFS buffer is
>> mmap'd at startup (only the bitmaps, IIRC).

> The machine has 256meg.  I have an extra 64 meg I can throw in if I need
> to.

No, that should be plenty.

What type of machine is it?  It sounds like there's some sort of weird
problem with mmap to me.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: makehistory -i
#45730
Author: edprescott
Date: Thu, 13 Apr 2000 00:00
21 lines
1366 bytes
In article <yl8zyk2t7t.fsf@windlord.stanford.edu>,
  Russ Allbery <rra@stanford.edu> wrote:
*snip*
> No, that should be plenty.

That is what we thought...

> What type of machine is it?  It sounds like there's some sort of weird
> problem with mmap to me.

It's a Sun Ultra2 runing solaris 7 in 32bit mode(driver issuses for
storage array.)
Standard install.

-Eric


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: makehistory -i
#45745
Author: Russ Allbery
Date: Thu, 13 Apr 2000 00:00
16 lines
1377 bytes
edprescott <edprescott@my-deja.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:

>> What type of machine is it?  It sounds like there's some sort of weird
>> problem with mmap to me.

> It's a Sun Ultra2 runing solaris 7 in 32bit mode(driver issuses for
> storage array.)  Standard install.

I'm clueless, I'm afraid.  Did you check and increase the default file
descriptor limit?  That's the only other thing I can think of.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: makehistory -i
#45989
Author: edprescott
Date: Tue, 25 Apr 2000 00:00
32 lines
1896 bytes
In article <ylpurtwyye.fsf@windlord.stanford.edu>,
  Russ Allbery <rra@stanford.edu> wrote:
> edprescott <edprescott@my-deja.com> writes:
> > Russ Allbery <rra@stanford.edu> wrote:
>
> >> What type of machine is it?  It sounds like there's some sort of
weird
> >> problem with mmap to me.
>
> > It's a Sun Ultra2 runing solaris 7 in 32bit mode(driver issuses for
> > storage array.)  Standard install.
>
> I'm clueless, I'm afraid.  Did you check and increase the default file
> descriptor limit?  That's the only other thing I can think of.
>


Well we made the file descriptor limit as big as it can get/recompiled
and are still seeing the same problem.

I am at a total loss here. I'm almost ready  to drop the idea of having
a news server.

> Russ Allbery (rra@stanford.edu)
<http://www.eyrie.org/~eagle/>
>


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: makehistory -i
#46016
Author: Russ Allbery
Date: Tue, 25 Apr 2000 00:00
30 lines
1985 bytes
edprescott <edprescott@my-deja.com> writes:
> Russ Allbery <rra@stanford.edu> wrote:
>> edprescott <edprescott@my-deja.com> writes:

>>> It's a Sun Ultra2 runing solaris 7 in 32bit mode(driver issuses for
>>> storage array.)  Standard install.

>> I'm clueless, I'm afraid.  Did you check and increase the default file
>> descriptor limit?  That's the only other thing I can think of.

> Well we made the file descriptor limit as big as it can get/recompiled
> and are still seeing the same problem.

Some things to check:

 - Make sure the file descriptor limit isn't larger than 1024.  If it is,
   select may break, which is bad.  1024 is the maximum you should set it
   to.

 - Make sure you didn't specify both --enable-tagged-hash and
   --with-largefiles.  This can cause the error message that you're
   seeing.

 - Make sure that your cycbuff lengths are sane in cycbuff.conf.  Bear
   in mind that the buffer size is in kilobytes, not in bytes.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads