Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Server memory leak

Here SysOps can list their MultiPlayer server info and users can send feedback to their SysOps. Or just talk about the MultiPlayer servers they play on. This is not about MultiPlayer in general - please use the MultiPlayer Forum for that!

Post Mon Mar 17, 2003 6:39 am

Eurononymous, if you have VB you can search the internet for Asynchronous Processing and find a snippet of code that will show you how to manipulate threads and processes by ID in VB. You could then use this to monitor the server every 20 minutes or so to see if the Freelancer process id is still up and if it isn't to shell out to the freelancer server .exe, then you just need to figure out a way to send it the OK button to actually start the server, thats where I am stuck.

Post Mon Mar 17, 2003 7:56 am

yahh^% maybe you guys should try that out. try to get a large amount o people to log on n' off your server.

cause it might load on tha memory.. but not off.. like some otha dood said.

or it might be somethin like.. every NEW unique user loads memory up n' then not off.

i'd deffinatly test this out.

=D

Post Tue Mar 18, 2003 12:23 am

well it finally crashed at 22:30 of the 3rd day so it was up almost 72 hours straight.

The memory when it died was 180MB so I don't think it is a memory leak that caused it to die, I had plenty of free memory when it went kaput.

Post Tue Mar 18, 2003 8:45 am

today the server ran for about 3-4 hours before puking up.

I think the thing just has some serious stability issues that need to be addressed by the developers, but I don't think it is due to a memory leak, just some general sloppiness in the code somewhere.

Some piece of the software or some data in a script that only gets used rarely, something little got overlooked I bet.

Post Tue Mar 18, 2003 9:02 pm

ok something I noticed is that when the flserver dies and I just start it back up without rebooting the PC it tends to crash far more often than if I reboot the PC first.

This makes me think there is a DirectX 9 bug.

Post Wed Mar 19, 2003 11:50 am

@KungFu:
try starting the flserver.exe with the /c command, this will skip the initial server config-screen and should solve your probs... anywhere, is there any way you could give me that daemon since i don't have much understanding of vb

i noticed that my server ran alot more stable after deleting a few accounts i knew they modded their ini's, so I really think there could be one of the problems...


Edited by - Dschonny on 19-03-2003 11:52:45

Post Thu Mar 20, 2003 4:10 am

Kungfu: I would also be very interested to get some VB code for the monitoring program (perhaps there are many other people who would as well). Even if it's not complete, I know a little code and if we could get it working I would have no qualms about posting it. Thanks.

I am still and always a Privateer.

Post Thu Mar 20, 2003 6:35 am

I build my server from leftovers:
Win2k
P3-500
192Megs
100mbit realtek ethernetcard
geforge2
cable connection
15 player limit

Longest session before crash has been 4-5 days.
Though I also think that this server software sucks and it must be in some beta stage.

Post Thu Mar 20, 2003 12:57 pm



noticed that my server ran alot more stable after deleting a few accounts i knew they modded their ini's, so I really think there could be one of the problems...



BINGO! Since there is so much retained by the client, modded and cheaters make the server less stable than if you have all players with clean clients. Try reducing the server down to the taskbar, that helps with system stress too.

Post Thu Mar 20, 2003 5:53 pm

Maby I should not tell this because funspoiler-players may use this, but maby it's better to know before that wonder what happened afterwards (right?).

We ran some mod tests at my server (I run clean original server files). It seems that if server is missing some files that the client are using server becomes very unstable.
For example (client) Battleship mod crashed the server and (with some unknown reason) the client files corrupted and had to be reinstalled. Same situation occurred with number of mods and numer of clients, so I dont think it's just coincidence.

What I think is that MS didn't give enough time to finish this server program and it is at some beta stage with number of bugs.

Post Thu Mar 20, 2003 6:33 pm

Actually, it may just be a stroke of genius on DA part. Hear me out first.

The server becomes unstable because people are logging in with "altered" files and they make the server unstable...for a time. If the client files become correupt, they can't very well log into the server so the server become more stable until they attempt to log in again with their altered files. Same thing happens, client side files go corrupt and the server becomes stable again because the offending clinets can no longer log on.

The server will go through a series of stable then unstable periods but will always gravitate back towards the stable envoronment. Nothing changes on the server and the clients that are being altered have to go back through and alter them again and again to be able to log in and make the server unstable.

Pure genius!

Post Fri Mar 21, 2003 6:15 pm

Look into the SendKeys command - as it's name suggests, you use it to send key strokes to the target.

Post Fri Mar 21, 2003 6:17 pm

I have not had any problem with Memory leaks....I am running an XP2000+ with a Gig of PC2700 RAM....haven't noticed any crashs either...>Except when I tried a battleship mod...and forgot it was on there...Client FL was crashing back to desktop...but my server never had a problem....Guess if I do have a problem...It will take a while for it to happen with a Gig....

-Arg

-Narf

Return to Freelancer Server Forum