ABOUT "connecttion lifetime" and "clean thread"
Hi expert, can you explain what "connection lifetime" and "clean thread" mean in JDBC Connector service to me ?thanks
Hi Justin,
Though I am no developer, here's what I found:
The JDBC Connector Service is a resource adapter based on the Java Database Connectivity (JDBC) standard to enable you to connect to databases. It creates, manages, and stores in a pool the DataSource objects that are used to obtain physical connections to a database.
Next comes a document type definition (DTD) which is used for producing XML files for the creation of DataSource objects. What you asked are elements used to define this DTD. Explanation is:
1. ELEMENT expiration-control (connection-lifetime, run-cleanup-thread)
Connection-lifetime element specifies a period in seconds, after which the connection expires.
Used in: expiration-control
2. ELEMENT run-cleanup-thread (#PCDATA)
Isolation-level element determines a transaction isolation level for the DataSource object. If you do not specify the isolation level, the system uses the default isolation level of the used database.
Used in: data-source
ELEMENT isolation-level (#PCDATA)
Sql-engine element defines what type of connection the system should return.
Valid values:
Open_SQL u2013 the system returns a DBI CommonConnection
Native_SQL u2013 the system returns a DBI DirectConnection
Vendor_SQL u2013 the system returns a standard connection from JDBC driver (not using DBI at all)
Used in: data-source
Please follow Link: [http://help.sap.com/saphelp_nw2004s/helpdata/en/64/0bee3da7138e5be10000000a114084/frameset.htm]
Please reward points if that helped.
regards, Sean.
Similar Messages
-
A problem about event-driven and multi-thread ( maybe?)
I am thinking of doing a piece of small software. I am going to write a server, storing some dynamic information. and each client (surely in different threads) has a JList, which is supposed to update itself with server, such as adding an item, etc.
a straightforward example is an IM software, each client stores a list of online buddies, and if a new client logs in, many other clients have to update the buddies list.
What is a good approach of doing that? I am thinking of adding a public method, addItem() into the thread handler, which adds a new item into the JList. but is it a good design to have a public method other than "run()" in the thread handler?
Or do I have to define a new event of new item needed to be added?
Thanks.Actually I am just asking for how to design a good communication between the server and the client...
so just as a client A logging in, the server knows that the client A has logged in, and A,B are friends, B's friend lists should be updated, which means adding A to that list. so I am thinking have a addItem() method in the thread handler of B, so I can call ThreadHandlerB.addItem( A ) in the code of the server, since server knows that A has logged in.
or is there any good approach? And most importantly, is it a safe way to have a public method in the thread handler?
Thanks so much! -
Expiration and Clean up thread - MDM connector - Visual administrator
Hi Experts!
I need some suggestion from the Visual administrator - MDM connector.
We have the default setting for maximum connections, clean up thread time and the expiration set.
As of now, clean up thread value is 300 seconds. and Expiration value is set too. But we could see, as the days goes, the number of connections in the 'UsedManagedSessionsCount' is increasing. I feel the expiration is not working.
Could you kindly suggest, how to ensure the expiration and clean up thread is working?
Thanks,
SKHello,
1) Connections are used quite a long time (this depends on how
applications using the datasource is implemented, or how long it keeps
the connections referenced). In this case the solution will be to:
1.1) Increase the pool size: Maximum Connections Number. The optimal
value for this as a rule of thumb is: the max connections with which the
backend (Database) performs best divided to number of servers in the
cluster.
1.2) Increase the Maximum time to wait for connection - so the
resource system of J2EE Engine will wait for freed connection longer
before throwing the exception. However, from end user viepoint, this
will lower the performance. But it's better than failure.
1.3) Enable expiration - set Connection Lifetime to 300 (5 minutes) -
this means that after it is returned to the pool if not referred again
within 5 minutes it is destroyed. Also set the automatic cleanup thread
interval to 180 (3 minutes) - each 3 minutes a thread will be run to
detect idle connections.
regards,
John Feely -
I have several times tried to stop following a thread in the PDF's forum about security issues and i still keep getting flooded with emails from this thread. I used the action within the thread that says stop following but appears to have no effect I still keep getting from 5 to 20 emails daily. Please help!!!!!!!
This may be helpful: How do I disable email notifications?
-
Got an error message that said "start up disk full". On reboot, only got a blue screen. Can move mouse around and shutdown but that is it. Firewired it to another mac and cleaned off about 2 gigs of space. Still on reboot only getting blue screen. ???
Startup in Safe Mode.
http://support.apple.com/kb/PH11212?viewlocale=en_US -
How to get the cleaner thread to run
Hi,
I googled documentation/ previous posts, but the topic about getting the log files cleaned is still unclear to me.
I have created around 24000 records and then deleted all of them ( ie., there is'nt even a single active record in the database). However, the folder size (around 35MB) just wont go down. Google pointed out that this should be taken care of by cleaner thread.
I have'nt written any code/properties specific to cleaner thread, nor any other properties to do with diskspace etc. So I assume everything is default.
Would this be run automatically ( assuming even a single record is'nt actually active) or do I need to do something to actually reclaim the diskspace?
There is limited disk space on this folder for me and I expected the delete to actually delete and make the disk space available immediately (or soon after).
Any help is greatly appreciated.
Thanks.Cleaning and checkpointing occur in background, asynchronously, and are driven by writes to the log.
In your test, you insert a bunch of records, then delete them all, then stop. Who knows whether log cleaning and a checkpoint happened to occur after you did the deletions. Probably not. You need to keep the app running and writing data.
Please do this test: Alternate insertions, then deletions, then insertions, then deletions, etc. Keep this running. You'll see the cleaner deleting the old files.
--mark -
How do I fully and cleanly uninstall unwanted apps?
Have recently swapped from a Windows machine to a brand new and customised iMac. I've therefore had to accept that the OS is Mavericks and that pre-loaded on the machine are iPhoto and the iWork suite. I now wish to remove, if permitted, the following of these from the machine:
iPhoto
Keynote
Numbers
Games
How can I do this fully and cleanly? I gather that you can do a 'shake' test for an app you want to delete from the machine and, if it's permitted to remove the app, you then drag its icon on to the Trash. But as I understand it this doesn't necessarily remove other extraneous files associated with the app. So, how do I discover what those are, where they're located, and what exactly to do with them?
Incidentally, of the iWork suite I've decided to keep Pages.
I'm a little concerned that perhaps uninstalling these apps might remove some files that are shared with other apps on the machine, including functions built into the operating system. Will that conceivably happen? Is iPhoto, for example, required to display images in Apple Mail, and is it also required for me to be able to import RAW and other images from a camera using direct drag 'n drop (into a folder of my own choosing)? And what about Preview? Will that get removed along with iPhoto?
I only do serious work on my computer, and I want to keep this machine's contents lean and clean.Barney and Tony,
Not sure if this reply will appear in the correct sequence in the discussion thread but I've had a look at those folders and files you mentioned, Barney. There was nothing in most of them. Library/Extensions exists as System/Library on my setup but I saw nothing in it pertaining to any of the three apps concerned.
In <System>/Applications/Numbers/Contents I found such cryptic folders as:
_Code Signature
_MAS Receipt
info.plist
MAC OS
Pkg info
etc
but, again, looking in these folders yielded nothing that appeared remotely associated with any of the three apps. In searches like this you can get right down to the very coding level if you wish, it seems. However, unless you're familiar with the coding you've no idea as to what these functions are, or how they interact with other apps and processes. And I'm certainly not.
One thing I did come across, however, happened when I was looking at one of the more hidden-away user functions of the Apple Mail client and I noticed that apps such as iPhoto and PhotoBooth are involved in importing images into the client. That being so, it might be better for me not to remove iPhoto, since I use and rely on Apple Mail quite a lot.
All in all, it's difficult for me to make an informed judgement on this. Possibly, Apple's now organised the uninstall of certain apps in a much fuller and cleaner way than before and so perhaps all I'd need to do, in reality, is to perform the 'wiggle' uninstall. But I just don't know. And there's always the danger that removing what are now some quite embedded apps could cause some other related app or utility to not function properly from hereon. So, in the end, I might have to just concede that I'm stuck with these apps.
Possibly, the only way of ridding my machine of them is for me to perform at a later date a major cleanup, completely wiping the HD, and reinstalling Mavericks from scratch.
If only Apple had never installed those apps in the first place! Why on earth did they have to be compulsory?! So much for Apple and their products being user-friendly! I'm disappointed in Apple over this. -
Cleaner thread pegging cpu ?
Hi All,
I have an application that uses JE. After several restarts and with db around 10G in size, cpu runs high when I open the db. Repeated thread dump points me to cleaner thread:
At Time 1 :
"Cleaner-1" daemon prio=6 tid=0x0352e400 nid=0x1654 runnable [0x03adf000]
java.lang.Thread.State: RUNNABLE
at java.io.RandomAccessFile.readBytes(Native Method)
at java.io.RandomAccessFile.read(Unknown Source)
at com.sleepycat.je.log.FileManager.readFromFileInternal(FileManager.jav
a:1456)
At Time 2:
"Cleaner-1" daemon prio=6 tid=0x0352e400 nid=0x1654 runnable [0x03adf000]
java.lang.Thread.State: RUNNABLE
at java.io.RandomAccessFile.readBytes(Native Method)
at java.io.RandomAccessFile.read(Unknown Source)
at com.sleepycat.je.log.FileManager.readFromFileInternal(FileManager.jav
a:1456)
- locked <0x170f0778> (a java.io.RandomAccessFile)
at com.sleepycat.je.log.FileManager.readFromFile(FileManager.java:1377)
at com.sleepycat.je.log.FileReader.fillReadBuffer(FileReader.java:786)
at com.sleepycat.je.log.FileReader.readData(FileReader.java:661)
at com.sleepycat.je.log.FileReader.readNextEntry(FileReader.java:297)
at com.sleepycat.je.cleaner.FileProcessor.processFile(FileProcessor.java
:384)
at com.sleepycat.je.cleaner.FileProcessor.doClean(FileProcessor.java:232
- locked <0x15281a78> (a com.sleepycat.je.cleaner.FileProcessor)
at com.sleepycat.je.cleaner.FileProcessor.onWakeup(FileProcessor.java:13
7)
at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:140)
at java.lang.Thread.run(Unknown Source)
Any thoughts on whats causing this ?
Thanks, Regards
VissuThanks for your response. We have 3 BDB stores. Stats from all three at two different time periods are posted below:
At Time 1:
------------------ DB NAME store1 BDB STATS START ---------------------
Compression stats
splitBins=0
dbClosedBins=0
cursorsBins=0
nonEmptyBins=0
processedBins=0
inCompQueueSize=0
Eviction stats
nEvictPasses=192
nNodesSelected=7,257
nNodesScanned=72,984
nNodesExplicitlyEvicted=4,054
nRootNodesEvicted=1
nBINsStripped=3,202
requiredEvictBytes=544,584
Checkpoint stats
nCheckpoints=3
lastCheckpointId=1,071
nFullINFlush=54
nFullBINFlush=2
nDeltaINFlush=10,869
lastCheckpointStart=0x18/0x3e8b1e6f
lastCheckpointEnd=0x18/0x3ea6cbf3
endOfLog=0x18/0x3ea6cbf3
Cleaner stats
cleanerBacklog=6
nCleanerRuns=1
nCleanerDeletions=0
nINsObsolete=0
nINsCleaned=0
nINsDead=0
nINsMigrated=0
nLNsObsolete=0
nLNsCleaned=0
nLNsDead=0
nLNsLocked=0
nLNsMigrated=25,370
nLNsMarked=0
nLNQueueHits=0
nPendingLNsProcessed=0
nMarkedLNsProcessed=25,329
nToBeCleanedLNsProcessed=41
nClusterLNsProcessed=0
nPendingLNsLocked=0
nCleanerEntriesRead=139,424
Cache stats
nNotResident=23,045
nCacheMiss=22,740
nLogBuffers=3
bufferBytes=3,145,728
dataBytes=100,772,127
adminBytes=424,471
lockBytes=240
cacheTotalBytes=104,342,566
sharedCacheTotalBytes=0
nSharedCacheEnvironments=0
IO Stats
nRandomReads=14,557
nRandomWrites=75
nSequentialReads=72,336
nSequentialWrites=0
nRandomReadBytes=32,032,768
nRandomWriteBytes=75,582,820
nSequentialReadBytes=2,329,355,350
nSequentialWriteBytes=0
Logging stats
nFSyncs=3
nFSyncRequests=3
nFSyncTimeouts=0
nRepeatFaultReads=7,537
nTempBufferWrite=0
nRepeatIteratorReads=0
nFileOpens=13
nOpenFiles=4
totalLogSize=9,640,994,599
------------------ DB NAME store1 BDB STATS END ---------------------
------------------ DB NAME store2 BDB STATS START ---------------------
Compression stats
splitBins=0
dbClosedBins=0
cursorsBins=0
nonEmptyBins=0
processedBins=0
inCompQueueSize=0
Eviction stats
nEvictPasses=250
nNodesSelected=9,918
nNodesScanned=99,748
nNodesExplicitlyEvicted=5,265
nRootNodesEvicted=1
nBINsStripped=4,652
requiredEvictBytes=553,226
Checkpoint stats
nCheckpoints=4
lastCheckpointId=1,072
nFullINFlush=54
nFullBINFlush=2
nDeltaINFlush=13,069
lastCheckpointStart=0x18/0x3e8b1e6f
lastCheckpointEnd=0x18/0x3ea6cbf3
endOfLog=0x19/0x26
Cleaner stats
cleanerBacklog=6
nCleanerRuns=1
nCleanerDeletions=0
nINsObsolete=0
nINsCleaned=0
nINsDead=0
nINsMigrated=0
nLNsObsolete=0
nLNsCleaned=0
nLNsDead=0
nLNsLocked=0
nLNsMigrated=29,285
nLNsMarked=0
nLNQueueHits=0
nPendingLNsProcessed=0
nMarkedLNsProcessed=29,244
nToBeCleanedLNsProcessed=41
nClusterLNsProcessed=0
nPendingLNsLocked=0
nCleanerEntriesRead=145,740
Cache stats
nNotResident=27,487
nCacheMiss=27,101
nLogBuffers=3
bufferBytes=3,145,728
dataBytes=100,581,101
adminBytes=688,215
lockBytes=240
cacheTotalBytes=104,415,284
sharedCacheTotalBytes=0
nSharedCacheEnvironments=0
IO Stats
nRandomReads=16,864
nRandomWrites=97
nSequentialReads=75,976
nSequentialWrites=0
nRandomReadBytes=37,252,096
nRandomWriteBytes=98,205,476
nSequentialReadBytes=2,364,861,517
nSequentialWriteBytes=0
Logging stats
nFSyncs=3
nFSyncRequests=3
nFSyncTimeouts=0
nRepeatFaultReads=8,666
nTempBufferWrite=0
nRepeatIteratorReads=0
nFileOpens=13
nOpenFiles=4
totalLogSize=9,663,617,794
------------------ DB NAME store2 BDB STATS END ---------------------
------------------ DB NAME store3 BDB STATS START ---------------------
Compression stats
splitBins=0
dbClosedBins=0
cursorsBins=0
nonEmptyBins=0
processedBins=0
inCompQueueSize=0
Eviction stats
nEvictPasses=250
nNodesSelected=9,918
nNodesScanned=99,748
nNodesExplicitlyEvicted=5,265
nRootNodesEvicted=1
nBINsStripped=4,652
requiredEvictBytes=553,226
Checkpoint stats
nCheckpoints=4
lastCheckpointId=1,072
nFullINFlush=72
nFullBINFlush=2
nDeltaINFlush=14,561
lastCheckpointStart=0x18/0x3fe81963
lastCheckpointEnd=0x19/0xa8c83
endOfLog=0x19/0xa8c83
Cleaner stats
cleanerBacklog=6
nCleanerRuns=1
nCleanerDeletions=0
nINsObsolete=0
nINsCleaned=0
nINsDead=0
nINsMigrated=0
nLNsObsolete=0
nLNsCleaned=0
nLNsDead=0
nLNsLocked=0
nLNsMigrated=31,084
nLNsMarked=0
nLNQueueHits=0
nPendingLNsProcessed=0
nMarkedLNsProcessed=31,043
nToBeCleanedLNsProcessed=41
nClusterLNsProcessed=0
nPendingLNsLocked=0
nCleanerEntriesRead=146,431
Cache stats
nNotResident=27,491
nCacheMiss=27,105
nLogBuffers=3
bufferBytes=3,145,728
dataBytes=100,601,879
adminBytes=449,652
lockBytes=240
cacheTotalBytes=104,197,499
sharedCacheTotalBytes=0
nSharedCacheEnvironments=0
IO Stats
nRandomReads=16,872
nRandomWrites=98
nSequentialReads=76,459
nSequentialWrites=1
nRandomReadBytes=37,339,136
nRandomWriteBytes=98,205,514
nSequentialReadBytes=2,377,213,763
nSequentialWriteBytes=691,356
Logging stats
nFSyncs=4
nFSyncRequests=4
nFSyncTimeouts=0
nRepeatFaultReads=8,667
nTempBufferWrite=0
nRepeatIteratorReads=0
nFileOpens=15
nOpenFiles=4
totalLogSize=9,664,308,611
------------------ DB NAME store3 BDB STATS END ---------------------
At Time 2:
------------------ DB NAME store1 BDB STATS START ---------------------
Compression stats
splitBins=0
dbClosedBins=0
cursorsBins=0
nonEmptyBins=0
processedBins=0
inCompQueueSize=0
Eviction stats
nEvictPasses=1,211
nNodesSelected=51,452
nNodesScanned=517,594
nNodesExplicitlyEvicted=25,454
nRootNodesEvicted=2
nBINsStripped=25,996
requiredEvictBytes=542,075
Checkpoint stats
nCheckpoints=19
lastCheckpointId=1,087
nFullINFlush=633
nFullBINFlush=284
nDeltaINFlush=69,089
lastCheckpointStart=0x19/0x169d56ee
lastCheckpointEnd=0x19/0x16c8999f
endOfLog=0x19/0x171e57d2
Cleaner stats
cleanerBacklog=6
nCleanerRuns=1
nCleanerDeletions=0
nINsObsolete=0
nINsCleaned=0
nINsDead=0
nINsMigrated=0
nLNsObsolete=0
nLNsCleaned=0
nLNsDead=0
nLNsLocked=0
nLNsMigrated=113,048
nLNsMarked=0
nLNQueueHits=0
nPendingLNsProcessed=0
nMarkedLNsProcessed=113,007
nToBeCleanedLNsProcessed=41
nClusterLNsProcessed=0
nPendingLNsLocked=0
nCleanerEntriesRead=252,418
Cache stats
nNotResident=95,125
nCacheMiss=93,645
nLogBuffers=3
bufferBytes=3,145,728
dataBytes=100,409,969
adminBytes=820,596
lockBytes=240
cacheTotalBytes=104,376,533
sharedCacheTotalBytes=0
nSharedCacheEnvironments=0
IO Stats
nRandomReads=51,953
nRandomWrites=477
nSequentialReads=136,332
nSequentialWrites=2
nRandomReadBytes=136,701,952
nRandomWriteBytes=484,828,017
nSequentialReadBytes=3,166,856,255
nSequentialWriteBytes=828,678
Logging stats
nFSyncs=19
nFSyncRequests=19
nFSyncTimeouts=0
nRepeatFaultReads=27,760
nTempBufferWrite=0
nRepeatIteratorReads=0
nFileOpens=16
nOpenFiles=5
totalLogSize=10,051,494,660
------------------ DB NAME store1 BDB STATS END ---------------------
------------------ DB NAME store2 BDB STATS START ---------------------
Compression stats
splitBins=0
dbClosedBins=0
cursorsBins=0
nonEmptyBins=0
processedBins=0
inCompQueueSize=0
Eviction stats
nEvictPasses=1,484
nNodesSelected=64,150
nNodesScanned=645,302
nNodesExplicitlyEvicted=31,175
nRootNodesEvicted=3
nBINsStripped=32,971
requiredEvictBytes=545,715
Checkpoint stats
nCheckpoints=23
lastCheckpointId=1,091
nFullINFlush=786
nFullBINFlush=369
nDeltaINFlush=83,587
lastCheckpointStart=0x19/0x1c867553
lastCheckpointEnd=0x19/0x1cbf4c23
endOfLog=0x19/0x1da9a82d
Cleaner stats
cleanerBacklog=6
nCleanerRuns=1
nCleanerDeletions=0
nINsObsolete=0
nINsCleaned=0
nINsDead=0
nINsMigrated=0
nLNsObsolete=0
nLNsCleaned=0
nLNsDead=0
nLNsLocked=0
nLNsMigrated=137,251
nLNsMarked=0
nLNQueueHits=0
nPendingLNsProcessed=0
nMarkedLNsProcessed=137,210
nToBeCleanedLNsProcessed=41
nClusterLNsProcessed=0
nPendingLNsLocked=0
nCleanerEntriesRead=284,941
Cache stats
nNotResident=115,933
nCacheMiss=114,144
nLogBuffers=3
bufferBytes=3,145,728
dataBytes=100,332,651
adminBytes=929,276
lockBytes=240
cacheTotalBytes=104,407,895
sharedCacheTotalBytes=0
nSharedCacheEnvironments=0
IO Stats
nRandomReads=62,928
nRandomWrites=584
nSequentialReads=151,506
nSequentialWrites=2
nRandomReadBytes=183,549,952
nRandomWriteBytes=594,201,681
nSequentialReadBytes=3,364,667,387
nSequentialWriteBytes=828,678
Logging stats
nFSyncs=23
nFSyncRequests=23
nFSyncTimeouts=0
nRepeatFaultReads=33,167
nTempBufferWrite=0
nRepeatIteratorReads=0
nFileOpens=16
nOpenFiles=5
totalLogSize=10,161,297,881
------------------ DB NAME store2 BDB STATS END ---------------------
------------------ DB NAME store3 BDB STATS START ---------------------
Compression stats
splitBins=0
dbClosedBins=0
cursorsBins=0
nonEmptyBins=0
processedBins=0
inCompQueueSize=0
Eviction stats
nEvictPasses=1,505
nNodesSelected=65,097
nNodesScanned=654,826
nNodesExplicitlyEvicted=31,615
nRootNodesEvicted=3
nBINsStripped=33,478
requiredEvictBytes=529,755
Checkpoint stats
nCheckpoints=24
lastCheckpointId=1,092
nFullINFlush=809
nFullBINFlush=375
nDeltaINFlush=87,260
lastCheckpointStart=0x19/0x1e00e932
lastCheckpointEnd=0x19/0x1e335c8d
endOfLog=0x19/0x1e3e8bae
Cleaner stats
cleanerBacklog=6
nCleanerRuns=1
nCleanerDeletions=0
nINsObsolete=0
nINsCleaned=0
nINsDead=0
nINsMigrated=0
nLNsObsolete=0
nLNsCleaned=0
nLNsDead=0
nLNsLocked=0
nLNsMigrated=143,591
nLNsMarked=0
nLNQueueHits=0
nPendingLNsProcessed=0
nMarkedLNsProcessed=143,550
nToBeCleanedLNsProcessed=41
nClusterLNsProcessed=0
nPendingLNsLocked=0
nCleanerEntriesRead=288,443
Cache stats
nNotResident=117,507
nCacheMiss=115,697
nLogBuffers=3
bufferBytes=3,145,728
dataBytes=100,356,995
adminBytes=953,476
lockBytes=240
cacheTotalBytes=104,456,439
sharedCacheTotalBytes=0
nSharedCacheEnvironments=0
IO Stats
nRandomReads=63,792
nRandomWrites=594
nSequentialReads=152,665
nSequentialWrites=2
nRandomReadBytes=190,541,824
nRandomWriteBytes=604,059,370
nSequentialReadBytes=3,390,746,461
nSequentialWriteBytes=828,678
Logging stats
nFSyncs=24
nFSyncRequests=24
nFSyncTimeouts=0
nRepeatFaultReads=33,586
nTempBufferWrite=0
nRepeatIteratorReads=0
nFileOpens=16
nOpenFiles=5
totalLogSize=10,171,054,372
------------------ DB NAME store3 BDB STATS END ---------------------
Thread dumps show cleaner doing different things but mostly working with files.
Of all the threads from thread dump, Cleaner is the only one is runnable state - dont know what it is trying to do but CPU is high (dual core machine and one core is almost at 90%).
At time 3 (thread dump shows cleaner thread again)
"Cleaner-1" daemon prio=6 tid=0x03137800 nid=0x153c runnable [0x03adf000]
java.lang.Thread.State: RUNNABLE
at java.util.zip.Adler32.updateBytes(Native Method)
at java.util.zip.Adler32.update(Unknown Source)
at com.sleepycat.je.log.ChecksumValidator.update(ChecksumValidator.java:
61)
at com.sleepycat.je.log.FileReader.validateChecksum(FileReader.java:589)
at com.sleepycat.je.log.FileReader.readNextEntry(FileReader.java:314)
at com.sleepycat.je.cleaner.FileProcessor.processFile(FileProcessor.java
:384)
at com.sleepycat.je.cleaner.FileProcessor.doClean(FileProcessor.java:232
- locked <0x1542f998> (a com.sleepycat.je.cleaner.FileProcessor)
at com.sleepycat.je.cleaner.FileProcessor.onWakeup(FileProcessor.java:13
7)
at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:140)
at java.lang.Thread.run(Unknown Source)
At time 4
"Cleaner-1" daemon prio=6 tid=0x03137800 nid=0x153c runnable [0x03adf000]
java.lang.Thread.State: RUNNABLE
at java.io.RandomAccessFile.readBytes(Native Method)
at java.io.RandomAccessFile.read(Unknown Source)
at com.sleepycat.je.log.FileManager.readFromFileInternal(FileManager.jav
a:1456)
- locked <0x1a201ca8> (a java.io.RandomAccessFile)
at com.sleepycat.je.log.FileManager.readFromFile(FileManager.java:1377)
at com.sleepycat.je.log.FileReader.fillReadBuffer(FileReader.java:786)
at com.sleepycat.je.log.FileReader.readData(FileReader.java:661)
at com.sleepycat.je.log.FileReader.readNextEntry(FileReader.java:297)
at com.sleepycat.je.cleaner.FileProcessor.processFile(FileProcessor.java
:384)
at com.sleepycat.je.cleaner.FileProcessor.doClean(FileProcessor.java:232
- locked <0x1528be68> (a com.sleepycat.je.cleaner.FileProcessor)
at com.sleepycat.je.cleaner.FileProcessor.onWakeup(FileProcessor.java:13
7)
at com.sleepycat.je.utilint.DaemonThread.run(DaemonThread.java:140)
at java.lang.Thread.run(Unknown Source)
Values have timestamps (nano) and versions + actual value which is about 300 bytes.
JDK = 1.6.04, JE 3.3.62. this experiment was done on XP.
Any help is appreciated.
Regards
Vissu -
Error report on win 8.1 about conhost.exe and werfault.exe
I am not sure exactly what is happening, but I have noticed recently a new problem with CONHOST.EXE and werfault.exe each time I was opened application. and I didn't know exactly about was there have relationship with my brightness control
(increase or decrease) than I can't make any change after first time I have noticed about conhost.exe and werfault.exe. and other problem than my laptop more 'slowly' than before, but the console window will remain open fastly enough. (The host process
exists, but I can see an orphaned CONHOST.EXE for the application in Task Manager.)
I hope someone who sees this knows why this is happening, and can help me fix the problem.
Thanks!Hi,
Here is the details about conhost.exe process:
Windows 7 / Windows Server 2008 R2: Console Host
http://blogs.technet.com/b/askperf/archive/2009/10/05/windows-7-windows-server-2008-r2-console-host.aspx
Same within Windows 8.
The werfault.exe is used for Windows Error Reporting.
You can go to event viewer to check if there are any error messages.
For this kind of issue, you may also try Clean Boot to see if this problem persists.
Alex Zhao
TechNet Community Support -
My Aperture 2.1 has gone into a continual thumbnail mode. I left the computer, a MacBook Pro, run all night, about 12 hours and it is still making thumbnails. I tried reloading Aperture 2.1, but that did not change anything. I have also turned the system off, for a period of time, and then turning it back on, when I click on Aperture, it comes up and locks in the thumbnail mode. I can view my stored pictures, even modify them, but it still says thumbnails.
I got in this mode by trying to import "one jpeg photo", from a scanned slide using a Nikon Scan4 IS5000ED scanner. I had saved the scan to my desktop before I tried to import it.
Please Help, Maurice A Bird at [email protected]
ThanksMy daughter has had her Razr for about 9 months now. About two weeks ago she picked up her phone in the morning on her way to school when she noticed two cracks, both starting at the camera lens. One goes completely to the bottom and the other goes sharply to the side. She has never dropped it and me and my husband went over it with a fine tooth comb. We looked under a magnifying glass and could no find any reason for the glass to crack. Not one ding, scratch or bang. Our daughter really takes good care of her stuff, but we still wanted to make sure before we sent it in for repairs. Well we did and we got a reply from Motorola with a picture of the cracks saying this was customer abuse and that it is not covered under warranty. Even though they did not find any physical damage to back it up. Well I e-mailed them back and told them I did a little research and found pages of people having the same problems. Well I did not hear from them until I received a notice from Fed Ex that they were sending the phone back. NOT FIXED!!! I went to look up why and guess what there is no case open any more for the phone. It has been wiped clean. I put in the RMA # it comes back not found, I put in the ID #, the SN# and all comes back not found. Yet a day earlier all the info was there. I know there is a lot more people like me and all of you, but they just don't want to be bothered so they pay to have it fix, just to have it do it again. Unless they have found the problem and only fixing it on a customer pay only set up. I am furious and will not be recommending this phone to anyone. And to think I was considering this phone for my next up grade! NOT!!!!
-
RE: DBSessions and Single-threading
Thanks Linh. Always good to here from you.
thanks
ka
Kamran Amin
Forte Technical Leader, Core Systems
(203)-459-7362 or 8-204-7362 - Trumbull
[email protected]
From: Linh Pham[SMTP:[email protected]]
Sent: Friday, November 13, 1998 2:51 PM
To: Ajith Kallambella M; [email protected]; ForteUsers;
[email protected]
Subject: RE: DBSessions and Single-threading
all,
This information (technote draft # 11716) is to clear up the confusion
regarding
database access.
Note, Forte reserves the right to change this implementation in the
future.
Currently, there are two flavors of database access available with forte
(as of version 30j1):
1. single-threading access to all databases on all UNIX & VMS platforms
2. multithreading access to all supported database except Sybase on
intel/alpha-NT,
and to a certain extent, limited support with SQLServer (see more
details below)
1. single-threading access:
with this type of access, when the following code is executed
(SQL select ... on MyDBSession;), forte locks the partition and
all EXTERNAL requests will be queued. However, task switching inside
the partition continues until the called task enters the DBVendor's
API (as with any 3GL call). Prior to this moment, you can still have
multiple tasks running inside the partition. As the called task
enters the 3GL, it truly blocks a partition, ie. it's OUT there
talking to the database and not communicating with the
the forte's environment. If the query is long, the partition might not
be
able to acknowledge the environment manager's ping, and thus, will be
deemed NOT reachable, and a new partition will be started (see technote
11147). Another problem arises when you have multiple INTERNAL tasks
trying to perform database access concurrently on the same DBSession.
Since the behavior is unpredictable, we RECOMMEND that you only
have ONE task at any time accessing the DBSession inside a partition.
Please see also technote 7104 for more information regarding DBSession
sharing & blocking.
2. multi-threading access:
on NT, we have added code to allow multithreading access to most
supported
database. What does this mean?
a. when a task access the database, the partition will NOT be blocked.
b. you can have multiple DBSessions inside a partition and allow
concurrent access; however, we still RECOMMEND that you
only have ONE task accessing a DBSession at any one time.
Please consult a Forte consultant or a TSR in reference to technote
11151 (only available internally). Please do NOT call Forte Technical
Support for this technote.
As to SQLServer, the ODBC driver that you use to access the database
will
determine if it's is reentrant or not. There is also a known problem
with
the Microsoft ODBC driver which causes the cursor state to become
invalid when
multiple tasks accessing the same session. Due to these problems, forte
recommends that you single-threading access to SQLServer; otherwise
use at YOUR OWN RISK.
Hope this helps. IF you have questions regarding multithreading access
support
in the future, please contact a Forte Sales Rep or TSR.
linh ...
-----Original Message-----
From: [email protected]
[<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of Ajith Kallambella M
Sent: Friday, November 13, 1998 9:08 AM
To: [email protected]; ForteUsers; [email protected]
Subject: RE: DBSessions and Single-threading
Though, the DBSession partitions can reside on a
thread-safe
OS ( like NT ), the DBSession is still single threaded
and your
partition gets blocked for the duration of the DB
access. Same
is true, even if you have multi-threaded databases.
Forte has not changed DBSession to make it
multi-threaded.
Infact, given the current implementation, the only way
to simulate
concurrent database access is to replicate the
partition which
has DBSession object. The famous DBEntityManagerPattern
does essentially the same.
I think we should all feel happy with this now, and
hope for
something better in 4.0.
Ajith Kallambella. M
Forte Systems Engineer,
International Business Corporation
-----Original Message-----
From: Eric Pereira [<a href=
"mailto:[email protected]">mailto:[email protected]</a>]
Sent: Friday, November 13, 1998 9:54 AM
To: [email protected]
Cc: [email protected]
Subject: RE: DBSessions and Single-threading
Kamran,
That's not entirely correct. Partitions which access
multi-threaded
databases (like MS SQL Server on NT) do not block.
There was some
discussion about this over the User Group a while back
- with no real
conclusion, so perhaps Forte might want to step in and
clarify.
What I'm curious about is the outcome in a situation
where one DB
Session accesses SQL Server and another one talks to a
non
multi-threaded database within the same partition.
Thanks.
Eric Pereira
Forte Consultant
----Original Message Follows----
From: "Amin, Kamran" <[email protected]>
To: [email protected], Peter Kelly
<[email protected]>
Subject: RE: DBSessions and Single-threading
Date: Fri, 13 Nov 1998 07:52:09 -0500
Reply-To: "Amin, Kamran" <[email protected]>
Peter,
If one of the service object is being used the that
partition gets
blocked until it has finished the request to the
dbsession. It will not
mater if the service objects are connected to different
database. Using
a
dbsession makes the partition single threaded and
that's why we use load
balancing. Please look at tech. note 10647 for more
info.
ka
Kamran Amin
Forte Technical Leader, Core Systems
(203)-459-7362 or 8-204-7362 - Trumbull
[email protected]
From: Peter Kelly[SMTP:[email protected]]
Sent: Friday, November 13, 1998 6:27 AM
To: [email protected]
Subject: DBSessions and Single-threading
Does a DBSession executing in a partition cause thatpartition to
become
single-threaded?
Suppose a partition has 2 Service Objects.
Each Service Object has its own unique DBSession.
While a method in one Service Object is using itsDBSession,
do all other threads in that partition halt and thenresume
when the work with the first DBSession is complete.
What if the two DBSessions are connected to differentdatabases,
does this change anything?
I heard rumours that Oracle on NT supportedmulti-tasking and blocking
would not occur. If blocking does occur, is it aForte or Oracle
limitation?
Any input/comments appreciated.
thanks,
Peter
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>>
>>
Get Your Private, Free Email at <a href=
"http://www.hotmail.com">http://www.hotmail.com</a>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>>
>>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>>
>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>Thanks Linh. Always good to here from you.
thanks
ka
Kamran Amin
Forte Technical Leader, Core Systems
(203)-459-7362 or 8-204-7362 - Trumbull
[email protected]
From: Linh Pham[SMTP:[email protected]]
Sent: Friday, November 13, 1998 2:51 PM
To: Ajith Kallambella M; [email protected]; ForteUsers;
[email protected]
Subject: RE: DBSessions and Single-threading
all,
This information (technote draft # 11716) is to clear up the confusion
regarding
database access.
Note, Forte reserves the right to change this implementation in the
future.
Currently, there are two flavors of database access available with forte
(as of version 30j1):
1. single-threading access to all databases on all UNIX & VMS platforms
2. multithreading access to all supported database except Sybase on
intel/alpha-NT,
and to a certain extent, limited support with SQLServer (see more
details below)
1. single-threading access:
with this type of access, when the following code is executed
(SQL select ... on MyDBSession;), forte locks the partition and
all EXTERNAL requests will be queued. However, task switching inside
the partition continues until the called task enters the DBVendor's
API (as with any 3GL call). Prior to this moment, you can still have
multiple tasks running inside the partition. As the called task
enters the 3GL, it truly blocks a partition, ie. it's OUT there
talking to the database and not communicating with the
the forte's environment. If the query is long, the partition might not
be
able to acknowledge the environment manager's ping, and thus, will be
deemed NOT reachable, and a new partition will be started (see technote
11147). Another problem arises when you have multiple INTERNAL tasks
trying to perform database access concurrently on the same DBSession.
Since the behavior is unpredictable, we RECOMMEND that you only
have ONE task at any time accessing the DBSession inside a partition.
Please see also technote 7104 for more information regarding DBSession
sharing & blocking.
2. multi-threading access:
on NT, we have added code to allow multithreading access to most
supported
database. What does this mean?
a. when a task access the database, the partition will NOT be blocked.
b. you can have multiple DBSessions inside a partition and allow
concurrent access; however, we still RECOMMEND that you
only have ONE task accessing a DBSession at any one time.
Please consult a Forte consultant or a TSR in reference to technote
11151 (only available internally). Please do NOT call Forte Technical
Support for this technote.
As to SQLServer, the ODBC driver that you use to access the database
will
determine if it's is reentrant or not. There is also a known problem
with
the Microsoft ODBC driver which causes the cursor state to become
invalid when
multiple tasks accessing the same session. Due to these problems, forte
recommends that you single-threading access to SQLServer; otherwise
use at YOUR OWN RISK.
Hope this helps. IF you have questions regarding multithreading access
support
in the future, please contact a Forte Sales Rep or TSR.
linh ...
-----Original Message-----
From: [email protected]
[<a href="mailto:[email protected]">mailto:[email protected]]On</a> Behalf Of Ajith Kallambella M
Sent: Friday, November 13, 1998 9:08 AM
To: [email protected]; ForteUsers; [email protected]
Subject: RE: DBSessions and Single-threading
Though, the DBSession partitions can reside on a
thread-safe
OS ( like NT ), the DBSession is still single threaded
and your
partition gets blocked for the duration of the DB
access. Same
is true, even if you have multi-threaded databases.
Forte has not changed DBSession to make it
multi-threaded.
Infact, given the current implementation, the only way
to simulate
concurrent database access is to replicate the
partition which
has DBSession object. The famous DBEntityManagerPattern
does essentially the same.
I think we should all feel happy with this now, and
hope for
something better in 4.0.
Ajith Kallambella. M
Forte Systems Engineer,
International Business Corporation
-----Original Message-----
From: Eric Pereira [<a href=
"mailto:[email protected]">mailto:[email protected]</a>]
Sent: Friday, November 13, 1998 9:54 AM
To: [email protected]
Cc: [email protected]
Subject: RE: DBSessions and Single-threading
Kamran,
That's not entirely correct. Partitions which access
multi-threaded
databases (like MS SQL Server on NT) do not block.
There was some
discussion about this over the User Group a while back
- with no real
conclusion, so perhaps Forte might want to step in and
clarify.
What I'm curious about is the outcome in a situation
where one DB
Session accesses SQL Server and another one talks to a
non
multi-threaded database within the same partition.
Thanks.
Eric Pereira
Forte Consultant
----Original Message Follows----
From: "Amin, Kamran" <[email protected]>
To: [email protected], Peter Kelly
<[email protected]>
Subject: RE: DBSessions and Single-threading
Date: Fri, 13 Nov 1998 07:52:09 -0500
Reply-To: "Amin, Kamran" <[email protected]>
Peter,
If one of the service object is being used the that
partition gets
blocked until it has finished the request to the
dbsession. It will not
mater if the service objects are connected to different
database. Using
a
dbsession makes the partition single threaded and
that's why we use load
balancing. Please look at tech. note 10647 for more
info.
ka
Kamran Amin
Forte Technical Leader, Core Systems
(203)-459-7362 or 8-204-7362 - Trumbull
[email protected]
From: Peter Kelly[SMTP:[email protected]]
Sent: Friday, November 13, 1998 6:27 AM
To: [email protected]
Subject: DBSessions and Single-threading
Does a DBSession executing in a partition cause thatpartition to
become
single-threaded?
Suppose a partition has 2 Service Objects.
Each Service Object has its own unique DBSession.
While a method in one Service Object is using itsDBSession,
do all other threads in that partition halt and thenresume
when the work with the first DBSession is complete.
What if the two DBSessions are connected to differentdatabases,
does this change anything?
I heard rumours that Oracle on NT supportedmulti-tasking and blocking
would not occur. If blocking does occur, is it aForte or Oracle
limitation?
Any input/comments appreciated.
thanks,
Peter
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>>
>>
Get Your Private, Free Email at <a href=
"http://www.hotmail.com">http://www.hotmail.com</a>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive
<URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>>
>>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>>
>>
>
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:<a href=
"http://pinehurst.sageit.com/listarchive/">http://pinehurst.sageit.com/listarchive/</a>> -
Intimidating behavior and deleted threads
Hi
I'm fairly new to these discussion boards and have been using it as a means of getting support or direction on either my iPhone3GS or Logic Pro. I've also been using it as a means of personal market research before purchasing an iPhone4 and iPad.
The issues (or none) around the iPhone4 persuaded me for example to cancel my order and stick with the 3GS until it had all settled down, however I'm sticking with the iPad.
What I have found as I've been surfing through the topics is the amount of intimidating or patronising responses that come back from some users (generally those who've got multiple 1000's of posts.....but not all of course)
I've been finding it increasingly more difficult to engage in any discussion because of this intimidating behaviour. It seems there are more than a few that feel they "own" the board or that they have the right to behave like moderators.
This seems to be leading to a number of threads being deleted and I've noticed this on at least 3 threads I've been part of, very anoying because the content has been valid. e.g. an hour ago a thread on Bluetooth functionality on the iPhone has just been removed. We had 2 users send very patronising responses to initial poster when all he was expressing was a wish list (like I did for the lack of Skip tracks functionality)
So I tried to pose a question to see if there was a techncial reason this wasn't implemented and bang the thread was deleted. Not off topic, not offensive, nothing on apple policy... so why?
Sending feedback using the feedback link to Apple is fine, however because it's only one way (i.e. you never get a response) I feel it is only fair for users to ba able to ask the questios to the general community without fear of being slammed by other uses.
personally I think it's healthy to see other users wishes and wants, there are times when others may even have a workaround, but to be dismisive and just say "this is a user to user board, Apple dont read this" every time seems to me to be plain wrong. Others may wish to engage in that discussion, and to me, if you dont then dont comment as if you "own" the board, just move on.
Just my 2 csAndy,
+"It just seems a shame to me that users can't have an open discussion around their hopes and wishes for a product, it seems a rule too far."+
Apple Discussions is almost certainly the best site you will find for help with Apple problems and I think that 'rule too far' gives it a narrow focus which is probably one of the reasons that it is so good. There are other places where people can chew the fat.
+"If people don't want to engage in that then they can move on"+
There is some truth in that but allowing such posts would produce clutter and make browsing forums more difficult (and reduce the narrow focus I referred to). You can also bet that threads would begin to carry some 'comment' mixed in with the technical questions and answers that rightly belong here thereby having their value reduced.
+"if I started a thread saying "What do you think about the iPad?" for example, I run the risk of it being removed or being slammed by people because it's not a technical question, and I find it deeply patronising"+
I don't know what your specific experience has been but I would comment that there are often posts here talking about being slammed (and often mentioning high number posters as being particularly bad in that respect) which on examining the posts in question reveal only a polite reference to Terms of Use. There is, of course, no excuse for pointing that out in a rude or aggressive manner.
As deggie suggests discussions in some forums are a little more - shall we say - robust than in others, but experience in the forums I have frequented in my time here suggests that Apple Discussions provide a remarkably gentle and polite environment. To me that is especially true of the high number posters, most of whom are remarkably helpful and tolerant in my experience. One or two can be a little blunt on occasions but certainly in some cases that is because they are not posting in their native language. Of course what you might detect on occasions from some old-timers is a degree of exasperation due to their seeing Discussions (in which they have invested a lot of time and effort in giving help to others) being weakened and perhaps even threatened by vents, rants, mudslinging and whatever.
I realise that your example question "What do you think about the iPad?" was purely hypothetical but it might nicely serve as an example of a thoroughly bad question which is unlikely to get useful answers. Much better would be something along the lines of "Could I do X, Y and Z with the iPad?", a specific question which would seem to be within ToU and which would get specific answers.
Michael -
I have an iMac model 4,1 running OSX 10.6.8. The CD/DVD drive went bad and I have replaced it. However I can not get disks to eject. I have asked about this before and tried all all the suggestions I have received but I can not eject.
Yesterday I opened up the iMac and reinstalled the drive to make sure that it was not an alignment problem. I still can not eject. When I try to eject the drive makes noises like it is ejecting but the disk does not come out.
How do I solve this problem?Hi again Hal
Link to your other thread > The slot loading CD/DVD drive in my...: Apple Support Communities
You have also tried resetting the PRAM as I suggestion in your other thread...?
See resetting the PRAM > About NVRAM and PRAM
1. Shut down the computer.
2. Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
3. Turn on the computer.
4. Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
5. Hold the keys down until the computer restarts and you hear the startup sound for the second time.
6. Release the keys. -
9.2 and clean HD.
Well, lucky me: I picked up in garage sale $99.00 iMac G3, Graphite version. NO DISKs. And it had 9.1 on it. Also CD burder. Great for kids.
I took advice on this board and picked up an Mac OS 9.2.1 disk (white, with the big gold '9') on it. I sucessfully upgraded to 9.2.1. Next thing, I guess, is get to highest version of 9.2.?? (which I could maybe use some help with if anyone can point me to link here).
BUT MY Q: I could not figure out how to use the 9.2.1 disk to do a complete clean resintall of the HD. Do I need something else? I wish to erase all the prev. owners stuff, and start with a minty fresh and clean HD, with 9.2.X.
how to do??
AND: if I do this, will it include a browser so I can log on? It occured to me, that a totally clean install might leave me with no applications to get on the web!
JonHi, Jon -
Q: I could not figure out how to use the 9.2.1 disk to do a complete clean resintall of the HD. Do I need something else? I wish to erase all the prev. owners stuff, and start with a minty fresh and clean HD, with 9.2.X.
Provided that disk is a full-install disk (there were a few OS 9.2.1 update-only disks shipped with white labels & gold 9 - as I recall, those came with one of the early retail OSX packages, perhaps OSX 10.1) you should be able to do that.
The full-install retail OS 9.2.1 Install CD (in North American English) has an Apple part number of 691-3334-A - that number can be found underneath the text block on the left side of the label.
To do a thorough erase of the drive -
Boot to the CD (insert it, restart, immediately press the C key, keep it held down until you know it has started to boot to the CD; be patient - it takes a lot longer to boot to a CD than to a hard drive). Then run Drive Setup - it can be found in the Utilities folder on the CD. Select zero-all-data from the Initialization Options item in the Functions menu, then click the Initialize button.
This will take a while - about one hour per each 10GB of drive size.
Select Mac OS Extended as the format when asked.
Using Drive Setup
To install the OS -
After the drive has been wiped, and while still booted to the CD, run the installer program on the CD - Mac OS Install. Follow the prompts and accept the default installation.
<hr>
If you do not want to erase everything on the drive, you can do a Clean Install of just the OS instead. A Clean Install will remove nothing; it will install a brand new, 'clean' System Folder, will rename the old one to Previous System Folder, and (in this instance) will not do much else.
Article #58176 - Mac OS 8, Mac OS 9: Performing a Clean Installation -
Confusion about UEFI/BIOS and GPT/MBR compatibility issues
So a user said in another post that they were NOT able to boot in UEFI mode and install Fedora even though it is UEFI compatible. But this person was able to useLegacy mode and install Fedora, and furthermore, was able to "keep the Windows partition." I'm guessing that means that Win 8 that came with it, which would be installed in UEFI/GPT mode, correct? I'm specificly referring to the Y510P but from what I understand *every* laptop that comes preinstalled with Win 8 must be UEFI/GPT.
So the way I understand it is that the installed Fedora is in "BIOS"/GPT mode rather than "BIOS"/MBR mode because you can't have both GPT and MBR on the same disc.
I have just started learning about this UEFI/BIOS and MBR/GPT nonsense, and it's going to drive me crazy until I finally understand it. So I guess what I'm asking is:
1) When I get my y510p I assume it will be in UEFI/GPT mode. Can I install non-UEFI distros alongside it as I take it was done with Fedora?
2) If I install a linux distro alongside Win 8, do I have to worry about compatibility issues with a drive that is in GPT format? Or does the MBR/GPT issue have nothing to do with it, so I don't have to worry about ever changing my drive to MBR?
For example, I read that Win 7 must be installed either as BIOS/MBR or UEFI/GPT. This can not be mixed and matched. This means that if I could not get the Windows 7 installer to boot in UEFI I would have to install as MBR. This also means I would have to format the drive and reinstall Win 8 on the MBR.
So my question is do other OS's like Linux have these restrictions? (For example, if a particular distro will not boot in UEFI and therefor MUST install on MBR)
3) I have a pendrive with YUMI installed with a ton of distros/tools/Win installs/etc. (It is a USB boot tool like unetbootin that allow you to add multiple bootable images.) When I tried it recently on my dad's laptop. I have used it many, many times with my older computers, none of which were UEFI. It works great. Now that I've had a recent encounter with my dad's ASUS Windows 8 computer (not with the y510p yet) I found out that UEFI seems to be complicating the crap out of things (for me, at least.)
So when I used this computer, I noticed that when I boot (with legacy mode enabled) and enter the "boot selection screen" in order to boot with USB, I have two options a) UEFI:"name of usb" and b) "name of USB". The UEFI option would NOT boot, but it would boot without the UEFI: option.
So does this mean that I am booting in non-UEFI mode and once I have booted this way and choose a distro to install that it CANNOT install in UEFI mode? I recently saw a tool called Rufus that I have yet to try that has an option to set the bootable USB to UEFI, so that would possibly work if I wanted to install a UEFI compatible distro (Arch linux is what I'm wanting.)
4) If installing a UEFI compatible distro (such as Arch) requires that the USB device be able to boot in UEFI mode has anyone been able to do this? Has anyone even been able to boot a device in UEFI mode to do *anything* such as run a live linux?
I'm 99% sure I would be able to boot in legacy mode and run a live linux (because I did so on my dad's computer) but the problems arise when I consider how to INSTALL.
I would really like to know the answers to these questions (as scattered as they are.) Any help would be appreciated!
Unnecessary info:
(I started learning about BIOS/UEFI and MBR/GPT the hard way a few days ago by trying for hours to install Windows 7 on my dad's Windows 8 laptop because I could NOT get Win 7 installation to work...it kept asking for drivers before I could install until I finally used the Windows USB install tool, put the stick in a different USB, AND formatted the drive as MBR because Windows 7 would NOT install on the existing GPT drive until I used diskpart.exe -clean. And I have read that Win 7 64 bit will work fine on a UEFI/GPT setup. I used the Windows 7 USB boot tool which did NOT give me a UEFI: and regular option. It showed up simply as "name of usb" without a UEFI in front. Since I read that Windows 7 must either be in BIOS/MBR mode or UEFI/GPT mode that this drive would not boot in UEFI mode, and I don't know why...Although I believe I read that Win 7 cannot be installed from a USB in UEFI/GPT mode, only BIOS/MBR. UEFI/GPT mode requires a DVD install but I did not have a drive to test this.)I have a Y510p which is running dual boot Windows 8.1 and Arch Linux. I think that it is strongly advised to do plenty of reading ahead of any install if you will be using UEFI and Linux so that you understand all the issued before making critical changes to the existing system.
Yes, if the machine comes with Windows 8 (as mine did) then the disk will be formatted with a GPT partition table (instead of the old MBR partitioning scheme), and will boot using UEFI. If you are going to try to keep the existing Windows 8 system and add Linux then you will need to keep the disk with its GPT partition table and partition structure, but you can shrink the Windows 8 C: drive to make space for the Linux partitions that are needed ( a root partition and at least a /home and/or /opt partition and possibly a linux swap partition also ). If you want to boot the Linux install via UEFI then you can simply add the required boot directory to the EFI System Partition (ESP).
However it is very important that before trying to do any linux install that you switch off Fastboot from within WIndows 8 (or 8.1). Also most Linux distributions are in some difficulty booting using Secure Boot, though a few such a Ubuntu and Fedora are supposed to be able to do so. Hence it is much easier to work with Linux if Secure Boot is first switched off from the BIOS settings menu.
The order of operations that I used was;
1) Switch off Secure Boot from the BIOS - and boot back into the Windows 8 system to check that it boots OK.
2) With Windows 8 running go into the settings and switch off Fastboot (which does a hybrid suspend when it shuts down instead of a full normal shutdown - if you don't do this then the memory gets overwritten when booting Linux in the future which means booting back into Windows will fail).
3) Reboot back into WIndows and check all is well, and if so then use the disk management facility within Windows 8 to shrink the C: drive to make room for the Linux partitions.
4) Reboot to check Windows 8 still boots OK.
5) If you are going to update to Windows 8.1 then do so, and then update everything once it is booted (it is a huge update and takes ages!). Once done then you will likely have to update drivers for the graphics cards, the clickpad and possibly the wireless chip and ethernet chip. I found that I needed to get drivers that were newer than were available on the Lenovo website, by going to the relevant hardware manufacturer website (eg for synaptics for the clickpad). Then spent a week or so in the evenings getting Windows 8.1 configured the way I like it.
6) Then I did a lot of reading about the various options for the boot manager that would suit a UEFI boot for a dual boot system for Windows 8.1 and Arch Linux and there was a choice of Grub, Gummiboot, rEFInd, and others - and after reading the details I decided on rEFInd as my boot manager which can boot not only any new Arch Linux install but automatically finds the Windows UEFI boot files and presents the options in a nice graphical window once the system gets past POST at bootup.
7) It was important to check which partition was the ESP and to know what partitions I needed to create for the Arch Linux system. Then I went ahead and booted from a usbkey to a uefi install system, and very carefully proceeded with a standard Arch Linux install, being particularly careful to know where to put the rEFInd boot manager files and the kernel and initrd files. Also I used efibootmgr to write the appropriate NVRAM boot entry in the motherboard memory so that the uefi boot system knows where to find the rEFInd uefi boot files in the ESP.
8) Once complete the system boots to Arch Linux as the default, with a nice Windows icon which you can select with the arrow keys within the boot timeout period (default 20 seconds).
I noted also that it is possible to create boot stanzas in the rEFInd boot manager config files which allow rEFInd to chain load other Linux systems or even other bootloaders if you wish - so it is very flexible. So if you want to you could install a grub standalone set of diretories/files so that if the normal linux boot fails then you can select the grub icon from rEFInd and chainload grub to boot either the same Archlinux install, or point to a third linux distribution if you have more partitions containing that third install which might be Ubuntu or Mint or ....
Either way although getting to understand how uefi boot works is a learning curve it is actually generally simpler than the old legacy BIOS boot. With uefi you no longer need an MBR on the drive, and only a suitable EFI System Partition which has to be VFAT formatted. However if you want to have one of the linux distributions booting from legacy MBR then you need to create an MBR at the start of the drive - so you would need to move the start of the first partition and create a suitable sized Master Boot Record otherwise MBR boot can't work. If you do that then of course you have to be careful if the Windows partition is the one being re-sized that it doesn't mess up the Windows boot! However since using uefi to boot rEFInd allows a chainload to grub/gummiboot or other bootloaders then there should be no need to mess with MBR booting if you go down that route.
If you are interested in rEFInd then the author Rod Smith has a good set of documentation that describe the details at http://www.rodsbooks.com/refind/
He is also the author of a really excellent disk partitioner for GPT disks - http://www.rodsbooks.com/gdisk/
Clearly it is necessary to read up on the boot facilities available for any linux distribution that you plan to put on the system.
One nice thing is that uefi boot with an efistub supported kernel build is really fast on the Y510p. My system boots Arch linux in about 7 seconds to the KDE login prompt once the POST is complete and that only takes a couple of seconds. Of course Windows is much slower once it is selected at the rEFInd screen and takes somewherearound 40 seconds or so to boot, but at least Linux is super fast!
Anyway I hope that this helps.
Maybe you are looking for
-
I have a 500px x 500px document open but the size that it looks on Photoshop at 100% does not match the size that is 500px on the web. How do I change it on Photoshop CS6 so that it will give me an accurate display of the pixel size? (I don't know if
-
Displaying Line Items of a BAPI in Table Format
have a custom Bapi ZPM_GET_ORDERS. It has a Model structure like Orders_Hdr Operations [Multiple Line Items] I want to display the operations line items in the table format in a View when we click on the Orders_Hdr. For that I am wondering what shoul
-
HI, I am working on a mail-Xi-File scenario, wherein I have to pick Subject, From, To, Content from the mail and transfer the same to a file on reciever side. 1. What should be the sender reciever data structure. 2. Is graphical mapping fine ? Please
-
Hyperlink showing blue underline with white type
I have a website that has two hyperlinks on the home page of my site. The one links to a webpage the other to a downloadable pdf. Both have white type and are supposed to have a white underline. The link that links to the webpage is correct but the o
-
When I downloaded PhotoShop CC to my iMac it was suppose to include Lightroom. Lightroom was already running as a free trial. Now the trial has expired and PSCC asks for the Lightroom serial number. What to do?