Re: sngetd problems

Patrik Rådman <[email protected]>
Newsgroups gmane.network.sn
Message-ID <[email protected]>
Wolfgang Scheicher <[email protected]> wrote:
> 
> i now have sngetd running.
> I start it with:
> 
> su news -c "/usr/sbin/sngetd -a 5"
> 
> I'm not sure - i couldn't find more docu on "-a" than the output of "sngetd 
> --help", but i think " [a age] " does mean something like minimum time 
> between 2 syncs, because when starting sngetd without that option it works 
> once, and never again.

If you had the patience to wait 10 minutes, it would probably work again. :)
Quoting from the source code:

static int age = (10 * 60); /* don't fetch group within 10 min. of last fetch */

> i have cronjob which echoes to the .fifo every 15 minutes to initiate a sync, 
> and i have enterd a echo line into less /usr/sbin/POST to immediately send 
> posts to the upstream server.
> 
> Everything seemed to work like i wanted to, but when i had a look at the 
> server today, i noticed that i have tons of zombie snstore processes.
> What the hell have i done wrong this time?
> 
> A series of about 50 lines like this in ps aux:
> news <pid> 0.0 0.0  0  0 ?   Z   09:22   0:00 [snstore] <defunct>

Interesting. Seems that sngetd causes these, restart and they go away.
I'll add it to the bug list...

-- 
  Patrik Rådman  ·  patrik at iki dot fi  ·  http://www.iki.fi/patrik/
                "I know this because Tyler knows this."
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.