PDA

View Full Version : dZSbot + php-psio announce error (ERROR in clsUser...)


MadFred
05-09-2004, 01:30 PM
<EGGIE> -SITE- [XXX] + RELEASENAME/CD2 [ 698.4mB in 49F at 427kB/s in 14m 33s ] was completed by 3 racer(s) from 3 group(s). Fastest upload by User1/GROUP1 at 762KB/S. Slowest upload by User3/iND at 65KB/S.
<EGGIE> -SITE- [XXX] + UserTop:
<EGGIE> -SITE- [XXX] + 1. User1/GROUP1 [498.1M/35F/71%/666KB/s] - ERROR in clsUser::ReadUserfile() at line 35 : Overflow
<EGGIE> ERROR: couldn't load userfile "134"
<EGGIE> [wkup #1 - allup #3]
<EGGIE> -SITE- [XXX] + 2. User2/GROUP2 [157.4M/11F/22%/337KB/s] - ERROR in clsUser::ReadUserfile() at line 35 : Overflow
<EGGIE> ERROR: couldn't load userfile "134"
<EGGIE> [wkup #4 - allup #10]
<EGGIE> -SITE- [XXX] + 3. User3/iND [42.9M/3F/6%/72KB/s] - ERROR in clsUser::ReadUserfile() at line 35 : Overflow
<EGGIE> [wkup #6 - allup #12]
<EGGIE> -SITE- [XXX] + GroupTop:
<EGGIE> -SITE- [XXX] + 1. GROUP1 [498.1M/35F/71%/666KB/s]
<EGGIE> -SITE- [XXX] + 2. GROUP2 [157.4M/11F/22%/337KB/s]
<EGGIE> -SITE- [XXX] + 3. iND [42.9M/3F/6%/72KB/s]

I checked that user 134 exists as a file and in UserIdTable , !! but the user hasn't even been uploading in the above example!!

This is the kind of error that occurs when multiple race stats are announced, so far complete announces with only 1 user are ok.

Tried to search forum...but couldn't pinpoint what script is causing the error.

This is a "fresh" install with just copying over /etc /users /groups from old version.

Any ideas ?

Thanks !
Fred


ioFTPD 5.8.5r
php-psio 0.1.4 (+ phppsio_imdbfix)
dZSbot 1.14
BQuota 1.13

SnypeTEST
05-09-2004, 11:01 PM
fix ur iogroups. :-/ thats all I can think of... or .. take off the u:%u thing from the irc user output in config.php

ADDiCT
05-10-2004, 12:19 AM
check if that userfile has very large values in the ALLUP line (open it in Notepad)

MadFred
05-10-2004, 06:08 AM
SnypeTEST ..
does u:%u removes that part of the stats ?

This is the settings for iogroups .. looks ok.

; for ioFTP beta 4 :
; user_file = D:\ioFTPD\etc\passwd
; group_file = D:\ioFTPD\etc\group

; for ioFTP beta 5 :
user_file = D:\ioFTPD\etc\UserIdTable
group_file = D:\ioFTPD\etc\GroupIdTable


users_dir = D:\ioFTPD\users
groups_dir = D:\ioFTPD\groups

template_path = D:\ioFTPD\scripts\iogroups\template
template_path_2 = D:\ioFTPD\scripts\iogroups\dzsbot

sysop_logfile = D:\ioFTPD\logs\SysOp.log
ioftpd_logfile = D:\ioFTPD\logs\ioFTPD.log

sitename = XXX

restrict_userinfo = 1
flag_allusers_info = 1M

users_dir = D:\ioFTPD\users
groups_dir = D:\ioFTPD\groups
================================================

ADDiCT..

Don't know how large "very large" values are ;)

This is userfile 134 allup:

allup 120259112621 432157854 161529 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

ADDiCT
05-10-2004, 06:23 AM
having uploaded 120259112621 files is quite alot, yes :)

(ioGroups only supports a maximum of 2^31 files, being 2.147.483.648)


Sometimes userfiles get f*cked up (by some script?), i suggest u edit the userfile when ioFTPD.exe is not running, and put a lower value there (like 1).


but the user hasn't even been uploading in the above example!!in order to calculate the racer's position in the wkup/monthup/allup statistics list, the script needs to read all user's data to built that list.

MadFred
05-10-2004, 11:59 AM
aha ok
that worked just fine. (editing allup)

Thanks ! :D