🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Kai Mayfarth Sat, 21 Jan 2006 20:48
Problems with CNFS on rollover
#73093
Author: Kai Mayfarth
Date: Sat, 21 Jan 2006 20:48
26 lines
1917 bytes
Hello

I have a 10 file sequential cnfs buffer, for some binaries. The is not 
peering with the usenet, only for local users.
If the first buffer is full, it switches to the second buffer file. So 
far so good
But the problem is that the first message in the buffer which is full 
gets overwritten. So the posted binary is incomplete.


  Buffer 2, size:   512 MBytes, position:   144 kBytes  1.00 cycles <-
  Newest: 2006-01-21 21:22:17,    0 days,  0:05:07 ago

This one is full, inn switches to 3, but some of the first messages in 2 
a overwritten.


  Buffer 3, size:   512 MBytes, position:   258 MBytes  0.50 cycles
   Newest: 2006-01-21 21:27:18,    0 days,  0:00:06 ago



Is there a solution for the problem, is it a known bug?
Or should i switch from sequential to Interleave to solve the problem?

Kai
Re: Problems with CNFS on rollover
#73092
Author: Russ Allbery
Date: Sat, 21 Jan 2006 20:45
29 lines
2155 bytes
Kai Mayfarth <kai@mayfarth.de> writes:

> I have a 10 file sequential cnfs buffer, for some binaries. The is not 
> peering with the usenet, only for local users.

> If the first buffer is full, it switches to the second buffer file. So
> far so good

> But the problem is that the first message in the buffer which is full
> gets overwritten. So the posted binary is incomplete.

>  Buffer 2, size:   512 MBytes, position:   144 kBytes  1.00 cycles <-
>  Newest: 2006-01-21 21:22:17,    0 days,  0:05:07 ago

> This one is full, inn switches to 3, but some of the first messages in 2 
> a overwritten.

>  Buffer 3, size:   512 MBytes, position:   258 MBytes  0.50 cycles
>   Newest: 2006-01-21 21:27:18,    0 days,  0:00:06 ago

It's not a known bug.  How do you know that some of the first messages in
2 were overwritten?  Could you provide more information on how you
established that?

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Problems with CNFS on rollover
#73095
Author: Kai Mayfarth
Date: Sat, 21 Jan 2006 23:19
37 lines
2335 bytes
Russ Allbery schrieb:

> Kai Mayfarth <kai@mayfarth.de> writes:
> 
> 
>>I have a 10 file sequential cnfs buffer, for some binaries. The is not 
>>peering with the usenet, only for local users.
> 
> 
>>If the first buffer is full, it switches to the second buffer file. So
>>far so good
> 
> 
>>But the problem is that the first message in the buffer which is full
>>gets overwritten. So the posted binary is incomplete.
> 
> 
>> Buffer 2, size:   512 MBytes, position:   144 kBytes  1.00 cycles <-
>> Newest: 2006-01-21 21:22:17,    0 days,  0:05:07 ago
> 
> 
>>This one is full, inn switches to 3, but some of the first messages in 2 
>>a overwritten.
> 
> 
>> Buffer 3, size:   512 MBytes, position:   258 MBytes  0.50 cycles
>>  Newest: 2006-01-21 21:27:18,    0 days,  0:00:06 ago
> 
> 
> It's not a known bug.  How do you know that some of the first messages in
> 2 were overwritten?  Could you provide more information on how you
> established that?
> 
I post a 600 mb big file, and now part 1-2 is missing. Before the buffer 
changed it was complete. So the first 144 kbytes has been overwritten.

mfg Kai
Re: Problems with CNFS on rollover
#73096
Author: Russ Allbery
Date: Sat, 21 Jan 2006 23:41
13 lines
1669 bytes
Kai Mayfarth <mayfart@w-4.de> writes:

> I post a 600 mb big file, and now part 1-2 is missing. Before the buffer
> changed it was complete. So the first 144 kbytes has been overwritten.

Missing how?  What did you type?  What did you see?  Did you run any
commands on the server to see what happened to the article?

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Problems with CNFS on rollover
#73097
Author: Kai Mayfarth
Date: Sun, 22 Jan 2006 09:56
23 lines
2104 bytes
Russ Allbery schrieb:

