Code center > Bugs and fixes

IM needs to be periodically reset? OPEN

<< < (2/3) > >>

Testlund:
I think this is getting worse the more we run it. Have you thought about that maybe it's the guys who you have bought the server space from that might have some antispam protection that tries to stop this. It was mensioned here before. Maybe you could talk to them or find a better server.
Yesterday when I was running in IM I found that the sim had frozen and generated all sorts of errors in the log. After 6 min with the sim not moving I gave up and quitted. There were only 25 vegs in it. Nothing came in or out.

Numsgil:
The FTP server is hosted on the same place as our webspace: GoDaddy.  I called tech support a while ago when Eric was having problems.  They said that the FTP connection should be up 100% of the time.  If it's not, it's a tech problem.  However I don't think these issues are related to the FTP side of things.  I'm thinking it's something wrong with the way the VB control works.

EricL:
My theory is that there's a session leak, either in the control itself or in the way I handle various failures when two sims try to access the same file for example.  A session or two leaks, and since our FTP server only allows 2 sessions per IP address, the third session hangs and starts timing out.  It shouldn't do this, but perhaps the control doesn't know how to handle this specific return code or similar.  The "hang" effect is FTP session operations timing out.  I have two time out timers going for FTP operations that take too long, one built into the control itself (Inet.StillExecuting) and one I built myself using a separate timer control.   I loop waiting for .StillExecuting to go false, handling events in the loop.  Sometimes the control just never comes back I.e. StillExecuting never goes false.  I time out myself and try to cancel the operation, but if the control or server isn't listening... that is when you see the "Still Exceuting previous operation" message.

I'll try playing a little with error handling.  Once we move to another server which allows more than 2 sessions per IP, things may suddenly get better or not.  I hope to fix this specific issue, but we are going to need to write a server and build ourselves our own protocol at some point if we ever want to scale this up large...

Numsgil:
I still think for a long term solution we should explore some sort of PHP script that feeds data in to a database.  That way you wouldn't even need to use Darwinbots to check to see what the current state of the megasim is.

EricL:
That would be fine for stats but we still need to move bots between sims, which is the bulk of what we do today via FTP.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version