PDA

View Full Version : 120 site command idle time out


donate
09-10-2004, 02:19 PM
[21:17:06] [L] site rescanall test.sfv
[21:19:06] [L] Connection lost: ioftpd

I always get disconnected after 120 secs

My config part:
[Ftp]
Idle_TimeOut = 900

I tried config rehash and restarted ioftpd, still 120s

Is there a way i can change these 120 secs?

---

And dont tell me to update iozs, because now i am using fsum.exe to read my output.txt (only for rescanall)

Mouton
09-10-2004, 02:23 PM
No. 120s is the maximum ammount of time ioFTPD will allow a script to run without output. It's hard-coded.

donate
09-10-2004, 02:30 PM
I see, would it be possible to change in the future, like next version, or is it security related?

(or something completely different)

mr_F_2
09-10-2004, 03:17 PM
something like a rescan script should detatch from the io process

Mouton
09-10-2004, 03:26 PM
This has been implemented to make sure no scripts is left hanging under the io process. If the script sends something to stdout, it should not be killed.
All those timeouts etc. are somewhat blurry. I'm sure dark will change / fix those at some point before 1.0

darkone
09-10-2004, 04:46 PM
Yep, those thing will get documented soon enough :) I'm trying to get xmas release (remember 4.9.x .. or was it 4.6.x :)) And it's going to be even bigger than that release was.

FTPServerTools
09-11-2004, 02:24 PM
You can use ioProcess to list 'hanging' processes under and and even kill them. See the scritps section.

WarC
09-12-2004, 02:46 PM
If its ioA u use for it, it prints after every file it checks so it should atleast list for 2 mins.

Having it detach is both good and bad.
Good = process doesnt get killed so it will work till its finished
bad = no output to user.