Cleaning temp files

Hi,
we have developed a CWS for 4.5WS. When the crawler runs, a number of temporary files are created in a folder for indexing purposes, and everything works fine.
The question is: when can I delete these temp files? In the ContainerProvider.shutdown()? in the DocumentProvider.shutdown()?
Am I sure that, when shutdown() is called, the file has already been indexed so that I can erase it safely?
Thanks in advance
Mauro

Mauro,
Sorry for the delayed response to your question. I only received your response recently.
With regards to the click-through portlet that streams bytes. The basic idea is that instead of passing back the URL of the temp file to the portal you pass back the URL of a servlet or asp page with the document information in the URL. When the portal requests the URL there should be enough information for the servlet to get the document and pass it back to the portal with the correct content type. There may be complications if you need to pass credentials as well but there are ways around that.
Regards,
Chris

Similar Messages

  • Oracle Best Practices / Guidelines regarding Cleaning TEMP files

    Hi folks,
    Can any one help me with a set of steps / guidelines or best practices to clean TEMP files from OBIEE servers (our PROD environment)?
    Does perhaps OBIEE take care of this for you automatically, how is that process happening?
    Thanks a lot for your time and attention and hope to hear from you soon.

    TEMPS files are deleted from the server once a user logs out. But there might be chance where the TEMP files does not get deleted automaticlly, when the user logs out of the system even before the TEMP file has been generated completely. In this case the temp files get stored in the server, and a bounce of services cleans up the files.
    The best practice would be to create a script to empty out the temp directory during the start up of the services.
    -Amith.

  • Whats the best program to clean temp files on a mac?

    My macpro is running slow, I assume its all the temp files, since I've never done a sweep.  Anyone recommend a specific app or program?

    Corrupt directory or disk drive, bad sectors, too many background apps, not enough memory, too old for what you want to run, lack of SSD boot drive....
    And 10GB of free space is old, not a reason - a disk drive that is even 20% free can be highly fragmented free space and other issues.
    Clone your drive.
    Repair it.
    Move all the user and media files off the boot drive to another "data' drive.
    You posted in Mac Pro - not laptop - what model? what OS? what hardware.

  • Where is temp file in Mac?

    where is temp file in mac? how to clean temp file if its there.

    If you want to clear browser caches and cookies, you can do that through your browser of choice. Other tem file created by applications are just flushed when you quit the application.
    Clinton

  • List of Temp files to be delete/clean up in Hyperion Server

    Hi,
    I am beginer in Hyperion Administration world;
    Can any one please suggest the best practice of maintaining the logs and cleaning the list of temp files/folders in Application and Essbase Servers?
    Currnetly we are using only Planning, Essbase and  Reporting; Version is 11.1.2.1.600.
    Thanks a lot for all your help inadvance!
    Regards,
    VA

    Hi,
    This is very generic question & might have different answers to it.
    As far as log maintenance goes, you can explore Enterprise manager that comes with EPM which has different options such as rotation of the logs. Also, you can export specific logs to certain format.
    You can go to Enterprise Manager from this URL : http://<server>:7001/em & Weblogic server should be in runnning state.
    If you face any issue & there is need to restart the services, do take backup/archive of logs under epmsystem1\diagnostics\logs\services & under domains\EPMSytem\<ManagedServer>\logs , because they get flushed when you restart services.
    I dont think you have to worry much about cleaning up of temp files as EPM takes care on that.
    Thanks,
    Santy.

  • What is the app best or way to clean iphone from temp files?

    What is the app best or way to clean iphone from temp files?

    If when you plug your iPhone in to iTunes to sync, you see the size of "Other" get much larger than 1 gigabyte, restoring the iPhone from iTunes will do cleanup.

  • I have LR 4 and now I cannot open the software because I get this warning: light room cannot start because it cannot create files in the temp file location.. C:/windows/temp. How do I fix this? I have removed and downloaded LR and even used by disc and st

    I have LR 4 and now I cannot open the software because I get this warning: "light room cannot start because it cannot create files in the temp file location. C:\windows\temp\". I think I need to have LR open in a different place but I have no idea how to do that. Any help is most appreciated.
    Alex

    Jim
    Thank you for your prompt reply. Unfortunately I am not that tech oriented and
    cannot easily find that folder. I did notice when I was booting up the LR software
    that I could accept the site where LR usually is set up or choose a place. I am
    thinking that the standard location for LR software is corrupted and that if I
    chose a different place it would work. I say this because whether I use my
    original disc or download from adobe I get the same warning. I have 100GB of
    memory on the hard drive and I have cleaned the computer with Mcaffee and free
    software. What should I do next? I can't use this software and I doubt LR 5
    would open up with my current problem.
    Alex

  • After OS X reboot - temp file in Trash

    Please bear with me if this has been asked before concerning Dreamweaver CS4 (I saw an older post relevant to Dreamweaver CS3, but there was no real resolution).
    Situation:
    I purchased, downloaded and installed Dreamweaver CS4 onto my Mac Pro (early 2008) desktop running OS X (10.5.8). The installation, registration and loading of Dreamweaver was successful and proceeded as expected. I then rebooted my machine and noticed that the Trash was not empty as it had been prior to reboot. I checked the trash and found a 'Recovered Files' folder containing a file named '_xx41a7.TMP' inside. I placed this file on the Desktop and double-clicked it which resulted in Dreamweaver loading to a blank document workspace.
    Note - it is my understanding that OS X moves temp files that were not deleted when a program either crashes or does not quit properly.
    Attempted procedures:
    In order to troubleshoot my thought that Dreamweaver was the program in question, I performed a clean install of OS X (including updating it to 10.5.8 and installing all updates via Software Update). I then installed just Dreamweaver > launched and then quit Dreamweaver > rebooted. This resulted in the same named file being placed in the Trash about 2 seconds after reaching the Desktop.
    I tried a third test where I restored to the most recent Time Machine backup prior to performing the original Dreamweaver install and then installed Dreamweaver along with the additional software options during the install process in case a component was needed for the temp file to be handled correctly. Unfortunately, the result was the same with the '_xx41a7.TMP' file being placed in the Trash after reboot.
    System Specs:
    Mac Pro desktop (early 2008)
    OS X (10.5.8) with all updates
    Current installed software:
    Photoshop CS4
    Illustrator CS4
    Bridge CS4
    Exchange CS4
    Office 2008 (Home and Student)
    iLife '09
    iWork '09
    Aperture 2
    Painter X.1
    SketchBook Pro
    TechTool Deluxe (AppleCare provided)
    Stuff It Expander 2009
    World Book 2009
    I was hoping that there is a setting in preferences or elsewhere that can be set to prevent the constant need to delete this file each time I boot the machine if Dreamweaver has been loaded (this does not happen if Dreamweaver is not loaded prior to reboot).
    Note - I am new to Dreamweaver, but old to Photoshop and Illustrator.
    Thanks in advance for any help offered.

    Randy,
    Thanks for the reply and I apologize for not responding sooner.
    I did in fact close down all programs before shutdown or reboot (have been for quite a few years now). I also performed a search for said file using the basic searchlight function in OS X, but I have not gone to the trouble of running a terminal command to show all files in finder and I suspect this particular file is normally hidden.
    I also looked under 'Preferences/Preview in Browser' and saw that the 'Use temporary files..' was already deselected by default. I tried enabling the option by placing a check mark and then relaunching Dreamweaver and then closing the program, but after reboot the same result with the temp file in Trash. I then tried disabling the option and relaunching Dreamweaver and then closing, but again after reboot the same.
    Of note: I have upon three occasions had an empty 'Entourage' folder in the 'Trash/Recovered Files' folder as well. These were times when I had launched Entourage prior to launching Dreamweaver and then closing both before rebooting. Entourage never displayed this behaviour prior to installing Dreamweaver CS4. Not sure what to make of it.
    I have yet to hear back from Adobe Support where I placed a case three days ago via the Adobe Support page.
    Obviously not a huge deal, but it would seem that this particular piece of software either has a bug or has uncovered a bug in OS X or Office 2008. I tend to lean towards it being Dreamweaver as all my other software never displayed this type of behavior from the first day each was originally installed (all about as old as the original release dates and all patched with the latest updates available).
    Does anyone have an idea what function the '_xx41a7.TMP' file serves? It is always the same name, so I am thinking it serves a specific purpose for Dreamweaver.
    One other item that may or may not be relevant. I ran a test where I left the temp file in the trash and rebooted and then relaunched Dreamweaver, which resulted in Dreamweaver taking at least 30 seconds to fully load (the application frame loaded in the usual 1 - 2 seconds, but the content of all toolbars, panels and welcome screen took the 30 seconds or more to load). I ran the test a second time and the time improved slightly, but still around 25 seconds total.
    After the above testing, I deleted the files (Recovered Files & Recovered Files #1 - both of which had a copy of the same '_xx41a7.TMP' file). This returned the launch time to the usual 5 -7 seconds to load program including welcome screen content.
    BTW - I mistakenly listed 'Exchange CS4' in the software list in opening post, which should be 'Extension Manager CS4' (just for accuracy).

  • Attachments and temp files in GW 2012 Client

    I hope this is not already in a thread, I have not found anything yet, so if it is I appoligize ahead of time.
    I have updated to Groupwise 2012, running on a SUSE Linux Server, and am slowly upgrading windows clients to 2012 client. I have one user with an attachment issue. They have a file that is e-mailed to them, in Excel, that they open, make one or two changes, and then print. They do not need to save, nor are they trying to save, the file for any reason. The file comes in with the same name everytime it is sent to this user. The first time the user opend the file, everything was fine. However on consecutive opens of the file, they get an error asking to replace the exsisting file with the one from the database. When I looked at the machine, there is a Groupwise folder in their My Documents folder, where it looks to store temp attachent files. These files seem to be auto saved to this folder, cause if I delete the file in question, the attachent opens fine, but when they close the attachment, the temp file is left in the Groupwise folder causing the next open to ask to replace the file. Has anyone else ever seen this issue? Any thoughts on how to fix this, so the temp attachment files are deleted and not left there? Thanks in advance for any thoughts!

    jjalbert wrote:
    >
    > I hope this is not already in a thread, I have not found anything yet,
    > so if it is I appoligize ahead of time.
    >
    > I have updated to Groupwise 2012, running on a SUSE Linux Server, and
    > am slowly upgrading windows clients to 2012 client. I have one user
    > with an attachment issue. They have a file that is e-mailed to them,
    > in Excel, that they open, make one or two changes, and then print.
    > They do not need to save, nor are they trying to save, the file for
    > any reason. The file comes in with the same name everytime it is
    > sent to this user. The first time the user opend the file,
    > everything was fine. However on consecutive opens of the file, they
    > get an error asking to replace the exsisting file with the one from
    > the database. When I looked at the machine, there is a Groupwise
    > folder in their My Documents folder, where it looks to store temp
    > attachent files. These files seem to be auto saved to this folder,
    > cause if I delete the file in question, the attachent opens fine, but
    > when they close the attachment, the temp file is left in the
    > Groupwise folder causing the next open to ask to replace the file.
    > Has anyone else ever seen this issue? Any thoughts on how to fix
    > this, so the temp attachment files are deleted and not left there?
    > Thanks in advance for any thoughts!
    This change was done on purpose to help prevent issues where users open
    attachments which go to the Windows temp directory, make changes, save
    the changes, exit GroupWise, then can't find the file. They can't find
    it because it's not there as the GW client cleaned out the temp
    directory. The new design keeps the document so that users never lose
    their data. The downside is that they get the warning message you
    indicated above if they try to open another attachment with the same
    name.
    We're your Novell--again. http://www.novell.com/promo/backtobasics.html
    Enhancement Requests: http://www.novell.com/rms

  • Clear RAM/temp files on system SSD disk

    Hi!
    6 months ago I installed OS X 10.8.5 on a faster SSD disk on my Mac Pro from 2008. PhotoShop and other heavy applications became much faster with the new flash drive, initially. Now, it's even slower than before, for some reason. Can I clear RAM cash, temp files or something?
    On this 120 GB disk I've only installed the operative system along with applications. It seems to me that I have temporary files taking up space or something because the memory scan shows 76.83% of memory being used for "other" stuff than photos and apps. (se attached images)
    I keep all files that I work on, on a different disk. In other words, the SSD disk should not be running out of memory like this - right?
    Happy for any help with this!
    Cheers!
    Angela

    CS6 uses the boot disk for scratch and can put 100's of GB on there if there is room, and can cause trouble and overload the SSD.
    So yes you need to find another location for scratch.
    PCIe lets you leave your drive bays as they are and allow you to add two SSDs that will run faster and not impact performance.
    I would aim for keeping the boot drive to 60GB free.
    I would also want to see the 500GB drive upgraded to 1TB or larger (use the 500GB for backup clone of the system for one thing).
    Your 2TB is where I like to see: 50% free area.
    You need to make a backup system image of the SSD with CCC and then restore from and booted from the clone and restore back to the SSD at some point soon. Use this SSD for scratch or another seeing you have a free hard drive bay #4 still open until you can get a PCIe Sonnet card (US$150-300).
    Install TRIM Enabler 3.0 now and use Onyx after that.
    There are more options today but the basic ideas, from MPG:
    http://macperformanceguide.com/OptimizingPhotoshop-Intro.html
    http://macperformanceguide.com/OptimizingPhotoshopCS5-Benchmarks.html
    MPG LLoyd's site, is a graphic photographer and edit.
    Eventuially a newer even a 2009 Mac Pro and better GPU and more cheaper RAM would make sense if you want to as would 10.8.5.
    Or save up for Mac Pro 6,1 or to buy a used Mac Pro 2012 even. Some things you can take with you and re-use.
    Look at your 8800GT.
    It has one power cable. There are two thumb screws holding a bracket bar in place. So you can remove or upgrade or clean.
    Small, 512MB VRAM, can run hot, can get dust clogged inside and need to be cleaned out. And could fail from heat and weak solder joints (take apart, bake in oven for 15 minutes at 350*F actually works, is documented how to do on Youtube). 10.6.8 does not provide as many options in graphic cards.
    It seems like upgrade to 10.8.5 $19 might be worthwhile some point (another reason to 'clone' your system or start fresh with a new SSD for system, so you can if needed continue to boot and run 10.6.8).

  • Why does firefox need to be closed to delete cookies & temp files

    Only firefox seems to be this way -- under Windows, when I run a cleaner to delete temp files and cookies, firefox temp files and cookies can't be deleted unless firefox is closed. Can't this be fixed?

    Other browsers don't seem to have his problem. i enjoy be being able to click on one item and having things cleared without fuss or bother. I'd prefer not to auto delete with each close nor do I want to have to manually hunt down with Ctrl+Shift+Del. I'm aware of those options. I was wondering why firefox still worked that way. Definitely a disadvantage for me using it. reminds me of the story:
    A guy goes into a store to buy a suit and the clerk gives him one to try on:
    Guy, "Hey one sleeve is longer than the other."
    Clerk says, "Just shift your shoulders like this and it will look fine, see."
    Guy, "But the pantlegs are uneven."
    Clerk, "Well, just shift your weight onto one hip and, yes, see it looks fine."
    Guy, "But the collar rides low on one side."
    Clerk, "Here, hold that side in place with your chin against your chest like you're holding a violin. Voila!"
    These accommodations go on for bit and the guy, somewhat exasperated but worn down, buys the suit. He wears it out of the store and down the street with his chin clamped to his chest, and one leg sort of dragging and his shoulder cocked, etc.
    Two doctors walk past him and one says, "Oh that poor fellow," and the other says, "Yes, but he sure had a nice looking suit."

  • Macbook pro running slow. how to i remove temp files?

    I may have temp files slowing down processor. How to I clean it up?

    First, back up all data immediately, as your boot drive might be failing.
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Reset the System Management Controller.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Check your keychains in Keychain Access for excessively duplicated items.
    Boot into Recovery mode, launch Disk Utility, and run Repair Disk.
    Otherwise, take the steps below when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Next, select the Disk Activity tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in and Writes out.)
    Step 2
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard (command-C). Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • Solaris 10 UX:lp: ERROR: No space to allocate temp files.

    Hello,
    Can someone help me with a solution for the following problem:
    UX:lp: ERROR: No space to allocate temp files.
    TO FIX: Clean up disk, or try again later.
    when attempt to print a file. lpsched occasionally appears to go into a loop, repeatedly adding the message "Failed to open a print service file (No such file or directory)." to /var/lp/logs/lpsched.
    The root file system includes enough free space and
    /tmp also. The files to be printed are a few kb.
    Running lpshut and lpsched fixes the problem temporarily.
    lpsched writes " build info: 01/21/05:15:38:16" to
    /var/lp/logs/lpsched when it starts.
    Addition information:
    When the error occur I see the the /var/lp/logs/request that the line
    "F /var/spool/lp/tmp/hostname/659-1" has changed to
    "F /var/spool/lp"
    Message was edited by:
    jaclpharox

    As far as I know /tmp is by default a subset of the swap, so swap and /tmp are being allocated from the same pool.
    One option for our is to monitor df every second on /tmp during your print attempt. To see how it fares.

  • Temp files eating up all disk space on SCSM 2012 R2 install

    Hello Everyone,
    Problem
    Under this path SCSM is creating a ton of temp files using up all disk space (C:\Windows\System32\config\systemprofile\AppData\Local\Microsoft\System Center Service Manager 2010)  All files are .bin and .hash files.  I just cleaned out 120 GBs
    of files which accumulated over the period of 30 days.   
    Does anyone know what could be causing this?  This was not a problem when we were on server 2008 R2.  When we migrated SCSM management server to server 2012 r2 it when problem started.
    Environment
    Management server (server 2012 R2)
    Data warehouse server (server 2008 R2)
    Data on remote SQL server.  SQL 2008 R2
    CU  5 was the last update

    Might be worth checking that the AutoRefresh/Cache policy is set to True via the SDK?
    https://msdn.microsoft.com/en-us/library/gg461136.aspx
    From PowerShell:
    Add-Type -Path "C:\Program Files\Microsoft System Center 2012 R2\Service Manager\SDK Binaries\Microsoft.EnterpriseManagement.Core.dll"
    $NS = "Microsoft.EnterpriseManagement"
    $EMGType = "$NS.EnterpriseManagementGroup"
    $EMG = new-object $EMGType localhost
    $EMG.AutoRefreshCache
    Output True or False
    $EMG.CacheMode
    Configuration
    This is the output from mine:
    Good luck!

  • Clip Paths and temp-files

    I guess that clip paths are needed for all the files I've
    pasted from Illustrator, but do I need all the temp-files?
    How can I clean up the clip paths, bitmaps and temp files I
    don't use in my project? Flash freezes a couple of seconds now when
    I add, remove or edit an item in the Library...

    Now I may be wrong (see my sig), but there is only one way I
    know to get only the files you use into the library. Copy all of
    the frames in the main timeline (highlight all frames - right-click
    copy frame), then create a blank document, right-click on frame one
    and paste the frames. That will only bring across items from the
    library that are used, leaving behind the garbage. Save your new
    document.

Maybe you are looking for