Go Back   FlashFXP Forums > FlashFXP > Release Archive > Website

Website Comments, Suggestions, Questions, Concerns, Fan mail, Hate mail, Whatever goes.

 
 
Thread Tools
Old 10-06-2004, 01:43 AM   #1
Junior Member
 
Join Date: Oct 2004
Posts: 2
Default idle timeout for specified user !?

Hi


Is it possible to set a different idle timeout to different users?
I just found the idle timeout in ioftpd.ini, but thats for all users.

thx 4 help!

greetz

sim
sim_one is offline  
Old 10-06-2004, 02:30 AM   #2
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 558
Default

Use the scheduler with sitekill.
For example:
[Schedule]
KillIdlers = 0,5,10,15,20,25,30,35,40,45,50,55 * * * EXEC ..\scripts\SiteKill.exe silent "idletime>600" user=Someone

YOu would have to make a big line tho if yuo for example want to kick every minute.
So a line with 0,1,2,3,4,5,..... etc until 59
FTPServerTools is offline  
Old 10-08-2004, 03:31 AM   #3
Senior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 104
Default

Is this sitekill working well on ioFTPD version: 5-8-5r cause i know i was testing this site kill a month or more back and i got from time to time the windows error tha sitekill has made an unaloved operation .... the send to microsoft error you know what

Is it any better now cause i realy need it

And i would need it like this way:

KillIdlers = 0,5,10,15,20,25,30,35,40,45,50,55 * * * EXEC ..\scripts\SiteKill.exe silent "idletime>600"

and i would like to specify that this applys to all users in group except the group sitebot is this possible and hope for less errors

thx
godlike is offline  
Old 10-08-2004, 04:16 AM   #4
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 558
Default

I have made a correction since then which is likely what you meant:
2004-09-24 05:53:27 - 2.0.11
2.0.11:Fixed:crash
FTPServerTools is offline  
Old 10-10-2004, 09:27 AM   #5
Senior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 104
Default

After 10 minutes of use i got the windowd error ... and in error.log the line:

10-10-2004 15:52:53 Scheduler event 'KillIdlers' returned error.

The error is that one standard send to microsoft ...


BTW i use in scheduler line:

KillIdlers = 0,5,10,15,20,25,30,35,40,45,50,55 * * * EXEC ..\scripts\SiteKill.exe silent user!=sitebot "idletime>240"


cya
godlike is offline  
Old 10-10-2004, 03:37 PM   #6
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 558
Default

I need the error address.
Please run it from a cmd box and be carefull to run the proper version!!
FTPServerTools is offline  
Old 10-11-2004, 10:55 AM   #7
Senior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 104
Default

Here you go i run it under normal conditions and crahed now i can get you the details:

i use ioFTPD version: 5-8-5r and i tried the
SITE KILL command for ioFTPD 5.x.
i got the normal windows error it contains:

Exception Information:

CODE: 0xc0000005 Flags: 0x00000000
Record: 0x0000000000000000
Address: 0x0000000077c460cb

hope this info helps or tell me what i should give you when it crashes again ... im using Win XP pro sp2

cya
godlike is offline  
Old 10-11-2004, 03:54 PM   #8
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 558
Default

It should, the address you mention I can find in the source code since I programmed it.
The address on the other hand is not a valid one. Dome a favor and run sitekill in a cmd box and paste me the output.
Or better still if possible if it fails run it as such:
SiteKill.exe debug user!=sitebot "idletime>240"

and paste me the output..... THat way I can fix it quite quickly. The address is not from sitekill apparently. Are you running io as service?
FTPServerTools is offline  
Old 10-12-2004, 07:50 AM   #9
Senior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 104
Default

Nope io is run normaly not as a service...

I`m running the sitekill now with this line:

KillIdlers = 0,5,10,15,20,25,30,35,40,45,50,55 * * * EXEC ..\scripts\SiteKill.exe debug user!=sitebot "idletime>240"

when it crashes again i`ll give you the error codes again i think it will be soon cause it crashes 10 per day

cya
godlike is offline  
Old 10-12-2004, 08:35 AM   #10
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 558
Default

