Running multiple instances of program at same time problems

I have a c++ program that uses BerkeleyDB 4.8.26 with transactions. Program works well, and I can run multiple instances of program and they cooperate on database very well. Problem arises when I run a small test program that runs 10 instances of the same program at same time.
Test program opens database with transactions, it does some database reads and writes and quits. This test is run in 10 instances of the same program at the same time. Some instances run and finish well, other instances end up with some of these errors:
unable to allocate memory for the lock table
PANIC: Cannot allocate memory
Error opening environment: DB_RUNRECOVERY: Fatal error, run database recovery
another with:
db_files/__db.001: No such file or directory
db_files: No such file or directory
Error opening environment: Invalid argument
others with this one:
Log file corrupt at LSN: [1][84474]
fileops: close db_files/log.0000000001
PANIC: Invalid argument
unable to join the environment
db_files: No such file or directory
Error opening environment: DB_RUNRECOVERY: Fatal error, run database recovery
I don't understand reason of this error, as I thought (and read) that BerkeleyDB should be able to handle multiple instances accessing database and is thread-safe.
I tried to run the test on both NFS and local disk drive with same results.
Is there anyone with ide what could be causing this problem ? My platform is x86_64 GNU/Linux 2.6.18-164.el5
Edited by: Miro Janosik on 21.9.2010 22:42

