Server's For Linux

i mean a new project for only linux useing moopledev when i used the files alot of stuff went bad
so i say we should bulid a linux server platform
 
Upvote 0
... did you miss the part where java is universal and the issue is either your setup or your unupdated .sh files? Im guessing they arent updated for moople (Im not accusing kev of not updating em I am just guessing they arent)
 
Upvote 0
lol i did already set up a maplestory private server on linux succesfuly, (i did on arch linux and on ubuntu) so it works... just install the files you need just like on windows and configure your .sh files good
 
Upvote 0
I prefer dont run Odin servers on Linux.
Java is not supposed to be runned on a Linux Machine.
I mean, its compatible but will take 10x more RAM than on a Windows Machine.
 
Upvote 0
I prefer dont run Odin servers on Linux.
Java is not supposed to be runned on a Linux Machine.
I mean, its compatible but will take 10x more RAM than on a Windows Machine.

Actually, it's the other way around.(Atleast for me when I hosted on Linux I found it way better than when I hosted it on a Windows VPS/Dedi).
 
Upvote 0
I prefer dont run Odin servers on Linux.
Java is not supposed to be runned on a Linux Machine.
I mean, its compatible but will take 10x more RAM than on a Windows Machine.

Stop talking out of your arse. I wonder how you would even think that's possible; the JVM on Linux garbage collects as well as the Windows equivalent. I also wonder how the objects would allocate 10 times more memory on Linux...
 
Upvote 0
Stop talking out of your arse. I wonder how you would even think that's possible; the JVM on Linux garbage collects as well as the Windows equivalent. I also wonder how the objects would allocate 10 times more memory on Linux...

Garbage collection is irrelevant to object size on the heap, however the collector may be better tuned on different platforms.

I doubt the object's memory on the heap are 10x that on the window's platform to begin with. Operating Systems don't really matter beyond the interfaces with it and the JRE (well... assigning virtual memory to processes is different in any case). It is all about what processor you have and how the heap is managed on it (i.e. 64-bit processors take 2x the memory on the heap than a 32-bit processor would). You can choose not to believe me, but honestly all memory usage specs you get from Java are unreliable since most of the process's memory is the Virtual Machine itself and not the actual application's allocation for the heap.

Note: Sorry for the one week bump, but this discussion was on the first page still.
 
Upvote 0
I prefer dont run Odin servers on Linux.
Java is not supposed to be runned on a Linux Machine.
I mean, its compatible but will take 10x more RAM than on a Windows Machine.

They both have the same usage , but it is true that it will run smoother on a linux. Lesser memory is required on the GUI , unlike windows. When I meant 'lesser', it's actually a lot less
 
Upvote 0
Not really, when I hosted it on a Linux computer, it took 600mb + per java process. Regardless of what it is. So it took 1.8GB only during startup.
It's definitely not the source as I'm able to run it on my computer with less than 100? or 200mb usage on startup.

I hosted it on a linux server before this, another source tho. It worked perfectly fine.

And, I also contacted customer support and they said they couldn't do anything. So I changed to a windows based host after that.
 
Upvote 0
Garbage collection is irrelevant to object size on the heap, however the collector may be better tuned on different platforms.

I doubt the object's memory on the heap are 10x that on the window's platform to begin with. Operating Systems don't really matter beyond the interfaces with it and the JRE (well... assigning virtual memory to processes is different in any case). It is all about what processor you have and how the heap is managed on it (i.e. 64-bit processors take 2x the memory on the heap than a 32-bit processor would). You can choose not to believe me, but honestly all memory usage specs you get from Java are unreliable since most of the process's memory is the Virtual Machine itself and not the actual application's allocation for the heap.

Note: Sorry for the one week bump, but this discussion was on the first page still.

So you're saying the VM reserves more memory than the application running on it? Couldn't you get the more accurate memory usage of the application with utilities like jmap or dtrace in that case?
 
Upvote 0
So you're saying the VM reserves more memory than the application running on it? Couldn't you get the more accurate memory usage of the application with utilities like jmap or dtrace in that case?

For most applications that is the case, however you can get the actual memory on the heap by in Kilobytes:

Code:
((Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory()) * 0.0009765625)

That will give you a more accurate measure of how much memory your core application is really using since all memory usage in Java is heap-oriented.
 
Last edited:
Upvote 0
I prefer dont run Odin servers on Linux.
Java is not supposed to be runned on a Linux Machine.
I mean, its compatible but will take 10x more RAM than on a Windows Machine.

Nah. Its much more stable and secure. Well if you're experienced with Linux at least. I run my server, KudoMS, on Linux. No desktop or anything, so I do everything via command line. The system on startup uses 23mb ram total.
 
Upvote 0
Not really, when I hosted it on a Linux computer, it took 600mb + per java process. Regardless of what it is. So it took 1.8GB only during startup.
It's definitely not the source as I'm able to run it on my computer with less than 100? or 200mb usage on startup.

I hosted it on a linux server before this, another source tho. It worked perfectly fine.

And, I also contacted customer support and they said they couldn't do anything. So I changed to a windows based host after that.

What Distro? I have successfully set up MoopleDev anad xampp on my linux server. It is CentOS 5.6 32 Bit and when I start MySQL, Xampp and my server, it eats only 1.1 Gigabytes of RAM. Note - I am using MoopleDev.
 
Upvote 0
Back