File status optimization.
I'm having a (relatively) large database (300 mb) with a low cache (4 mb), and when the database is getting slow, presumably due to cache shortage, i see the following stack trace most of the time:
java.io.UnixFileSystem.getBooleanAttributes0 (UnixFileSystem.java:-2)
java.io.UnixFileSystem.getBooleanAttributes (UnixFileSystem.java:228)
java.io.File.exists (File.java:702)
com.sleepycat.je.cleaner.UtilizationProfile.putFileSummary (UtilizationProfile.java:720)
com.sleepycat.je.cleaner.UtilizationProfile.flushFileSummary (UtilizationProfile.java:680)
com.sleepycat.je.cleaner.UtilizationTracker.evictMemory (UtilizationTracker.java:118)
com.sleepycat.je.evictor.Evictor.evictBatch (Evictor.java:302)
com.sleepycat.je.evictor.Evictor.doEvict (Evictor.java:246)
com.sleepycat.je.evictor.Evictor.doCriticalEviction (Evictor.java:271)
com.sleepycat.je.dbi.CursorImpl.close (CursorImpl.java:668)
com.sleepycat.je.Cursor.close (Cursor.java:252)
com.sleepycat.je.Database.deleteInternal (Database.java:519)
com.sleepycat.je.Database.delete (Database.java:405)
File.exists most probably uses the "stat" system call, and I happen to know from prior experience, that this is endeed a slow call, it might be two or three times slower than the "open" call.
Is it really necessary to poll the filesystem for file status information when the environment is already opened? Could it be an option perhaps, that Berkley should cache file existance?
Artem:
In our next patch release, we have the following bug fix. Are you doing deletes, as the description says? If this might explain your problem, please contact me at linda dot q dot lee @ the expected if you would like to try a pre-release which includes this fix.
7. Fixed a bug which could degrade the performance of cache eviction. The problem can only be seen by applications which execute Database.delete(), Cursor.delete(), Environment.deleteDatabase() or Environment.truncateDatabase(), and is very timing dependent. The symptom is thread dumps which show that the application is frequently executing the java.io.File.exists() call with this stack trace:
at java.io.File.exists(File.java:733)
at com.sleepycat.je.cleaner.UtilizationProfile.putFileSummary(UtilizationProfile.java:747)
at com.sleepycat.je.cleaner.UtilizationTracker.evictMemory(UtilizationTracker.java:118)
at com.sleepycat.je.evictor.Evictor.evictBatch(Evictor.java:313)
at com.sleepycat.je.evictor.Evictor.doEvict(Evictor.java:253)
[#15512]
Similar Messages
-
How to display the file status in the status bar?
Hi all,
Can anyone tell me how to display the file status in the status bar?
The file status can consists: the type of the file, the size of the file etc..
thanx alot..class StatusBar extends JComponent {
JLabel l = new JLabel("ready");
public StatusBar() {
super();
setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
add(l);
public void setText( String prompt ) {
l.setText(prompt);
setVisible( true );
public void paint(Graphics g) {
super.paint(g);
} -
In Aperture3 File Status - cannot find it in Filter as option?
Am trying to move all of my remaining masters located on my laptop to an external drive. 80% of them are already in a referenced library on an external drive. Trying to filter the pictures by using Command F (Find) and the Aperture 3 manual shows there should be an option just below Keywords, called File Status. File Status does not appear on my screen. I am using Aperture 3 v3.3.2. Does anyone know what I am doing wrong. Thanks your. Mark
Hi Mark. You have to add any Rules that are not listed. Click "Add Rule", upper right.
(Screenshot)
Message was edited by: Kirby Krieger -- totally rewritten. Sorry. -
Hello all,
When using brtools, the following error pops up. Appreciate if you could share some hints. thanks.
> brtools
BR0651I BRTOOLS 7.00 (43)
BR0252E Function stat() failed for '/oracle/QAA/102_64/rdbms/admin/log' at location BrFileStatGet-1
BR0253E errno 13: Permission denied
BR0273E Determination of file status for /oracle/QAA/102_64/rdbms/admin/log failed
BR0280I BRTOOLS time stamp: 2010-05-07 14.20.41
BR0654I BRTOOLS terminated with errors
Kind regards
Raymond>
Raymond Yuan wrote:
> BR0252E Function stat() failed for '/oracle/QAA/102_64/rdbms/admin/log' at location BrFileStatGet-1
> BR0253E errno 13: Permission denied
>
Hello,
now this message is pretty obvious. So the needed information would be:
ls -ld /oracle/QAA/102_64/rdbms/admin
ls -ld /oracle/QAA/102_64/rdbms/admin/log
ls -ld brtools
id
and then compare if the user executing brtools has appropiate rights.
Most likely you did not run saproot.sh so brtools might not be set suid to oraqaa
and you are executing as qaaadm.
Best regards
Volker -
File status remains "new version available"
Hello everyone,
We are a writing team of two people and some time ago a third person joined us. We are working with RoboHelp HTML 9 and use Robosource Control to share our project. This third person has been given access to the Robosource Control project and he has opened the project for the first time on his computer directly from RoboHelp. (File > Open > Open Project from Version Control > Follow the steps). This seemed to work perfectly, but after the project opened in RoboHelp, the File status pod indicated that all files had the status "New version available". This seemed a little odd, because it was the first time he opened the project. Obviously I tried to do a "Get latest version all", but this didn't solve anything. I decided to let this be and see if it would resolve itself when he started working in the project. Unfortunately, the files still have this status. Now that he (the third person) has finished editing his topics and has checked them in, I can see his files in my File status pod and they also have the "New version available" status and it remains there, whatever I try. I've tried opening RoboSource Control and "getting" them there, but it doesn't work.
Anyone have a clue what is going on? It's not a major issue, we can access the project and edit topics just fine, but I would prefer to see this fixed asap. We all know how messy Source Control can getIf the new RH user has got a 64-bit machine, he may need this fix: http://blogs.adobe.com/techcomm/2011/09/fix-for-using-adobe-robosource-control-on-64-bit-m achines.html.
-
What does the "Show file status badges" in Slideshow mean ?
Does anyone know what the "Show file status badges" in Slideshow mean ?
Presumably whether the image is online or offline.
-
How to display file status during importation?
Hi,
Can anyone tell me how to display import file status during file importation? The file status can consist of file name, type of file, size of file, % of complete during importation, ....
Thx in advanceHi
use these functions
RIGHT (Text, Number)
Return X characters from the right
RIGHT(“The Quick Brown Fox”, 5)
n
SEARCH(Text1, Text2, Num)
Returns the index of Text1 within Text2,starting the search at index Number
Formula should be
right([Name-column],search[".",[Name-column],1))
More info regarding calculated columns
http://junestime.wordpress.com/2013/02/12/sharepoint-calculated-column-formulas/
Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you. -
ORA-27037: unable to obtain file status
what is the solution of this error
skipping archive log file /u02/proddata/ARCH/1_1150_742566836.dbf; already backe
d up 1 time(s)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of backup command at 02/24/2011 18:00:52
RMAN-06059: expected archived log not found, lost of archived log compromises re
coverability
ORA-19625: error identifying file /u02/proddata/ARCH/1_1152_742566836.dbf
ORA-27037: unable to obtain file status
IBM AIX RISC System/6000 Error: 2: No such file or directory
Additional information: 3It appears that an archivelog is missing.
You should perform the following:
CROSSCHECK ARCHIVELOG ALL;
DELETE EXPIRED ARCHIVELOG ALL; -
File status "New version available" - UPDATED
RH11 | WebHelp
We've been using RoboSource Control successfully for the last 12 months, but recently we've noticed that on the File Status tab in RH a large number of files have a status of "New version available". In addition, we've noticed today that the link between our projects and RSC is no longer working. The strange thing is that my colleagues and I can still open projects that are in RSC, and get the latest versions, but it still thinks there are newer versions available and any changes we make aren't being reflected on the server, i.e. we can't see each other's changes. I've tried disconnecting one of our projects from RSC and re-adding it, but it makes no difference.
Has anyone encountered this behaviour before?
We've been upgraded to Windows 8 recently and we've also upgraded our projects from RH10 to RH11. Could this be a factor?
Any help would be much appreciated.
UPDATE: It looks like the changes are being updated on the server, as I can right-click a file in source control that I have changed, choose View, and see the amendments in the HTML. What's happening is the date and timestamp of the updated files are not being updated, so I'm guessing that because of this, source control doesn't recognise that files have changed. This means that when someone tries to get the latest version it doesn’t think there is one. Is it possible that a setting on the server could have changed to prevent the date and timestamp from being updated?
Thanks
Jonathan
Message was edited by: Jonathan SmithIf the new RH user has got a 64-bit machine, he may need this fix: http://blogs.adobe.com/techcomm/2011/09/fix-for-using-adobe-robosource-control-on-64-bit-m achines.html.
-
IDoc-to-File: Status=processed succesfully but file is not always delivered
Hi Experts,
I have a problem with a IDoc-to-File scenario. I generate an IDoc and send it to the XI-System. Afterwards a XML-file is created which should be transmitted to a filesystem or to a ftp server (I tested with both). In the SXMB_MONI the Message has the Status "Processed Succesfully" and the Acknowledgement-Status "Still awaiting acknowledgement". The problem is that not all files arrive the destination succesfully. sometimes they arrive and sometimes not. and always the same status in the sxmb_moni.
if a message not arrived the destination, in the message monitoring in the runtime workbench there is the status "To Be Delivered". If one Message has the status "To Be Delivered" the following messages get this status too.
the communication-channel-monitoring says that "the communication channel is correctly configured and started"
Can you help me? I don't know where the problem is. could it be that the adapter-engine has some problems?
Thanks and best regards
Christopherhi,
I clicked on details in the message monitoring but the fields "error category" and "error code" are empty. Then I checked the audit log in the message monitoring. there are the following three entries
2008-01-28 14:08:56 Success Message successfully received by messaging system.
2008-01-28 14:08:56 Success Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
2008-01-28 14:08:57 Success Message successfully put into the queue.
and here the audit log of a message which could be transmitted correctly:
2008-01-28 10:33:10 Success Message successfully received by messaging system.
2008-01-28 10:33:10 Success Using connection File_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
2008-01-28 10:33:10 Success Message successfully put into the queue.
2008-01-28 10:33:10 Success The message was successfully retrieved from the receive queue.
2008-01-28 10:33:10 Success The message status set to DLNG.
2008-01-28 10:33:10 Success Delivering to channel: FILEPORT_TO_PICC
2008-01-28 10:33:10 Success MP: entering
2008-01-28 10:33:10 Success MP: processing local module localejbs/CallSapAdapter
2008-01-28 10:33:10 Success File adapter receiver: processing started; QoS required: ExactlyOnce
2008-01-28 10:33:10 Success File adapter receiver channel FILEPORT_TO_PICC: start processing: party " ", service "X22_PICC"
2008-01-28 10:33:10 Success Write to file "/tmp/xi/PICC/INV_5075_4000102108_20070109_103310.XML" as binary, size 410 bytes
2008-01-28 10:33:10 Success File processing complete
2008-01-28 10:33:10 Success MP: leaving
2008-01-28 10:33:10 Success The message was successfully delivered to the application using connection File_http://sap.com/xi/XI/System.
2008-01-28 10:33:10 Success The message status set to DLVD.
2008-01-28 10:33:10 Success Acknowledgement creation triggered for type: AckNotSupported
2008-01-28 10:33:10 Success Acknowledgement sent successfully for type: AckNotSupported
can you say me where the problem is?
thanks and regards
chris -
Hi Expert,
We built an interface using PU12 and we have an issue with the TEMSE file created.
When we run the interface on background, the temse file has the status ''IS BEING WRITTEN'' instead of '' CLOSED'' and we are missing data on the file. The issue does not occurred on foreground.
Please help.
Thanks on advance.Hi Khaled,
Do you still have the issue. If so, did you check the spool / steps of the background job. You may need to debug the subroutine close_dataset in the include program RPCIFM42.
If you have solved the issue, please post the cause and the solution so that other users can benefit.
Thanks & Regards.
Kiran
Edited by: Kiran NN on Jul 27, 2009 3:49 PM -
Command line check file status
I have written a shell script that converts the file to flv then injects it with metadata and does a couple other things. However, the injection starts after about 10 seconds or so. I have read that the shell command "wait" will help but I don't think it is working because it doesn't know when the file has converted completely. Is there a way to know when the file has converted 100%? Can I get a variable and check it and when it is 100 or something then I can move on with my script? Is this possible?
The command line compressor command does not "block" the way you would normally expect a command line tool to do. It returns as soon as it submits the job. Qmaster then manages the job on the queue.
In order to do what you want, you need to use a separate command in a loop that queries Qmaster for your job's status. It returns xml-ish type stuff that you then need to parse out to get your "percent complete or whatever. Once the status returns as "100%" or whatever, you then know you can run your injection command.
To see what I'm talking about, when you submit your job, it should return a string with "jobid" and "batchid" to stdout. Try using those in this command.
`/Applications/Utilities/Batch\ Monitor.app/Contents/MacOS/Batch\ Monitor -clusterName <CLUSTERNAME> -jobid <JOBID> -batchid <BATCHID>`
Have fun.. :-/ -
Hi,
I am reading in a flat file using util file.
I need to check if the file exists and need to differentiate between a read error and end of file. Where can I find these status codes.................Where can I find these status codes.................Fully unexpected, in the [url http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/u_file.htm#i996873]documentation.
Whether a file exists you can test with utl_file.fgetattr, read error results in the utl_file.read_error exception and EOF results in the NO_DATA_FOUND by attempt to get a line.
Best regards
Maxim -
How can we compress SWF files and optimize tool?
I need to reduce SWF file size up to 70%, quality will not be sink.
Is this possible in adobe software? please help...Iam working on banner production, is their any better software/tools for SWF optimization/compression?
I got one SWF and FLA from other creative team, SWF size is below 50 KB look's better quality, I have changed some small amends, when i was exporting it from FLA... the SWF file weight goes to 90KB, i compressed image quality then, expoted again... the file size goes to 70KB. how can i do 50KB in better quality.
Thank you for your help! -
Missing sidecar - remove missing file status
I have raw files that had metadata written to XMP sidecar files, the XMP are now missing, and I don't want to have LR create new sidecar files. The files show up as missing in the catalog. How can I get rid of the missing status and the little "metadata status warning" icons without having to write new sidecar files? If I can't that's pretty insidious and I would call it a bug.
ThanksWriting to xmp and then deleting the xmp is how I got to this stage. They show up in the Missing Files folder in the library tab of the library module. If I hover over the little question mark icon it says sidecar file is missing. If I click on the question mark it writes the metadata to xmp, even if "auto write changes to xmp" is unchecked in the catalog settings>metadata preferences.
But there's no way to delist them from missing files without creating a new xmp, as far as I can tell. You're basically stuck with "missing files" warning forever unless you create new xmps.
It's pretty annoying. I'd call it a bug. Essentially it's probably just a scenario that wasn't considered or accounted for in development. Creating missing file folder on demand - I like that.
Thanks for your input, let me know if you come up with anything
Maybe you are looking for
-
More Guru Winners for February 2015 in the Power Pivot category and many others!
It's been a busy week that also saw the TECHNET WIKI SUMMIT 2015 Then we had the results for February's TechNet Guru competition ALSO posted! http://blogs.technet.com/b/wikininjas/archive/2015/03/19/technet-guru-february-2015.aspx Below is a summary
-
Hi I have written fileupload servlet , and it is working fine on windows xp.If I use the same program in solaris it is not saving the file on the server.I am not getting any exception.Can anybody help? Thanks in advance. Anil
-
Problem with Toolbars in LVC_S_LAYO
Dear all, i am using structure LVC_S_LAYO. Here in my toolbar some icons like show next,summation are inactive. Also i am using LVC_T_FCAT where i have set DO_SUM = 'X'. When i see in debugging the value X is getting passed from my it_fieldcatalog ta
-
Migrate JBOSS Application (ear file)to Netweaver (ear file)
Hi Experts, I am trying to migrate my .EJB application which is currently running under JBOSS to Netweaver Server. Backend is SQLServer 2005. I have used CMP EJB. I am trying to convert my EJB/CMP field reference from JBOSS deployment descriptor with
-
Datecombo won't work under JRE1.5.0_06
Hi, I am working on converting Java code from JRE 1.4.2 to 1.5.0_06. Our application works fine under JRE1.4.2, but not JRE1.5.0_06. I am having a problem to load an applet with DateComboBox widget. It is working under eclipse with JRE1.5.0_05. Once