If there is someone who would like to look at this problem I'd like to show you program log files with verbose output turned on. There are 11 log files in the archive: http://bin.mypage.sk/FILES/log.rar
Log files that end up with lines like this one below mean that program finished running ok:
4000|0     4     20100922 07:07:24.094     20100922 07:07:24.094     FLOW_CMD
Here below is output from one of log files:
FilePersistentStorage::open() start
FilePersistentStorage::open() ReadDir
FilePersistentStorage::open() db_env_create
FilePersistentStorage::open() db_env_create ok
FilePersistentStorage::open() set cachesize
FilePersistentStorage::open() set_tx_max
FilePersistentStorage::open() set_timeout
FilePersistentStorage::open() set_lk_detect
FilePersistentStorage::open() exists homedir?
envp->open
FilePersistentStorage::open() envp->open
fileops: stat /var/tmp
fileops: open db_files/__db.rep.init
fileops: close db_files/__db.rep.init
fileops: open db_files/__db.001
fileops: close db_files/__db.001
fileops: open db_files/__db.001
fileops: mmap db_files/__db.001
fileops: close db_files/__db.001
unable to join the environment
fileops: directory list db_files
fileops: unlink db_files/__db.005
fileops: unlink db_files/__db.004
fileops: unlink db_files/__db.003
fileops: unlink db_files/__db.002
fileops: unlink db_files/__db.001
fileops: open db_files/__db.001
fileops: open db_files/__db.001
fileops: read db_files/log.0000000001: 12 bytes at offset 371
Finding last valid log LSN: file: 1 offset 371
fileops: close db_files/log.0000000001
fileops: open db_files/__db.005
fileops: seek db_files/__db.005 to 794624
fileops: write db_files/__db.005: 8192 bytes
fileops: mmap db_files/__db.005
fileops: close db_files/__db.005
fileops: open db_files/__db.006
fileops: seek db_files/__db.006 to 376832
fileops: write db_files/__db.006: 8192 bytes
fileops: mmap db_files/__db.006
fileops: close db_files/__db.006
fileops: open db_files/log.0000000001
fileops: read db_files/log.0000000001: 12 bytes at offset 335
fileops: read db_files/log.0000000001: 371 bytes at offset 0
fileops: directory list db_files
fileops: open db_files/log.0000000001
fileops: read db_files/log.0000000001: 28 bytes
fileops: close db_files/log.0000000001
Recovery starting from [1][243]
fileops: close db_files/log.0000000001
fileops: open db_files/log.0000000001
fileops: read db_files/log.0000000001: 28 bytes
fileops: write db_files/log.0000000001: 92 bytes at offset 371
fileops: flush db_files/log.0000000001
fileops: close db_files/log.0000000001
fileops: open db_files/log.0000000002
fileops: close db_files/log.0000000002
fileops: open db_files/log.00002
fileops: close db_files/log.00002
fileops: open db_files/log.0000000001
fileops: seek db_files/log.0000000001 to 463
fileops: write db_files/log.0000000001: 4096 bytes
fileops: write db_files/log.0000000001: 4096 bytes
fileops: write db_files/log.0000000001: 4096 bytes
fileops: write db_files/log.0000000001: 4096 bytes
fileops: write db_files/log.0000000001: 3633 bytes
fileops: close db_files/log.0000000001
Recovery complete at Wed Sep 22 07:07:23 2010
Maximum transaction ID 80000002 Recovery checkpoint [1][371]
FilePersistentStorage::open() ok
envp->lock_detect
FilePersistentStorage::open() lock_detect
rejected locks count: 0
db_create
dbp->open
fileops: stat db_files/test_aaps.db
fileops: stat db_files/test_aaps.db
fileops: stat db_files/__db.80000001.d9f23b56
fileops: open db_files/log.0000000001
fileops: read db_files/log.0000000001: 28 bytes
fileops: write db_files/log.0000000001: 67 bytes at offset 463
fileops: flush db_files/log.0000000001
fileops: open db_files/__db.80000001.d9f23b56
fileops: stat db_files/__db.80000001.d9f23b56
fileops: seek db_files/__db.80000001.d9f23b56 to 0
fileops: write db_files/__db.80000001.d9f23b56: 4096 bytes
fileops: seek db_files/__db.80000001.d9f23b56 to 4096
fileops: write db_files/__db.80000001.d9f23b56: 4096 bytes
fileops: flush db_files/__db.80000001.d9f23b56
fileops: close db_files/__db.80000001.d9f23b56
fileops: stat db_files/test_aaps.db
fileops: stat db_files/__db.80000001.d9f23b56
fileops: unlink db_files/__db.80000001.d9f23b56
fileops: open db_files/log.0000000001
fileops: read db_files/log.0000000001: 12 bytes at offset 463
DB_LOGC->get: LSN 1/463: invalid log record header
DB_TXN->abort: log undo failed for LSN: 1 463: Input/output error
fileops: close db_files/log.0000000001
PANIC: Input/output error
fileops: open db_files/log.0000000001
fileops: read db_files/log.0000000001: 12 bytes at offset 463
PANIC: fatal region error detected; run recovery
DB_LOGC->get: LSN: 1/463: read: DB_RUNRECOVERY: Fatal error, run database recovery
DB_TXN->abort: log undo failed for LSN: 1 463: DB_RUNRECOVERY: Fatal error, run database recovery
fileops: close db_files/log.0000000001
PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
PANIC: DB_RUNRECOVERY: Fatal error, run database recovery
dbp->open end
dbp->close
PANIC: fatal region error detected; run recovery
envp->close
File handles still open at environment close
Open file handle: db_files/log.0000000001
fileops: close db_files/log.0000000001
PANIC: fatal region error detected; run recovery
Database 'db_files//test_aaps.db' open failed: DB_RUNRECOVERY: Fatal error, run database recoveryDatabase close failed: DB_RUNRECOVERY: Fatal error, run database recovery
environment close failed:

