Old 03-22-2010, 05:40 AM   #16
Silly
Junior Member
ioFTPD Registered User
 
Join Date: Oct 2003
Posts: 27
Default

Quote:
Originally Posted by Yil View Post
That looks like the annoying lockup bug... You running win2k3? It seems to happen far more often on that OS especially with multi-core/processor setups. Win2k8/XP/win7 would be better choices if possible. The memory usage number you quoted doesn't really mean anything. You'd have to look at VM/Commit/Working Set details for the process to get a better idea of memory usage but I doubt that's the problem given how it's acting.

You've mentioned ioNinja, are you also using nxTools or other scripts? Do you do imdb, etc lookups? Have lots of mp3/movie uploads? Are most transfers using SSL? How many users online/transferring at a time? How much uptime do you get before you see the problem and anything in particular that seems likely to trigger it? Just trying to get more info to compare with others who have the problem.

If this problem is happening every day or so for you there are a few possible things to look forward to. The next feature release of ioFTPD will be trying openSSL to see if ditching the MS crypto libraries makes a difference since it seems to use the lock that gets stuck. It's an internal MS lock I can't touch which makes it annoying to debug.

There are 2 other things I just thought up that we could try though. I could perhaps make the server connect to itself every minute or so as part of the service loop or something. Thus when the server gets stuck it would figure it out quickly and either try and commit suicide (remember, it CAN'T exit gracefully, spawn processes, etc since it's an internal windows lock that is stuck and it's screws everything up), or report a problem/fail to report and see if we can't get the service manager to try and kill the process if you are running it as a service. I don't remember off the top of my head if it will do that, or just try to start a new copy which won't solve anything since the socket to listen on will already be held. But if it does the service manager could be used to restart it automatically if I can make it terminate which while not a very graceful solution would at least keep downtime to a minimum.

The other option to try is to use processor affinity to make ioFTPD only ever use one processor as this should reduce the chance of race conditions on the loader lock at the cost of lost performance. Since the server is so lightweight this might be worth the hit since it's usually I/O bound anyway and I'd trade stability for performance if it's a small hit.
thank you for your prompt relply yil

i am running io under win2k8 64bit..
For scripts, i was using ioA and ioNinja w/ imdb...not just happen when mp3/movie were uploading, but also some rar files. None transfers uses SSL. avg online user is about 10-15. But just only 2 or 3 uploads. The lockup bug randomly occurs. But one software would definitely trigger that bug is when I try to use uTorrent to fetch some files.
About the frequency, sometime were couple times a day, sometime were one day a freeze.

i will try to set affinity to one processor to see if that could solve that problem.

wish me luck..
Silly is offline   Reply With Quote
Old 03-22-2010, 07:05 AM   #17
Silly
Junior Member
ioFTPD Registered User
 
Join Date: Oct 2003
Posts: 27
Default

alrite...set affinity doesn't work..
Silly is offline   Reply With Quote
Old 03-22-2010, 03:17 PM   #18
Yil
Too much time...
FlashFXP Beta Tester
ioFTPD Administrator
 
Join Date: May 2005
Posts: 1,194
Default

Hmm... I was hoping the idea of additional serialization imposed by processor affinity to a single core/processor would help but I guess not. If it locks up could you try to get a minidump via the task manager? I'd like to verify it's the loader lock getting stuck and what 3rd party modules might be loaded.

I do find it very interesting that uTorrent could make an impact. Any chance you are running something like netlimiter or a firewall with any sort of active filtering on connections? ioFTPD seems to highlight problems with 3rd party injected dlls.
Yil is offline   Reply With Quote
Old 03-22-2010, 09:59 PM   #19
Silly
Junior Member
ioFTPD Registered User
 
Join Date: Oct 2003
Posts: 27
Default

Quote:
Originally Posted by Yil View Post
Hmm... I was hoping the idea of additional serialization imposed by processor affinity to a single core/processor would help but I guess not. If it locks up could you try to get a minidump via the task manager? I'd like to verify it's the loader lock getting stuck and what 3rd party modules might be loaded.

I do find it very interesting that uTorrent could make an impact. Any chance you are running something like netlimiter or a firewall with any sort of active filtering on connections? ioFTPD seems to highlight problems with 3rd party injected dlls.
nah, i don't use any that kinda software...

for minidump...i had never tried. i will try to figure that out and then i will post them here
Silly is offline   Reply With Quote
Old 03-24-2010, 11:24 PM   #20
Silly
Junior Member
ioFTPD Registered User
 
Join Date: Oct 2003
Posts: 27
Default

Quote:
Originally Posted by Yil View Post
Hmm... I was hoping the idea of additional serialization imposed by processor affinity to a single core/processor would help but I guess not. If it locks up could you try to get a minidump via the task manager? I'd like to verify it's the loader lock getting stuck and what 3rd party modules might be loaded.

I do find it very interesting that uTorrent could make an impact. Any chance you are running something like netlimiter or a firewall with any sort of active filtering on connections? ioFTPD seems to highlight problems with 3rd party injected dlls.
dunno how to get mini dump, but i got full dump...

i will pm you where to download..

uploading..

about 3xmb

thx
Silly is offline   Reply With Quote
Reply

Tags
crash, errors, installed, script, site

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump


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

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)