THE SPEW - Land where drunk cows swim and home to my daily hand...
streaming media & music | Home | Archives | Albums | Pics

TurboPanel, now Simple Control Panel, Java Options

17 June, 2007 05:58

GoDaddy's free control panel for dedicated and virtual dedicates servers is TurboPanel, now called Simple Control Panel.  It runs on Java, and I noticed the virtual machine was using up way too many resources for the good of the other services.  I decided to only start the server when I need it, although most of the configuration I need to perform is done through an SSH session.  Before I decided on this start stop option of mine, I tried tweaking the heap memory settings for the Java VM and damn it, I didn't make a back-up of the Java options.

I had one hell of a time getting the application to perform memory utilized procedures, and half of the time while trying to tweak the settings, I would cause the VM to crash.  So this is the reason for my post - my /etc/sysconfig/turbopanel file with the JAVA_OPTS variable assignment, for this one line of code took me a half a day of searching, pulling hair, and growing a dislike for this hog of an app.

JAVA_OPTS="-XX:TargetSurvivorRatio=1 -Xverify:none -XX:PermSize=16M -Xms8m -Xmx32m"

-Xms is used for setting the minimum heap size, while -Xmx is the maximum in multiples of 1024 if followed by K, or the megabyte equivilant if followed by M.  Permsize holds all the reflective data for the VM.  Setting this higher increases performance.  -Xverify defines the verification mode for the classes: remote, all, none.  Since I have no experience with java, I will refrain from trying to explant the TargetSurvivorRatio, especially because a majority of the documentation starts talking about Eden.

A year ago I was writing: poor man's snack (no PB)

[Software]
[Comments(0)] [Trackbacks(0)] [Permalink]

Add comment

Topic (required)

Text (required)

Your name (required)

Your email address (required & will not be shared)

Your personal page (if any)

authimage





Main Entry: spew
Function: verb
Etymology: Middle English, from Old English spIwan; akin to Old High German spIwan to spit, Latin spuere, Greek ptyein intransitive verb
1 : VOMIT
2 : to come forth in a flood or gush
3 : to ooze out as if under pressure : EXUDE transitive verb
1 : VOMIT
2 : to send or cast forth with vigor or violence or in great quantity -- often used with out - spew-er noun
--
Merriam-Webster

Land where drunk cows swim and home to my daily hand