Multi CPU and the JVM

Hi:
This question might very simple.
If my platform has two or more CPU like a Solaris system. Does the JVM take
advantage of these extra CPU ?
Cheers
David L. Wasler
[email protected]
860-927-8310

Yes.
"David L. Wasler" wrote:
>
Hi:
This question might very simple.
If my platform has two or more CPU like a Solaris system. Does the JVM take
advantage of these extra CPU ?
Cheers
David L. Wasler
[email protected]
860-927-8310--
Thanks,
Michael
-- BEA WebLogic is hiring!
Check our website: http://www.bea.com/

Similar Messages

  • Eclipse hangs and the JVM terminates in a Swing app incorporating JavaFX

    Hi everyone,
    I have a situation that is driving me nuts. I am developing a Swing based application which is incorporating some JavaFX components,mainly the TableView and a few layouts. I have wrapped all the javafx components into a common control for use application wide. I am also using an Eclipse plugin (Window Builder Pro) to layout the swing stuff.
    Now, my issue is, when I preview the JFrames and other components making use of the said simple custom control referred above, it only allows me to preview the JFrame once, there after Eclipse hangs and the JVM terminates.
    After some research, the most likely cause of this is that the reference to jfxrt.jar i have referenced in the project is loading some native dlls which can/should only be loaded once in the lifetime of a JVM. It looks like for some reason, my app is trying to load the native libs after it has already loaded them initially.
    The Application needs to be developed in Eclipse so netbeans is not an option.
    Am just getting started with maven, i don't have the know to build a project of this complexity with maven.
    Has any one encountered this issue and how did they walk around it?
    Any assistance would be greatly appreciated.

    After further digging around, the actual exception that causes the jvm to terminate is java.lang.UnsatisfiedLinkError due to an attempt to reload \JavaFX_2.0_SDK\rt\bin\mat.dll, anyone knows how to overcome this ?

  • Photobooth is eating 75% of cpu and the whole app drags...

    I have trashed the plist etc,
    and still nothing.
    When I open the app it eats about 15% cpu according to activity monitor, but as soon as I select the effects button #1 , the cpu just goes to the ceiling.
    I trashed the plist, I created a new user, and it acts the same way.
    I do notice that it drags and slows down when i select the "#1" set of effects,
    "#2" set of effects still work fine, and the app doesnt slow down or become unresponsice like it does when effects number 1 is chosen.
    Interesting that I am on a G5 and there still hasn't been an official update for photobooth , but there has been for Intel users. So, I got two problems now with photobooth , the pop art effect is still broke, and now the app is becoming completely useless.
    oh well...

    "I trashed the plist, I created a new user, *and it acts the same way*."
    It's possible somehow the app is corrupted and/or something is conflicting with it. A couple of things to try to weed out the problem.
    *Except for the keyboard & mouse, disconnect all devices/peripherals from your computer.*
    #1 - Repair disk/permissions from your Tiger System Install DVD.
    #2 - Open Library>Startup items folder-the root level Library, not the one in your user name folder.
    Look for potentially problematic 3rd party items such as virus scanning software components, etc. Remove 1 or more items to a location outside the Library folder, such as the Desktop, then restart normally & see if Photobooth is still hogging up the CPU. It it does, try removing all the items in the Startup items folder & restart. If all’s now well, place the items back into the Startup items folder 1 by 1, restarting each time you put one back. If and/or when the issue resurfaces, you just identified the faulty component.
    If the above does not work, then it’s time to move on to.................
    WARNING-This step can be tedious-removing .plist files from the /Library/Preferences folder.
    Remove the entire Preferences folder from the Library folder on your startup drive then place the files back 1 by 1 until you see the problem return. *The Mac will automatically create a new Preferences folder in the Library folder*
    Alternatively, you can take half of the items out (all non-Apple .plist file, for example), restart to see if Photobooth is still having issues, then move to a smaller set of items, repeating the process until the culprit is found.
    Or you can use Preferential Treatment which is a FREE utility that does all the work for you.
    #3 - Archive & Install
    http://docs.info.apple.com/article.html?artnum=301270 Scroll down to "Archive and Install”
    #4 - Re-install Photobooth. It should be in the Bundled Software folder in the Tiger System Install DVD.
    ====================
    "the pop art effect is still broke,"
    The only solution for your model iMac is to download the Russian fix. It works. I have it & now am a happy camper. The Russian cure will update Photobooth to v1.2.
    http://www.firblitz.com/2006/12/10/photo-booth-broken
    Regarding your comments:
    +"This "little" russian fix, created a much more larger problem dealing with the software update program and how it distinguishes whether you have the current updates for your apple software.+
    +So using the 1.2 russian update has made things worse for people with non-russian imacs."+
    I hope you are aware that *not everyone* suffered from this +Russian glitch.+ If it happens to you, then I suggest that you search the web for a cure and/or contact Apple. Just make sure you repair permissions & restart after the installation if you decide to take the Russian route.
    Good luck!

  • Multi-Dock and the Excite

    So I purchased my new Excite which I must say I am loving! While I was looking for a case I came across a Multi-Dock for 10" Toshiba Tablets so I grabbed it right away, I get home all excited to hook it all up and to my surprise there is no power adapter.....go back to the back and sure enough it tells me there is not one included (very strange and kind of dumb in my opinion but it was an oversight on my part so I rolled with the punches!) I immediately jump on Amazon and grab the power cord. I came home today from work excited again since I knew the box was here waiting for me. I plug in the dock and insert my tablet......nothing happens with my TV (I have the HDMI cable properly connected) and the power indicator on my tablet says 0% and a pop up appears asking if I would like to shut down.
    Again I go back to the box fully expecting to notice another oversight but nope! All it says its for Toshiba 10" Tablets.....well mine is the Excite 10 and it does nothing for me except waste my money.
    I wanted to write Toshiba an email......but all I can find are phone numbers! 
    I'm starting to think I should just return everything and go with a Samsung ......

    If you're still interested. I added 6 units to our site. They will arrive on Monday. It shows as out of stock, but it isn't. It takes 24hrs for our site to update.They will sell quickly.
    If you need still need it, I suggest you order it ASAP. We will ship to the USA. Below is the link.
    lcannon wrote:
    You are lucky to have Excite 10.  I have an Excite 7.7.  I have no way to get a hdmi docking station for it at all.  One of the people at Toshiba Direct told me it don't exist.  Oh but I can see it clearly on the internet hooked to a big screen TV.  It is sold through Canada.  It is compatable with my excite 7.7.  I have talked to Toshiba Direct in Canada and they said, it is compatable with my United States Excite; however they can not ship it to me.  It is not available in the United States.  I have made an official complaint to Toshiba Direct USA.  I have 2 Toshiba laptops.  I am a technical person.  I buy and build computers all the time for Doctors and Lawyers.  People are constantly asking me for technical help.  I have given praises for Toshiba products for years.  I love this tablet, but I feel betrayed.  Why won't Toshiba sell me a hdmi multidock for my Toshiba Excite 7.7.
    http://skinnymargins.com/toshiba-excite-7-multi-dock.html

  • UI disappears and the JVM exits

    I have a application running. It runs with a max 512MB vm memory setting. When i select a particular option which in turn spawns another JVM and start one more app. The memory used by the first JVM crosses the specified limit and then the GUI grays out first(components in the frame disappear) and then the entire GUI disappears and both the JVM's are killed subsequently.
    I don't call System.exit() anywhere in my code.
    Is it the OS that kills the JVM by any chance?
    I am running my app on Win2K SP 2.
    Would be really helpfull if u anybody out there give me some pointers to this problem.
    Thanx in advance..:)

    Did you ever find a solution to your problem? We're having a similar problem w/GUIs disappearing w/o a trace. The lack of error messages reminded me of when we had a problem with the console buffer being filled w/messages from a C++ subprocess launched from within our Java GUI. We had to add code to eat the messages from stdout and stderr, and I'm wondering if we're now eating a stack trace or VM panic message.

  • AUDIODG.EXE hogging 80-100% of CPU and sound not working in Vista . . .

    I posted this on a Microsoft Answers Forum but none of the techs or people reading have been able to help so far.  I'm dying to get to the bottom of this:
    Here is my computer:
    MSI K8N Neo4 Platinum
    AMD Athlon 64 3000+
    2GB RAM
    XFX GEFORCE 6600 GT 128MB DDR3 DUAL DVI & TV OUT (PCI-E)
    200GB WD SATA HDD
    500GB WD HDD in external enclosure via USB2
    NEC ND-3520A 16X DVD±RW Dual Layer DVD Burner
    LG CD Burner
    I've been using Vista Home Premium successfully for some time.  Recently, not too long after I did a clean wipe of my OS, my audio would stop working.  The way it would happen is that everything would work fine until I started iTunes or another audio application and when I would hit play, things would lock up.
    Upon inspection of my system resources, I'm noticing that the audio platform for Vista, via the audiodg.exe, is using close to 100% of my CPU resources, even when the computer is making no sound at all.
    I've had a Sound Blaster Live! card in my computer for some time but I was not using it; I use the Realtek AC'97 audio drivers that are on my motherboard instead.  I thought that the conflict may be the computer wanting to recognize my Sound Blaster, so I took it out of my computer but the problem seems to be worse.
    Are there any BIOS setting that need to be adjusted for my sound to start working again?
    I'm very reliant on the audio processing power of my computer (I'm in the radio industry, part-time) and this is a huge drag on my productivity.
    Any tips would be much appreciated.
    REPLY #1:
    Thank you for using Microsoft Answers forum.  I suggest going to the manufacture of your sound card and download the latest drivers and install them.
    MY RESPONSE:
    Good suggestion.  The problem is this:
    I am running on-board audio.  I have an MSI K8N Neo4 Platinum motherboard which runs "Realtek ALC Series AC97 Audio Driver" and there is no version for Vista. They have a version for Windows 2K/XP and one for Windows XP 64bit.
    Should I use on of those and if not, then what?
    UPDATE (from me):
    I took a chance and found a Realtek AC'97 driver for Vista.
    http://drivers.softpedia.com/progDownload/Realtek-AC-97-Audio-Codec-Driver-Vista-6183-Beta-Download-18114.html
    I went to install it and the install hung.  So, I closed one of the install windows and then the InstallShield app continued like it was working.  So, I hit "Restart my computer".  Well, the reboot hung too.  So, I reset the PC manually.
    When the computer came back up, the sound worked.  Hard to tell if this will fix it for good but it's promising.  Chaotic.  Unpredictable.  Annoying.
    REPLY #2:
    Before you tried updating drivers, did you try rebooting 1st?
    I'm just trying to determine if rebooting your system is what resolved the issue - thank you
    UPDATE II (from me):
    My computer is behaving the same way it was before.  AUDIODG.EXE taking up 80-100% of my CPU and the sound not working.
    Any other ideas?

    Small update: Despite my intelligence, good looks and vast experience I use Google sometimes. To my surprise this file turns out to be a Windows one. Here is someone who is much happier, and since it is some way in my line of thinking I'll quote it, but you might take my previous advice as well:
    http://forums.techarena.in/windows-vista-performance/1012315.htm
    "- Open up msconfig.exe > Manage startup programs.
    - Disable ALL Realtek entries
    - Close msconfig.exe
    - Right-click on the speaker icon > Audio devices > Speakers (properties)
    - Go to the enhancements tab
    - Check the box to disable all audio enhancements
    - Close the menu
    - Right-click on the speaker icon > Recording devices
    - Disable all your microphones (yeah..., the actual problem seems to come
    from voice inputs rendering..)
    - Close the menu
    - Restart your computer"

  • MBP and the Thermal Paste Discussions

    I've read with interest the postings on this web site regarding the MBP heat issues and the possibility that too much thermal paste is causing that problem. I've spent quite a few years designing computer motherboards using Intel processor chips, and want to share some thoughts on the topic. I only mention my background because one thing this business has taught me is that we can all be easily mislead by our test data if our process for gathering the data isn't rigorous (and, believe me, I've learned that lesson many times).
    First, the excess thermal paste is definitely a problem, regardless of whether it is the root cause of the heat issue. Some of the photos posted on the various web sites show thermal paste covering bypass capacitors on the chip carriers (the green fiberglass boards that carry the CPU and GPU die). Thermal pastes can cause stray capacitances that can interfere with circuit operation. Standard industry practice is to use only as much paste as is necessary to achieve a layer that is about as thin as a single layer of tissue paper (or less). The amount used by Apple is far too large, particularly because the paste in coming into contact with other electrical components and conductors. A common failure mode associated with degraded bypass capacitors is random (and unrepeatable) crashes due to corrupted digital data in the processor chip.
    In addition, all thermal pastes contain various types of fluids. Over time, these fluids evaporate, and frequently they condense elsewhere inside a computer. When CD drives were first introduced years ago, a common cause of mid-lifetime failures was condensates on the optics of the laser. The condensation fogs the lens and interferes with the ability of the laser to focus while reading and writing data. The contamination was traced to outgassing by thermal pastes, greases, sulfurized elastomers, and similar items used to build the computer. (Note that the Apple service manual for the MBP refers to the thermal paste as “thermal grease”.) Consumer electronics manufacturers learned to minimize the use of such materials in computer designs. The amount of thermal paste shown in the Apple service manual is very large, and I wouldn't rule out that it might contribute to future DVD drive failures.
    It is difficult to say, based on the available data, that reducing the amount of thermal paste actually contributes to improving the thermal behavior of the MBP. Part of the problem is that the procedure to remove the pastes involves disassembling the laptop, and this introduces the possibility that the disassembly/reassembly process is inadvertently fixing the problem.
    First, the high case temperatures could be the result of loose or poorly placed thermal sensors. If the disassembly/reassembly process fixed a loose sensor, or loose sensor electrical connection, or placed the sensor in a better position, you would get lower case temperatures, and possibly (inadvertently) attribute this to less paste.
    Second, the cooling system design in the MBP requires that the die caps on the chip carriers be pressed tightly against the pads on the heat sink, so that heat is transferred efficiently. If the MBP is not assembled properly, (i.e., if the logic board mounting screws are not properly torqued, or the logic board is not mechanically aligned properly to ensure a tight fit to the heat sink), it is possible that this will manifest itself as high case temperatures. In the Intel processor chips there are two paths for heat to travel – out of the die cap, and through the electrical contacts to the motherboard. If the die cap isn’t properly cooled, heat will instead go into the motherboard, and the case temperature will rise. There is a possibility that the disassembly/reassembly process will fix a loose or misaligned logic board problem, with the result that the case temp will be reduced.
    Also, if you work through the details of the thermal model that results from excess paste, it's hard to see how it would result in more heat to the case and less to the heat sink. Most of the photos on the web appear to show thin paste on top of the die, indicating that there was probably a low thermal resistance path to the heat sink prior to disassembly. The excess paste to the sides will simply further reduce the thermal resistance between the chip carrier and the heat sink. I may be missing something, but it's hard to envision how this lower thermal resistivity between the CPU and the heat sink drives more heat into the case. But it is also possible that the disassembly process destroys evidence of the actual connection to the heat sink, so this failure mode is hard to judge.
    The best way to determine if removing the excess paste is actually helping would be to measure the exhaust air temperature from the cooling fans before and after removing the excess paste. I haven't seen such data, but if it were taken, and showed that the exhaust air was at a significantly higher temperature after the fix than before it, then we would know that the fix worked. If not, then the heat is going elsewhere, and it is possible that fix has actually made things worse.
    Finally, all the symptoms we're seeing can be explained by poor software calibration and/or incorrect software control of the CPU clock speed. I wouldn't rule out a software fix at his point.
    I'm not saying removing the paste is not a fix, only that there are still open questions that remain to be answered. It would be hard for me to recommend that anyone rework an MBP for the thermal problem in the absence of additional data.
    For myself, I own an MBP, and though I have access to an electronics lab and some great technicians, I intend to buy Applecare, and in the meantime wait for a fix (or at least more information) from Apple.
    Best of luck to everyone who has this issue - thats what we get for being early adopters.
    G5 2.5 DP   Mac OS X (10.4)  
    G5 2.5 DP   Mac OS X (10.4)  
    G5 2.5 DP   Mac OS X (10.4)  
    G5 2.5 DP   Mac OS X (10.4)  
    G5 2.5 DP   Mac OS X (10.4)  
    G5 2.5 DP   Mac OS X (10.4)  

    Well I replaced my thermal compound and the temperature on my cpu went down and the temperature of my case went down also. The fans also kick in sooner leaving me to believe that the heat is being properly distributed the heatsink whereas before it was not as there was too much thermal compound making it act like an insulator.
    I cannot say if the exhaust air is any hotter, but I know overall my laptop is much more cooler and never gets extremely HOT. Even under heavy loads the areas where it used to get really hot, above f keys, palm area, underneath the MBP are not hot to the point where someone could burn themself at all.
    I really do hope that Apple does address this issue because I could not live with the heat before, I always had to hook up an external keyboard because my hands got too sweaty from the palm rest and the keyboard. Now everything is operating like any other laptop I've owned and I am a very satisifed Apple user. Let's hope that Apple is really looking into it and will have a reasonable answers for all MBP users in a reasonable amount of time.

  • Dock consumes 100% of CPU and fan runs.  What to do?

    I have a 2010 MBP with SSD and VMWare (not Parallels).  Every so often, the dock cranks up to consume 100% of the CPU, and the fan runs.  The problem goes away when I reboot. I've tried quiting various applications, but it doesn't seem to make a difference (i.e. I cannot identify a rogue app that's causing this).  There are a lot of discussion threads on this problem with OS 10.6.8 and Parallels, but I'm running Lion 10.7.1 and VMWare (which I've shut down).
    Any others have this issue?  Ideas for solution?

    Small update: Despite my intelligence, good looks and vast experience I use Google sometimes. To my surprise this file turns out to be a Windows one. Here is someone who is much happier, and since it is some way in my line of thinking I'll quote it, but you might take my previous advice as well:
    http://forums.techarena.in/windows-vista-performance/1012315.htm
    "- Open up msconfig.exe > Manage startup programs.
    - Disable ALL Realtek entries
    - Close msconfig.exe
    - Right-click on the speaker icon > Audio devices > Speakers (properties)
    - Go to the enhancements tab
    - Check the box to disable all audio enhancements
    - Close the menu
    - Right-click on the speaker icon > Recording devices
    - Disable all your microphones (yeah..., the actual problem seems to come
    from voice inputs rendering..)
    - Close the menu
    - Restart your computer"

  • Thread caching generally and the print API specifically

    hi - new slant on the old "printing" chestnut
    code goes something like this.
    a)
    PrintService[] x = javax.print.PrintServiceLookup.lookupPrintServices(null, null);
    System.out.println (x.length)
    code end, then repeat
    b)
    PrintService[] y = javax.print.PrintServiceLookup.lookupPrintServices(null, null);
    [break point]
    PrintService[] z = javax.print.PrintServiceLookup.lookupPrintServices(null, null);
    code end
    example a)
    if i run the same piece of code twice over, deleting a printer after the first time thru, i get the right answer on the second run.
    example b)
    if i stop the code at the break point, and then delete a printer; i get the same answer for z as for y. Still using the same JVM and thread, remember.
    i think the JVM or thread is caching the answers to this static call "lookupPrintServices". so i get the same answer until the code ends and the JVM exits.
    since this is going to run in an EJ bean, a workaround might be creating a child thread, doing the printer discovery in it, then returning the answer somehow to the waiting main program. This is nasty - does anyone have an other ideas ?
    thanks

    In fact, these server process have multiple devices attached because there are different hardware requirements depending on metadata recorded in the XML file (paper size/type, duplex printing). When a new hardware requirement arises, we may need to install a different device. It may also be the case that an XML contains a new printer name but that an existing device matches the requirements. We then install a new (logical) printer and map it to the port of the existing matching device.
    Any way, the device selection is data-driven and is somewhat dynamic (we will not add printer every day/hour but it will happen and the service should preferably not be interrupted)
    The problem of a new report type with hardware requirements already supported by existing devices could be solved by a override method but the problem of new hardware specifications, requiring the installation of a new printer can currently be solved only by bouncing the VM, which must be done carefully (being sure that a report has been processed completely and that the next one has not yet been started).

  • How to get memory usage of the JVM...

    Hi,
    I want to know the total amoutn of memory used by the JVM, while I am doing some particular transaction over my web application.
    One way is to use the methods in java.lang.Runtime. But the output seems to be fluctuating to a significant extent.
    Is there an alternative way to accomplish the same.
    TIA,
    Basu.

    Complie with the setting -verbose:gc,
    whenever the GC runs, it prints out the acutal amount of mem originally used, the amount used after GC and the JVM mem usage.

  • CPU and motherboard upgrades for DV7-2278ca

    Hi
    I have a DV-2278ca laptop with Intel Core™2 Quad Q9100 2.26-GHz with 12-MB L2 cache and 1066-MHz FSB and ATI Mobility Radeon HD 4650 discrete graphics subsystem and 1-GB of dedicated memory.
    I want to upgrade them to something that uses second/third generation INTEL (I5/I7)
    Is it possible? if yes what are my options?
    Thanks!

    I am going to be honest here. The chances of upgrading those components is very low and not very likely to work with that notebook case.
    A second generation Core i5/i7 process is two generations away from the current processor which will require a motherboard upgrade. I'm certain you are aware of this since you mention upgrading the CPU and the motherboard. This is an issue since the case for the notebook was specifically matched to the motherboard it came with. It is possible that finding one that supports what you want and fits that case will be challenging. It can also add up in cost and risk. Risk being the components just don't work or a different feature of the notebook doesn't work any more.
    I did do some research to find other posts, in this forum and outside this forum, where others have successfully changed those components. I found plenty on replacing it with the same motherboard, but none that were specifically upgrading it. Perhaps I did not use the right search terms. Notebooks are generally intended to be as they are configured with limited upgrades available for the hard drive and RAM.
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • How to strip down the JVM

    Hi,
    I'm using the PowerPC embedded JVM and the JVM needs nearly 24Mo.
    Do you know a method to reduce the mass foot print with only wich libraries that I need ?
    I found this the Java Kernel project (http://weblogs.java.net/blog/enicholas/archive/2006/09/java_browser_ed.html) but it's for java 7 !
    Thanks for your help
    Ob�lix

    Thanks for your help !
    I tried this solution but it's not easy to use :( I have some errors... even the HelloWorld !
    Did you try this solution ?
    Thanks again.
    Ob�

  • Time consumption by the stub and the service methods

    There is a performance issue with the web services which is reported recently. The Service method i.e. in my case AccountBalanceService.initFactory is taking 380 milliseconds while the stub method is taking i.e. in my case availableBalanceServiceStub.availableBalance is taking 2 seconds. QA people reported about why it is taking more time while the service method is quick. What might be the cause here? For me, it's seems that it might be the networking issues, marshalling and unmarshalling of the soap files and the JVM settings on the machines.

    Hello Pranali,
    the time spent by a user (which is the difference between login and logout) is <b>not</b> stored anywhere.
    STAD and/or ST03 will not help here as only the time of the login could be determined from the workload statistics. The time of the logout cannot be retrieved from the workload data (as this action doesn't contain any "logout specific" information).
    As a workaround you can use the Security Audit Log (sm19) to protocol the logon and logoff of the users. Based on this information you should be able to calculate the time a user was logged on.
    About the number of transactions:
    the workload analysis only uses dialog steps. As the number how often a transaction was called doesn't contain any useful information this information is <b>not</b> collected.
    E.g. you can call su01 to create 100 user accounts or call ten times su01 to create one user. The workload creating 100 users will be higher than the workload of the remaining ten transactions...
    So the figures 1 transaction vs. 10 transactions doesn't provide any useful information.
    Regards, Michael

  • Load testing and 100% CPU Utilization - Multiple JVMs?

    Hi,
    Problem:
    While stress testing the application with 20 simultaneous users, unix is 100% utilized and there is degradation in response times.
    One component of the application is invoking a unix script which is executing a java program after setting CLASSPATH, PATH etc. I guess thus each execution will be invoking a jvm. At the end of the program it will do a System.Exit(). This java program generates around 15-60 barcode images. It takes 2 secs normally.
    When, 5 and 10 concurrent users executing this unix script for a steady state time of 30 minutes is also working fine even through response time degrades to 4 secs.
    With 20 concurrent users, unix box with 4 CPUs is 100% utilized and response time degrades to 11 secs or so.
    We need to do this through unix script only because it is executed from database tier (oracle reports - rdfs) and java stored procs doesn't allow awt operations (image file creation).
    I repeated this testing using a java class which just loops for 2 secs. With 20 concurrent users, it was also degrading to 6 secs or so and fluctuating between 100% CPU utilization.
    Any pointers on what we should be analyzing more and how should we try to solve this issue.
    Thanks,
    Ayyappa

    Stupid forums made me change the ``screen name.'' Whatever...
    Anyway, it is resource intensive to invoke a new JVM per request. You can do several things but it comes down to the fact you will want to keep ONE JVM running in the background awaiting requests to do work. These requests can come from several mechanisms, such as polling a database table, sending requests over a local TCP socket, listening in on a Unix fifo file, etc, etc.
    When the shell script is exec'd, connect to your JVM (for example) by opening a socket to it, enter your request for work, and wait for the response, the JVM app will listen and accept socket requests, thread off and process and then return data. Something in this form will be substantially more scalable that what is currently being done.

  • Indexing, TM backup and the multi-Colored Pinwheel

    Hi All.
    I seem to be getting a lot of multi-colored pinwheel hangs on my 6 month old MacBookPro and I can't tell if it is due to Parallels 6 being installed or what.
    I sometimes get Finder to be 101.3 (or close) % of CPU. I also have a vm_prl that pegs out at 100% CPU which I know is a Parallels issue I need to solve.
    Question:
    Does anyone know why Finder would get up to 100% CPU and is it a problem possibly related to the slowness of the computer?
    Also, I noticed that Mac is "indexing" my 1 TB external drive when I plug it in. Is it possible that this (or my Time Machine via Wifi backups) are causing the slowdown and what to do about it.
    Thanks from the newbie to Mac.
    - Jon

    Hotwheels22 wrote:
    Hi James.
    I am going to print this out and study it. It may take me a couple of days to respond but I'm hoping you will be around so I can follow up.
    Yup. I don't stray very far, or for very long, anymore.
    I'm not sure if this changes your input but I do seem to have had a lot of issues over the last six months and it has been really hard when I combine the Parallels slow downs/issues with the Apple problems. For instance, I get major slowdowns when Parallels is not even open which causes me concern.
    I don't do Windoze, so can't address that directly. But if it's truly shut down, it shouldn't affect the performance of OSX.
    Plus there have been a whole host of notifications and errors that just seem to keep me bogged down when combined with these slowdowns.
    Forgive me, but that's like telling your auto mechanic that your car is making all sorts of funny noises.
    Without some idea of what they are, nobody can do much. That's why I suggested you have a look at your logs. There are probably some pretty good clues lurking there.
    I mean, I may be at the end of my rope with this and also at a point where other items have stopped moving enough to tackle it. Other than my time and effort - is there another reason not to go ahead and try and get a fresh install? It's been recommended at the Genius Bar at least once and it was recommended on the Parallels forum just yesterday (with the rationale that I am a new Mac user and when you add the complexity of Parallels on top it /is/ possible to mess up something with the Mac OS...).
    Depends on what you mean by "fresh install." You can get a fresh copy of OSX fairly easily, without touching anything else. That may be worth a try.
    Some folks may say (or mean) a "clean install," which doesn't exist on OSX, but they usually mean erase and reinstall everything. That's the drastic step I'd do only as a last resort.
    If you want a fresh copy of OSX, just start up from your Snow Leopard Install disc and install OSX. Unless it's the same version as you're now on, before using any apps, download and install the 10.6.5 "combo" update. That's the cleverly-named combination of all the updates to Snow Leopard since it was first released, so installing it should fix anything that's gone wrong since then, such as with one of the normal "point" updates. Info and download available at: http://support.apple.com/kb/DL1324 (if you're on 10.6.4, http://support.apple.com/kb/DL1048 ). Be sure to do a +Repair Permissions+ via Disk Utility (in your Applications/Utilities folder) afterwards.

Maybe you are looking for

  • 2ª via de nota fiscal

    Boa noite! Fiz uma compra de uma Go Pro no Best Buy e necessito da 2ª via da nota fiscal, tenho todos os dados para a obter a mesma. Já enviei 3 vezes os dados para Karina e até agora não obtive resposta. Aguardo resposta o mais breve possível.

  • Trouble with focus, swing & keyListener

    can anybody out there help me with this problem, I got stuck with: I create a JDialog in a JFrame & would like to add Keylistener to the JDialog as soon as it opens..........but the it doesn't seem to be working....

  • Report for Production order operation

    Hi Is there any standard  report which will give the list of production orders which are confirmed upto a particular operation. For Ex: Lets say routing has  operations 0010,0020 and 0030. I want to know which production orders are  confirmed upto op

  • How much ram does my macbook pro have?

    How can I tell how much ram memory my mac book pro originally came with? I now only have 2 gbs left and am running out of space with all my photos, aps, videos and music. I don't want to keep moving things on and off the computer with an external har

  • How can i search on a channel on iPad? (youtube)

    I'm pretty sure that you can search for a word or sequence on a channel on the computer. I just want to know if i can do that on the Youtube app. If i can, does anyone know where the search bar is then?