That is not a smart idea to run.. Since the debug mode causes output. Then you should run:
KillIdlers = 0,5,10,15,20,25,30,35,40,45,50,55 * * * EXEC ..\scripts\SiteKill.exe debug user!=sitebot "idletime>240" >c:\logfile.log
FTPServerTools is offline  
Old 10-12-2004, 09:51 AM   #11
Senior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 104
Default

ok will change now to that then i post the results from that file
godlike is offline  
Old 10-13-2004, 05:08 AM   #12
Senior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 104
Default

That line can`t be run in scheduler dont it ?

KillIdlers = 0,5,10,15,20,25,30,35,40,45,50,55 * * * EXEC ..\scripts\SiteKill.exe debug user!=sitebot "idletime>240" >c:\logfile.log

Like i already said sitekill gives error when run in scheduler in cmd it runs fine....

But even in scheduler it runs fine but it dies once on 2-3 hours.

So how can i get that debug logfile i must run it through scheduler cause i don`t want to press in cmd every 5 mins

Any suggestions ?
godlike is offline  
Old 10-13-2004, 12:10 PM   #13
Senior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 104
Default

Ok it crashed again with that line in it

here`s the logfile.log it created:

Connection 3 cid=0 uid=0 gid=39 Username=Godlike Groupname=Site-Tech
CompareString:user!=sitebot result:0
TimesToKill=-1 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
CompareNumber:idletime>240 result:144
TimesToKill=-1 compare:idletime>240 ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
Connection 4 cid=1 uid=89 gid=26 Username=sovo Groupname=BoSS
CompareString:user!=sitebot result:0
TimesToKill=-1 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
CompareNumber:idletime>240 result:0
TimesToKill=-1 compare:idletime>240 ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
Connection 5 cid=2 uid=86 gid=29 Username=sitebot Groupname=SiteBot
CompareString:user!=sitebot result:1
TimesToKill=-1 compare:user!=sitebot ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
Connection 6 cid=3 uid=86 gid=29 Username=sitebot Groupname=SiteBot
CompareString:user!=sitebot result:1
TimesToKill=-1 compare:user!=sitebot ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
Connection 8 cid=4 uid=0 gid=39 Username=Godlike Groupname=Site-Tech
CompareString:user!=sitebot result:0
TimesToKill=-1 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
CompareNumber:idletime>240 result:0
TimesToKill=-1 compare:idletime>240 ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
Connection 15 cid=5 uid=86 gid=29 Username=sitebot Groupname=SiteBot
CompareString:user!=sitebot result:1
TimesToKill=-1 compare:user!=sitebot ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
Connection 16 cid=6 uid=66 gid=27 Username=CiaKKi` Groupname=Uploaders
CompareString:user!=sitebot result:0
TimesToKill=-1 compare:user!=sitebot ArgumentResult=EQ, TotalResult=1
TimesToKill=-1 compare:idletime>240 ArgumentResult=NEQ, TotalResult=1
Final compare result of all arguments NEQ
Totally 0 connections kicked, due to:user!=sitebot idletime>240


I think it crashes only when it has nobody to kick .... just a vild guess

Now for the error codes:

Code: 0xc0000005
Flags: 0x00000000
Record: 0x0000000000000000
Address: 0x00000000077c460cb
Offset: 000360cb

It`s a very vild guess but i think that`s only logical explanation to it cause it crashes every time when there is not much activity / not much users logged in and nobody to kick under those rules...

hope this helps
godlike is offline  
Old 10-13-2004, 01:16 PM   #14
Senior Member
ioFTPD Foundation User
 
Join Date: Dec 2003
Posts: 104
Default

It crashed again same output no user which had to kick

So it gota be this...
godlike is offline  
Old 10-13-2004, 02:47 PM   #15
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 558
Default

Thanks I think I should be able to get the same error.. And thus fix it..
FTPServerTools is offline  
 
Create a free account to browse our forums without ads



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash hangs during transfers slatts General Discussions 5 01-14-2005 06:50 PM


All times are GMT -5. The time now is 01:10 AM.