| View previous topic :: View next topic |
| Author |
Message |
clove Voice
Joined: 26 Nov 2006 Posts: 2
|
Posted: Sun Feb 18, 2007 12:16 pm Post subject: run pisg on old machine? |
|
|
i have an old k62 400 that hosts my bot and my webpage. everytime it updates pisg the bot drops off irc with error {ping timeout}. I have checked and pisg starts @ -10 nice (high priority) high do i set it to start low priority.
i have checked in the conf files i don't see it saying to run high anywhere? Is this possible and do you think it will help? I'm a nub at running linux and eggdrops. so if you can i help i need step by step directions plz. |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Feb 18, 2007 1:21 pm Post subject: |
|
|
Pisg is not related to Eggdrop, it can be set up to use Eggdrop's log-files to generate statistics. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sun Feb 18, 2007 2:48 pm Post subject: |
|
|
Hell, that's faster than my p2/266, and I've never had the bot timeout from running pisg.. Are you using some pisg script within your bot? That may be the cause of your timeouts, not the pisg script itself (which can be run from cron or the commandline..) Ohh I should also mention, if you run pisg from a crontab or the shell, you can use 'nice' at the same time:
nice /path/to/pisg/pisg -n 10 |
|
| Back to top |
|
 |
Domin Halfop

Joined: 10 Jun 2006 Posts: 72
|
Posted: Mon Feb 19, 2007 11:55 am Post subject: |
|
|
If you run it from irc command then it will time out, without cache it takes me 30 min to generate stats and thats the reason it is timing out.
I think i there is some way of fixing it by using some command that dont make the bot wait for it to finish, but i cant remember how it is done, try searching this forum, or perhaps rosc2112 or Sir_Fz knows what command that is  _________________ Regards
Domin @ efnet |
|
| Back to top |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Mon Feb 19, 2007 12:48 pm Post subject: |
|
|
Domin: I think you're reffering to either using 'open "|command"' or 'exec "command" &'.
'open' should work across most platforms without issues, but is abit more complex to get working, while 'exec' is pretty straight forward but depends alot on the capabilities of the platform (os). _________________ NML_375, idling at #eggdrop@IrcNET |
|
| Back to top |
|
 |
Domin Halfop

Joined: 10 Jun 2006 Posts: 72
|
|
| Back to top |
|
 |
|