> Kai Mayfarth <mayfart@w-4.de> writes:
> 
> 
>>I post a 600 mb big file, and now part 1-2 is missing. Before the buffer
>>changed it was complete. So the first 144 kbytes has been overwritten.
> 
> 
> Missing how?  What did you type?  What did you see?  Did you run any
> commands on the server to see what happened to the article?
> 
No i refreshed all headers @ 400 mb with my newwsreader, all was 
complete, then i refhreshed all headers, after 600 mb, and the first two 
messages ~100 kb was missing.
And thats everytime when one buffer gets full, and inn goes to the next, 
2 binary parts are missing.

I am very new to inn, before i used sn, because the newsserver is only 
for local purpose. I can reupload again, if you say me, whith which i 
commands i can look for the missing articles.

Kai
Re: Problems with CNFS on rollover
#73116
Author: Bill Davidsen
Date: Tue, 24 Jan 2006 21:29
40 lines
3305 bytes
Kai Mayfarth wrote:
> Russ Allbery schrieb:
> 
>> Kai Mayfarth <mayfart@w-4.de> writes:
>>
>>
>>> I post a 600 mb big file, and now part 1-2 is missing. Before the buffer
>>> changed it was complete. So the first 144 kbytes has been overwritten.
>>
>>
>>
>> Missing how?  What did you type?  What did you see?  Did you run any
>> commands on the server to see what happened to the article?
>>
> No i refreshed all headers @ 400 mb with my newwsreader, all was 
> complete, then i refhreshed all headers, after 600 mb, and the first two 
> messages ~100 kb was missing.
> And thats everytime when one buffer gets full, and inn goes to the next, 
> 2 binary parts are missing.
> 
> I am very new to inn, before i used sn, because the newsserver is only 
> for local purpose. I can reupload again, if you say me, whith which i 
> commands i can look for the missing articles.

The only thing which comes to mind is that you don't have the config you 
think you do, and are only rolling over one cycbuff, or have the same 
cycbuff in multiple metacycbuffs, or similar config issue.

If you can recreate, look at the article head befor rollover, using the 
token from history (or grephistory the message-id) and just sm the 
header (sm -H [TOKEN]) to verify it's okay, and do a cnfsstat. Then 
write the article causing the rollover and repeat those two steps.

It's hard to believe there's a bug in CNFS after all these years. Not 
impossible, but hard.

-- 
bill davidsen
   SBC/Prodigy Yorktown Heights NY data center
   http://newsgroups.news.prodigy.com
Re: Problems with CNFS on rollover
#73135
Author: Kai Mayfarth
Date: Thu, 26 Jan 2006 16:03
41 lines
2820 bytes
> 
> The only thing which comes to mind is that you don't have the config you 
> think you do, and are only rolling over one cycbuff, or have the same 
> cycbuff in multiple metacycbuffs, or similar config issue.
> 
> If you can recreate, look at the article head befor rollover, using the 
> token from history (or grephistory the message-id) and just sm the 
> header (sm -H [TOKEN]) to verify it's okay, and do a cnfsstat. Then 
> write the article causing the rollover and repeat those two steps.
> 
> It's hard to believe there's a bug in CNFS after all these years. Not 
> impossible, but hard.
> 

I checked my configuration its all right. I check all the msg-id stuff.

i got /usr/lib/news/bin/sm -H @030033000000000000000000002000000002@

sm: could not retrieve @030033000000000000000000002000000002@
when i tried to retrieve the message with SM.

/usr/lib/news/bin/grephistory '<drapl7$mj1$90@!!CENSORED!!>'
@030033000000000000000000002000000002@

thats what i get with grephistory for the article which makes the rollover.

The message before and after works great.

I add 2 second thest metacycbuff for this its, it has 3 10 mb cycbuffs. 
Then i posted a 10 mb big yencoded file to it. After the change from 
cycbuff 1 to 2 i looked which binary part is missing, and checked the 
msg-id.

Can it be a bug, or my config? the cycbuff.conf and storage.conf is 
correct.

Maybe someone can also test this scenario.

Kai
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