Some questions about pproxy and ppstats

Russ

Lifer
Oct 9, 1999
21,093
3
0
Well, I've got the pproxy setup and the ppstats setup, and both appear to be working, BUT there are some glitches.

1. I told pproxy to buffer 20,000 blocks, and it's not. I can't tell for sure how many it is, but I'm getting quite a few "pproxy is out of blocks messages" from the clients, and the buff-in file never gets very big at all.

This thing is connecting to the keyserver and grabbing packets about every 5 minutes, preceded by the message "uplink needed...(threshholds exceeded)"

2. ppstats only appears to update the html if I shut it down completely and re-start it. Shouldn't it update automatically? Is there a setting either in it's ini file or pproxy's ini file that I need to add/set/change?

Thanks, Guys. Oh, this is Linux, BTW.

Russ, NCNE
 

Dougal

Senior member
Oct 10, 1999
552
0
0
Hi Russ,

OK, it sounds like what you're missing is the exportmode switch. By default the proxy will try to guess how many blocks you're going to need even if you set larger values. Just add the line "expertmode=1" below your RC5 section in the pproxy ini file and restart your proxy. That should let it grab as many blocks as you choose without guessing for you.

As for the ppstats scripts, you do need to run it at a set interval. I've got the same setup in the lab here and because I'm no Linux guru I use a package called webmin (http://www.webmin.com) for setting things up. You should setup a scheduled job to run the script when you want to, every 15 mins, hour, whatever you want.

Give me a shout if you need any more info.
 

Russ

Lifer
Oct 9, 1999
21,093
3
0
Thanks, Dougal, but I already had the switch in place. BUT, I did figure that part out. Apparently the pproxy ini file doesn't like commas in it's numbers. Changed it from 20,000 to 20000 and she's loading up right now!:) Up to 7148 and still grabbing them.

I'll go take a look at webmin. Mucho gracio!!!:)

Russ, NCNE
 

Dougal

Senior member
Oct 10, 1999
552
0
0
Hi Russ,

I wasn't sure how far you'd got so I thought I'd throw in all I knew. Glad you got the blocks bit sorted.

You'll like Webmin if, like me, you've played with Linux but are no guru. It makes setting up a lot of your machines services and settings really easy without having to wade through all of the text based setups. A must for any Linux novice like me.

 

Russ

Lifer
Oct 9, 1999
21,093
3
0
Hey Dougal,

This webmin is one damned nice piece of work. Thanks!:)

Russ, NCNE