Similar Messages

  • I want to run multiple instance of tomcat on same server-very Urgent

    HI all,
    I want to run multiple instance of tomcat on same server. I have created CATALINA_BASE directory and i put conf,logs,temp,webapps, and work directory. I have configured server.xml in different port. I have set the environment variables too. Though it didn't workout for me. Is there anything else i have to do for that. if so, Please assist me.
    I did all according to the tomcat 4.1running.txt
    Thanks in advance
    Ram.

    hi,
    http://www.linuxjournal.com/article/8561
    http://forum.java.sun.com/thread.jspa?threadID=515368&messageID=2458945Hit Google..
    http://www.google.com/search?q=how+to++run+multiple+instance+of+tomcat+on+same+server&client=netscape-pp&rls=com.netscape:en-US

  • Problem running multiple folder actions at the same time

    Hi,
    Does anyone have some experience running multiple folder actions at the same time?
    I've written a Applescript folder action that processes some files. When adding some files, the script starts and all goes well. The processing of each file takes a few minutes, but all files are processed correctly.
    However, when adding some new files to the dropfolder, while the folder action is all ready processing other files dropped a few minutes earlier, the process that is all ready running immediately aborts and the folder action is relaunched on the new files, leaving the old files for what they are...
    The same problem occurs with multiple folders, each having a folder action attached. When dropping files in "Folder A", the script starts processing. But if someone droppes files in "Folder B", The script of folder A aborts, and the script of folder B starts processing. When adding more files to the folders, the result is the same. In some casses, when the last dropped files are processed, the os continues where the operation was aborted on the previous files. But this not always happens. To make things worse, when you remove the items from the folders afterwords, the folder actions starts running again on items no longer present in the folder !!!!
    Does anyone know how I can prevent the folder action being aborted when new files are dropped and placing the new files in "Hold", until the previous files are processed? How can I prevent a folder action being aborted when a item is dropped into another folder?
    I've written a small script to test this behaviour. Just create one or more folders and attach the script below. Drop a item into the folder, wait a few seconds and drop another one in the same or another folder. To monitor what happens please check the console.
    on adding folder items to this_folder after receiving added_items
              set FolderName to this_folder as string
              set ItemName to added_items as string
              repeat with theIncrementValue from 1 to 15
      delay 2
                        do shell script ("logger \"Folder: " & FolderName & "  -  Item: " & ItemName & "  -  Step: " & theIncrementValue & "\"")
              end repeat
              do shell script ("logger \"Folder: " & FolderName & "  -  Item: " & ItemName & "  -  Done...\"")
    end adding folder items to
    Thanks for any feedback.

    That is pretty much the way Folder Actions work, especially since AppleScript is not multi-threaded.  If you are using them as some intermediate step in a workflow, you might rethink the way you are handling the files (for example, use a droplet instead).  Other options would be using launchd to watch a path or a shell script on a different thread.

  • Running multiple instances of program in parllel processing.

    Hi Experts...
    We have an issue where we need to update huge set of data (say more than 2000000), update is simple where some BI table needs to be updated for few fields.
    Now issue is that if at one go this update is done then there is memory issue, system is not able to extend the internal table beyond a permitted memory.
    For this there may be some chanes which could be done in report RSMEMORY but business does not want this way.
    I want to know what does "running multiple instances of a program in parllel processing, one job does not have to update the whole table".
    Program is ready but simply running program without any input on the selection screen is picking all data and ending up in a short dump since there is huge data in the BI table.
    What is the best possible way to update table through program where there is an issue of Huge data.
    Do we have any expert comments on this ?
    Thanks & Regards,
    Mark

    Hope this gives some direction !
    Bundling using Function Modules for Updates
    If you call a function module using the statement CALL FUNCTION ... IN UPDATE TASK, the function module is flagged for execution using a special update work process. This means that you can write the Open SQL statements for the database changes in the function module instead of in your program, and call the function module at the point in the program where you would otherwise have included the statements. When you call a function module using the IN UPDATE TASKaddition, it and its interface parameters are stored as a log entry in a special database table called VBLOG.
    http://help.sap.com/saphelp_nw70/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm
    Rgds
    Sameer

  • PowerShell using start job to run multiple code blocks at the same time

    I will be working with many 1000’s of names in a list preforming multiple function on each name for test labs.
    I notice when it is running the functions on each name I am using almost no CPU or memory.  That led me to research can I run multiple threads at once in a PowerShell program. That lead me to articles suggesting start-job would do just want I am looking
    for. 
    As a test I put this together.  It is a simple action as an exercise to see if this is indeed the best approach.  However it appears to me as if it is still only running the actions on one name at a time.
    Is there a way to run multiple blocks of code at once?
    Thanks
    Start-Job {
    $csv1 = (Import-Csv "C:\Copy AD to test Lab\data\Usergroups1.csv").username
    foreach ($name1 in $csv1) { Write-Output "Job1 $name1"}
    Start-Job {
    $csv2 = (Import-Csv "C:\Copy AD to test Lab\data\Usergroups2.csv").username
    foreach ($name2 in $csv2) { Write-Output " Job2 $name2"}
    Get-Job | Receive-Job
    Lishron

    You say your testing shows that you are using very little cpu or memory in processing each name, which suggests that processing a single name is a relatively trivial task.  
    You need to understand that using a background job is going to spin up another instance of powershell, and if you're going to do that per name what used to require a relatively insignificant amount of memory is going to take around 60 MB.  
    Background jobs are not really well suited for multi-threading short-running, trivial tasks.  The overhead of setting up and tearing down the job session can be more than the task itself.
    Background jobs are good for long-running tasks.  For multi-threading short, trivial tasks runspaces or a workflow would probably be a better choice.
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • Running multiple DAQ tasks at the same time

    I am trying to setup a program that would allow me to run different analog voltage waveforms on different channels.
    The rate at which samples hit each channel can be the same for all 32, but I want each to be sourced by an individual file I/O source.
    I saw the multiple tasks thread and I did try doing the multiple task approach first and needless to say got the same error.
    Saw something about software timed approach working better, but it is still a bit unclear in that post. Can i do with this card what I described above and if so is this software timing approach the way to go?
    Thanks in advance!

    Hi,
    What DAQ device and and programming language are you using, i.e., LabVIEW/CVI/.NET?   If you are new to DAQ, a great place to start are the example programs.  You can find the example programs with the Example Finder, located at Help >> Find Examples in both LabVIEW and CVI.  Once this opens, double click Hardware Input and Output >> DAQmx >> Analog Generation.  This will have many programs for generating waveforms.  I have also found a program online that might be worth looking at.  
    Continuous Multiple AO Waveforms
    Regards,
    Jim Schwartz

  • Running multiple instances of OIM on same machine

    I have two instances running on same machine. I made the following changes in JBoss to achieve it:
    * deploy/jboss-web.deployer/server.xml
    o change 8080 to 18080
    o change 8443 to 18443
    o change 8009 to 18009
    * deploy/http-invoker.sar/META-INF/jboss-service.xml
    o change 8080 to 18080
    * deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml
    o change 8080 to 18080
    o change 8443 to 18443
    * deploy/ejb3.deployer/META-INF/jboss-service.xml
    o change 3873 to 13873
    * deploy/jms/uil2-service.xml
    o change 8093 to 18093
    * conf/jboss-service.xml
    o change 8083 to 18083
    * conf/jboss-minimal.xml
    o change 1099 to 11099
    o change 1098 to 11098
    * conf/jboss-service.xml
    o change 1099 to 11099
    o change 1098 to 11098
    o change 4444 to 14444
    o change 4445 to 14445
    o change 4446 to 14446
    Both servers startup properly but after startup I get following exception:
    Server 1
    22:45:01,120 ERROR [ACCOUNTMANAGEMENT] Class/Method: tcDefaultSignatureImpl/verifySignature encounter some problems: CN=Custome
    OU=Customer, O=Customer, L=City, ST=NY, C=US
    22:45:01,121 ERROR [ACCOUNTMANAGEMENT] Class/Method: Authenticate/connectSignature encounter some problems: CN=Customer, OU=Cus
    er, O=Customer, L=City, ST=NY, C=US
    22:45:01,122 ERROR [ACCOUNTMANAGEMENT] Class/Method: Authenticate/connect encounter some problems:
    com.thortech.xl.security.tcLoginException:
    at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
    at com.thortech.xl.security.tcLoginExceptionUtil.createException(Unknown Source)
    at com.thortech.xl.security.Authenticate.connectSignature(Unknown Source)
    at com.thortech.xl.security.Authenticate.connect(Unknown Source)
    at com.thortech.xl.security.Authenticate.connect(Unknown Source)
    at com.thortech.xl.security.jboss.UsernamePasswordLoginModule.login(Unknown Source)
    Server 2
    22:45:01,214 ERROR [DATABASE] Class/Method: tcDataBaseClient/bindToInstance encounter some problems: SecurityException; nested exc
    eption is:
    com.thortech.xl.security.tcLoginException:
    java.rmi.AccessException: SecurityException; nested exception is:
    com.thortech.xl.security.tcLoginException:
    at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:388)
    at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:136)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107)
    at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637)
    at org.jboss.ejb.Container.invoke(Container.java:981)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    Can any one help me to resolve this?

    I also change the ports in internal-settings.xml for IIOP, rarely used but sometimes necessary.
    --olaf                                                                                                                                                                                                                               

  • How can i run multiple instances of Photoshop EXE at the same time on windows 7

    Alright. You may ask why do you need multiple ?
    Assume that i have 10000 PSD files in 10 different folders
    I have a script that just save as them as PNG
    And these files are each 3000x3000 px
    My computer has 8 cores and 1 photoshop exe is only using 1 cpu core
    Also i have SSD raid system it has 750 mb read write per second
    So right now i am wasting my time with running only 1 photoshop exe instead of at least 4

    I'm not aware of a way to run multiple instances or different versions of photoshop at the same time on windows.
    Assuming of course they are all installed on the same operating system.
    On mac versions you can running two different versions of photoshop at the same time, but i don't think that's possible on windows where it
    appears that only one version of photoshop can run at a time.

  • "you can not use multiple instance of Program at the same time"

    Hello @ all,
    I have a Problem, after the installing from Acrobat Testversion and acrobat reader in version in "all Combination" 8 an 9.
    I get this misstake information "you can not use multiple instance of Program at the same time" if I want open more then 1 .pdf.
    If I have no pdf open, but acrobat/reader so i can´t open with the same Misstake.
    I have deinstalled and installed, Allways I bekame the same information. I tryed all things to clean and know i don`t know forward.
    Important: by Drag an Drop in the Acrobat Reader it is going, but by direct click on the pdf i get mistake.
    Maybe, you know what I can do!
    Thanks for help!

    Installation of both Acrobat and Reader in the same Windows machine is not advisable. If I were you, I would remove both completely and then reinstall the one you want to keep.

  • Disallow running multiple instances of the same web start application..

    on the client? I have an application that is launched on the client by clicking on the link to the JNLP file. The problem is that I don't want the application to launch twice if the user clicks the link twice. Is there a way to keep web start from running multiple instances of the same app?
    I don't want to just disable the button after it is clicked because then the user won't be able to get back in if they need to.
    Any help out there?
    Thanks,
    Melanie

    The way I do this is to try connect to an obscure port number on the localhost at startup.
    if this connection succeeds I assume the app is already running. otherwise the program continues and registers as a server at that port number.
    I actually take this a little bit further by registering a web server at this port (I use the Brazil server), That way if the program finds an instance of itself running it can send a message to the web server and ask the program to do something (like start another window if,for instance you wanted to allow this but only within the same VM).

  • Running multiple instances of same servlet

    I am trying to run multiple webapps off of the same weblogic5.1 instance.
              I have setup the webapps and they work individually, but I need one servlet
              to load at startup.
              I have only been able to do that by including it by name in
              weblogic.properties
              #webApp named
              weblogic.httpd.webApp.demand=d:/stat_forecast/
              #register servlet so it runs on startup
              weblogic.httpd.register.AppInitServlet=com.ai.servlets.AppInitServlet
              weblogic.httpd.initArgs.AppInitServlet=AppConfigFilename=d:/stat_forecast/pr
              operties/forecast.properties
              weblogic.system.startupClass.aiservlet=weblogic.servlet.utils.ServletStartup
              weblogic.system.startupArgs.aiservlet=servlet=AppInitServlet
              This works until I try to add another instance of AppInitServlet for a
              different webApp
              #webApp named
              weblogic.httpd.webApp.supply=d:/supply/
              #register servlet so it runs on startup
              weblogic.httpd.register.AppInitServletS=com.ai.servlets.AppInitServlet
              weblogic.httpd.initArgs.AppInitServletS=AppConfigFilename=d:/supply/supply.p
              roperties
              weblogic.system.startupClass.aiservletS=weblogic.servlet.utils.ServletStartu
              p
              weblogic.system.startupArgs.aiservletS=servlet=AppInitServletS
              The servlet does not run a second time.
              Is there a way to move the AppInitservlet to inside the webApp and maybe use
              the web.xml to start each one individually?
              Thank you for any insight
              John Norton
              Indent Inc
              John Norton
              Indent Inc.
              (Innovative decision technologies, inc.)
              [email protected]
              

    Replying to myself to try and clarify.
              We are trying to run 2 or more webapps, each webapp tryes to call the
              servlet AppInitServlet.
              The servlet will not allow more than one instance to be in a context.
              In tomcat the servlet works to give a separate instance for each app.
              "JohnNorton" <[email protected]> wrote in message
              news:[email protected]...
              > I have sp8 on one version and that does work for the load on startup. One
              > problem solved, thank you.
              > Second part of same problem
              > In tomcat where we were developing, we could have multiple instances
              of
              > the AppInitservlet (for different Apps) and it kept them all separate.
              > In WL51 it starts the first correctly, but does not keep them
              separate,
              > so the second instance does not happen. It is designed so that
              multiple
              > calls do not instantiate (this would normally be within one instance of
              one
              > App).
              > I had thought that if the servlet was load-on-startup from the webApp
              > web.xml file that they would be separate. Any more ideas or clues?
              >
              > Thank you
              >
              > John Norton
              >
              > "Dimitri Rakitine" <[email protected]> wrote in message
              > news:[email protected]...
              > > Try it with the latest service pack - load-on-startup in web.xml was not
              > > supported until sp8 or so.
              > >
              > > JohnNorton <[email protected]> wrote:
              > > > I am trying to run multiple webapps off of the same weblogic5.1
              > instance.
              > > > I have setup the webapps and they work individually, but I need one
              > servlet
              > > > to load at startup.
              > > > I have only been able to do that by including it by name in
              > > > weblogic.properties
              > >
              > > > --------------
              > > > #webApp named
              > > > weblogic.httpd.webApp.demand=d:/stat_forecast/
              > >
              > > > #register servlet so it runs on startup
              > > > weblogic.httpd.register.AppInitServlet=com.ai.servlets.AppInitServlet
              > > >
              >
              weblogic.httpd.initArgs.AppInitServlet=AppConfigFilename=d:/stat_forecast/pr
              > > > operties/forecast.properties
              > > >
              >
              weblogic.system.startupClass.aiservlet=weblogic.servlet.utils.ServletStartup
              > > > weblogic.system.startupArgs.aiservlet=servlet=AppInitServlet
              > > > ---------------
              > > > This works until I try to add another instance of AppInitServlet for a
              > > > different webApp
              > > > #webApp named
              > > > weblogic.httpd.webApp.supply=d:/supply/
              > >
              > > > #register servlet so it runs on startup
              > > > weblogic.httpd.register.AppInitServletS=com.ai.servlets.AppInitServlet
              > > >
              >
              weblogic.httpd.initArgs.AppInitServletS=AppConfigFilename=d:/supply/supply.p
              > > > roperties
              > > >
              >
              weblogic.system.startupClass.aiservletS=weblogic.servlet.utils.ServletStartu
              > > > p
              > > > weblogic.system.startupArgs.aiservletS=servlet=AppInitServletS
              > >
              > >
              > > > The servlet does not run a second time.
              > > > Is there a way to move the AppInitservlet to inside the webApp and
              maybe
              > use
              > > > the web.xml to start each one individually?
              > > > Thank you for any insight
              > >
              > > > John Norton
              > > > Indent Inc
              > > > --
              > > > *************************************************
              > > > John Norton
              > > > Indent Inc.
              > > > (Innovative decision technologies, inc.)
              > > > [email protected]
              > >
              > > > *************************************************
              > >
              > >
              > >
              > >
              > > --
              > > Dimitri
              >
              >
              >
              

  • Sometimes my computer takes too long to connect to new website. I am running a pretty powerful work program at same time, what is the best solution? Upgrading speed from cable network, is it a hard drive issue? do I need to "clean out" the computer?

    Many times my computer takes too long to connect to new website. I have wireless internet (time capsule) and I am running a pretty powerful real time financial work program at same time, what is the best solution? Upgrading speed from cable network? is it a hard drive issue? do I only need to "clean out" the computer? Or all of the above...not to computer saavy.  It is a Macbook Pro  osx 10.6.8 (late 2010).

    Almost certainly none of the above!  Try each of the following in this order:
    Select 'Reset Safari' from the Safari menu.
    Close down Safari;  move <home>/Library/Caches/com.apple.Safari/Cache.db to the trash; restart Safari.
    Change the DNS servers in your network settings to use the OpenDNS servers: 208.67.222.222 and 208.67.220.220
    Turn off DNS pre-fetching by entering the following command in Terminal and restarting Safari:
              defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false

  • Running multiple instances on same machine

    I need to run multiple instances of BEA WLS on a unix machine. I need 4 separate instances (dev and test for two different departments) on one machine and two production instances on another machine. What is the best way to go about separating these (ex. an account or directory structure for each)?
    Thanks,
    Roger ---|-

    Dev/Test:
    Give each one its own domain name - i.e. a separate directory under config. This
    works well.
    Production:
    Do the same, but to keep licensing costs down, I'd be inclined to run everything
    on a single instance.
    simon.
    Roger Cornejo wrote:
    I need to run multiple instances of BEA WLS on a unix machine. I need4 separate instances (dev and test for two different departments) on
    one machine and two production instances on another machine. What is
    the best way to go about separating these (ex. an account or directory
    structure for each)?
    Thanks,
    Roger ---|-

  • Running multiple instances from same oracle home

    Hi Gurus,
    I am preparing for OCA 11g examination. I had a question about running multiple instances from same oracle home. While reading the book I came across a statement about database control which says "If there are several database instances running off the same Oracle home, then each will have its own Database Control instance".
    Now I assume that this statement implies multiple instances accessing the same physical database (which as per my knowledge can happen only in case of a RAC).
    I am not able to understand how exactly can you have multiple database instances in a single oracle home. I have installed Oracle 11g on my computer whose oracle home is +"D:\oracle\product\10.2.0\db_1"+; now this directory houses all the binaries (executables and folders like admin,bin, etc) for the oracle instance that I have installed (the instance name is ocp1). Now if I am to install or create another Oracle Instance (say ocp2) in the same home, wont there be a conflict of binaries of the two instances in the same home ?
    Basically,it makes sense if db_1 folder is further split into multiple folders, one for each instance (for example, one for ocp1 & one for ocp2); each of these folders will then contain the binary files, libraries,etc for its own instance; but, this is not the case, here db_1 houses all the binaries directly under it ...
    The other question which stems from the statement I mentioned above is that if having multiple instances running from same oracle home accessing the same physical database, can this arrangement be called RAC at all; or does RAC dictate that you cannot have multiple instances that are accessing the same database have to be installed on physically separate machines and so you cannot have two RAC instances (accessing same physical database) installed on the same computer ??
    I hope my questions are not too much confusing ... !!
    Cheers,
    Sudripta

    Hello,
    "If there are several database instances running off the same Oracle home, then each will have its own Database Control instance".This is true, and also means each instance will have its separate database (i.e. dbf files etc.) & separate DB Control. Usually in this case you create several instances on the same node.
    Now I assume that this statement implies multiple instances accessing the same physical database (which as per my knowledge can happen only in case of a RAC).You are correct about RAC where several instances (usually running on separate nodes) access the RAC.
    More info:
    1 Oracle Home - 1 Database - 1 SID is possible.
    1 Oracle Home - Many Databases - Many SID is possible.
    1 Oracle HOme - 1 Database - Multiple SID is possible and this is called RAC.

  • Multiple instances spawned after daylight savings time change

    This is a known issue and there is an SAP Knowledge Base Article created on this issue:
    1448881 - Multiple instances spawned after daylight savings time change
    Below is the information from the SAP Knowledge Base Article:
    Symptom
    Scheduled reports that are supposed to run once a day, run multiple times.
    Duplicate instances are being created.
    Environment
    BusinessObjects Enterprise XIR2 SP5
    BusinessObjects Enterprise XIR2 SP5 + FP5.x
    Reproducing the Issue
    A report is scheduled to be run on a daily basis - this is a Recurring schedule.
    Normally the report runs once a day, at a particular time.
    After Daylight Savings Time change, the report runs at the specified time, but immediately after the successful instance, another instance is spawned.
    Many more instances spawn after each instance completes.
    Cause
    This is a known issue: ADAPT01318487. This issue is because of DST and how our code handles this change.
    Resolution
    There is currently no known fix for this issue. There is however a script that can quickly resolve the problem.
    The issue it seems is related to Daily recurring schedules.
    What this script will do:
    it will run a query to display all your DAILY Recurring jobs
    you will have the option to choose your jobs and reschedule them by 1 hour
    you will then highlight the same job and change them back by 1 hour
    by modifying the schedule times, you are modifying the schedule itself and this will keep the issue of duplicate instances from occurring.
    Exact Steps to Complete:
    Stop the Job Servers.
    Double click on the .hta file.
    Change the System Name to that of your CMS name.
    Add the Administrator's password.
    Click Logon.
    Click List All Recurring Instances.
    Select All.
    Make note of what it says in: Schedule Selected Recurring Instances: Should be 1 hr earlier.
    Click Reschedule Selected Recurring Instances.
    Choose All instances again and change Schedule Selected Recurring Instances to 1 hour Later.
    Click Reschedule Selected Recurring Instances.
    Now start your Job Servers.
    The issue should not occur again.
    The Script is attached here, but please review the SAP Knowledge Base article 1448881 as well

    Hi Nicola,
    - The multiple spawned instances issue ONLY affects XI3 SP3+ only.  For XI3 SP1 and SP2 all Fix Pack levels this is not an issue as it was introduced as a problem in SP3.
    - 1568239 notes the Java version and can apply to all O/S environments and is updated to reflect that.
    If you are located in Europe you can also apply the patches in advance of the DST change to avoid the problem.  If you are in Americas at this point utilizing the clean up scripts for this year is the approach needed to clean up the spawned instances and reschedule the existing schedules.
    Thanks,
    Chris

Maybe you are looking for

  • Problem with mySQL and Java

    I have a quite annoying problem.....! I use the getText() method to extract characters from a textfield pass them as a string and then using an INSERT store them in the database. When i am entering in the textfield something like the word - Java - ev

  • Configuring both logical and physical standby databases.

    Hi, I am trying to set up one primary and two standby databases which are physical and logical. together. What I am wondering is if i tis posiible to set both log_archive_dest_n parameters in init.ora of primary db to 'LGWR ASYNC'.. I tried to do tha

  • Answer Yes/No - has anyone managed to use LoaderMax successfully?

    Just a Yes or a No would help me out here! But for more of the story... We've built an AIR for Android app that loads external SWFs into the app. This works beautifully. We're now currently trying to do the same for iPhone, but it is an exercise in s

  • Apps will not launch

    My phone would not turn on and was sitting at the apple screen for about 20 min. I finally plugged it in and it turned on, but now none of my applications will launch except the ones that were on the phone when purchased. I am also receiving a very p

  • Not able to download OBIEE software

    Hi Guys, I am not able to download the OBIEE(V10.1.3.4.1) for windows from the oracle website as i am getting an error message stating source file cannot be read. Any suggestions or alternative on how to get the exe file. Or else, if anybody already