JRE 1.6.0_05 Plugin settings ignore cache size

Hi!
I just tried to reduce the cache size of my Java plugin and, however, this setting is ignored by the plugin. I set the size on 50 MB, but the plugin still caches temporary files in the default folder (C:\Dokumente und Einstellungen\mas\Anwendungsdaten\Sun\Java\Deployment\cache ...) - actually about 100 MB.
Does anybody knows why, or is this just a bug?
Is it okay, that the plugin caches all files of an applet several times, although it�s always the same applet (same version, same host, same everything...)?
Thank you in advance!
Best regards
Marc

Hey lynchmob,
Try these steps to correct the problem, you need to be logged in as an administrator:
1. Go to the group policy editor. You can get they by typing gpedit.msc into the Run dialog.
2. Navigate to computer configuration->administrative templates->windows components->internet explorer.
3. Disable "make proxy settings per-machine (rather than per-user)".
4. Login with the user account and go to Internet Options.
5. Go to the Connection tab.
6. Click on the Lan Settings button.
7. You may notice that the proxy settings are not correct. Change the proxy settings to be whatever is required for your proxy.
8. Configure Java to use browser proxy settings.
9. Open the java console.
10. Set debug level to 5.
11. Press 'p' to reload proxy settings. Use the trace messages to verify correct proxy settings were loaded.

Similar Messages

  • Configuring JRE 1.4.2 plugin for TLSv1 only server

    Hi,
    I have apache server configured that talks only TLSv1. I wasn't able to load an applet from IE on JRE 1.4.2_05 plugin. so I did the following
    1.Edited the file Documents and Settings\<<username>>\Application Data\Sun\Java\Deployment\deployment.properties file and added an entry "deployment.security.TLSv1=true"
    The applet wasn't loading even then , so in JRE control panel --> Advanced tab in Java Runtime parameters , I added -Dhtps.protocols=TLSv1, It was failing again
    When I tried the same on JRE 1.5 , after the step 1, I was able to load the applet, but on JRE 1.4.2 ,I am not able to load the applet for TLS only server
    Please let me know , if there is any any workaround, or this is JRE bug,The error which i got on the console is
    at java.net.SocketInputStream.read(Unknown Source)
    at com.sun.net.ssl.internal.ssl.InputRecord.a(Unknown Source)
    Thanks

    I am seeing similar behaviour with JRE 1.4.2 and it appears to be a bug as it does not take the value specified in https.protocols.
    You may want to try 1.5.0_05 as it has the enable TLS option in the Java Control Panel under Security.

  • Automatic Update - deployment.properties problems with JRE 1.6.0_05

    Hi!
    This is a Automatic Updated daisable problem.
    I have change the update policy values in the registry but still have one more problem:
    I want to deploy JRE 1.6.0_05, in earlier versions ie 1.4 there has been a windows\sun\java\deployment where the initian deployment.properties file is located. But in the 1.6.X ther is no such folder and the deployment.properies file is still "copied" when you start ie "javacpl.exe" . I would like to disable the
    choice "Download JRE automatically" in the javacpl.exe to "Never download..." but the initial choice when the file deployment.properties is created is "alway download..." .
    Am I still save only with the registry key changes, or do I have to change the value in the deployment.properies and if so, where is the "original" copy that copies the file into C:\Document and Settings\[user]\Application data\Sun\Java\Deployment\
    kindly,
    manekin...

    Hey lynchmob,
    Try these steps to correct the problem, you need to be logged in as an administrator:
    1. Go to the group policy editor. You can get they by typing gpedit.msc into the Run dialog.
    2. Navigate to computer configuration->administrative templates->windows components->internet explorer.
    3. Disable "make proxy settings per-machine (rather than per-user)".
    4. Login with the user account and go to Internet Options.
    5. Go to the Connection tab.
    6. Click on the Lan Settings button.
    7. You may notice that the proxy settings are not correct. Change the proxy settings to be whatever is required for your proxy.
    8. Configure Java to use browser proxy settings.
    9. Open the java console.
    10. Set debug level to 5.
    11. Press 'p' to reload proxy settings. Use the trace messages to verify correct proxy settings were loaded.

  • Finding good plugin settings

    After purchasing Logic Pro, I was surprised the setting choices that came with plugins (EQ, Space Designer, etc...) were not very realistic. A Piano in a Space Designer "Piano Concert Hall" sounds more like it's in outer space. The EQ setting for piano also sounds muffled and unrealistic. I've been able to play around with the settings to make them more realistic, but I was wondering if there is a forum somewhere where people post their plugin settings. It would be nice to share in all the hard work it takes to fine-tune these settings.
    Anyone know what I'm talking about?

    We have never sent an email to any of our registered members unless contacted first by the member. No spam here.
    I did take the time to visit the spamgourmet site and have to say it really sounds like a great idea!
    But anyway yes, we welcome all of your Logic presets: plug-ins, channel strips, Environments or song templates... and we already have about 40 of those files posted by members. I'd actually like to hear your enhanced piano sound preset.
    David.
    G5 Dual 1.8GHz - Logic Pro 7.1   Mac OS X (10.3.5)  

  • Cab for JRE 1.5.0_05

    Hello,
    My application needs JRE 1.5.0_05 installed on the clients machine.
    For this i am using the auto install cab for JRE/
    But there is non available for 1.5.0_05.
    When is the auto install cab for JRE 1.5.0_05 gonna be available ?
    Please reply asap.
    Unnati

    Look in the registry, HKEY_CLASSES_ROOT\CLSID\{CAFEEFAC...) and you'll find it. I have 1.5.0_06 so can't tell which one _05 uses ;)                                                                                                                                                                                                                                                                       

  • Plugin settings not preserved from MacPro to G5 - Logic Pro

    Hi there,
    I have an annoying problem - I recently recorded some songs on my Macbook Pro using Logic Pro 7.2.3 and the Renaissance compressor and reverb from the Platinum bundle. I found when I transferred the song files back to my G5 that the Waves plugin settings were not preserved and reverted back to the defaults, and I have had to write down the settings for each track and reset them manually.
    I have the Waves 5.9.1 Platinum bundle on the Macbook Pro and the 5.2.1 bundle on the G5 both running OS X 10.4.9.
    Has you seen this problem before?
    Any comments would be most welcome!
    Regards
    Rick

    Hi there,
    I have done some experimentation on the different platforms, but I still have had no success in resolving this, even though I have installed the latest version of the Waves plugins on my PPC Mac. I do have some comments to make from the tests I made to try to track down the problem.
    Saving the settings in Logic as channel strips or using the down arrow on the Logic frame surrounding the plugin, and selecting 'Save As' do not transfer the settings saved on an Intel based mac to a PPC based one (.aupreset files are saved this way).
    What does work is saving the settings from the 'Save' button on the Waves plugin itself and transferring the .xps file from the Intel Mac to the PPC mac and loading the setting from that file.
    The reason for this may be because the Waves format file (.xps - XML format) stores the plugin settings in human-readable form in the file. The Logic format file (.aupreset - also XML) on the other hand saves the plugin settings as a block of mixed text characters representing the settings as binary data.
    Since this is the case, I think that the PPC Waves plugin can handle its own format files 'cos they are in readable text, but when presented with binary data (which presumably has byte swapped data words in it - Intel and PPC chips differ in this respect) it cannot understand what is being presented to it and fails to load the info.
    If that is the case, Waves need to change their plugins on the PPC platform to understand settings delivered in a binary form from Logic - I keep looking at the Waves site periodically to see if they have.
    Cheers
    Rick
      Mac OS X (10.4.10)  

  • Sun Java Console & Applets don't display properly on JRE 1.5.0_05

    Duplicate Post as it was equally relavant to this forum: [http://forum.java.sun.com/thread.jspa?threadID=666689&tstart=0 ]
    Hi,
    We have a signed applet based application hosted on weblogic server. We are trying to launch the application on IE 6.0, JRE 1.5.0_05.
    When we try to see the Sun Java Console from IE's Tools Menu bar, we don't see any text in the window and also the side bars & buttons ("clear", 'copy", "close") are not rendered properly. Now if we, try to bring the focus to text area of Sun Java Console, and try to select all (Ctrl+A), we only see some text selected, but not what it is. Now if we copy the text onto the notepad, we can see the text.
    Next, when we try to launch the signed applet based application, we get the security warning, where only we can see the dialogue box and not the text or buttons. By randomly clicking on this security dialogue, if we hit on yes, the Applet based application is launched. The UI is totally off color; either you see some widgets on application partially or totally blackened or in different colors. Application basically looks to be in chaos.
    This behavior is not observed in any of the previous JRE versions, i.e. JRE 1.5.0_04 or any previous versions. Interesting part is after uninstalling JRE 1.5.0_05, if we install 1.5.0_04; problem persists, but not in JRE 1.4.
    We have observed the same behavior on number of machines. Is it a known issue? What�s the reason & solution?
    Thanks in Advance,
    Vinayak

    When we try to see the Sun Java Console from IE's
    Tools Menu bar, we don't see any text in the window
    and also the side bars & buttons ("clear", 'copy",
    "close") are not rendered properly. I suspect you're running into graphics issues. Perhaps java5 is trying to optimize too much, and you have older or buggy Windows drivers.
    Try:
    * getting the latest graphics drivers for your hardware from your vendor and installing them.
    If that doesn't work, try
    * putting options like "-Dsun.java2d.noddraw" in the Java Control Panel as the default VM options for your Java.
    That's actually a bit aggressive - you can start with, say, "-Dsun.java2d.d3d=false" or "-Dsun.java2d.ddoffscreen=false" (each of these is less drastic than noddraw).
    Then make sure you quit all IEs, and restart one.

  • No plugin settings folder for logic x!!! PLEASE HELP!

    I accidentally replaced logic x's plugins settings folder while configuring a midi controller. I know have no presets for logics plugins. I've tried reinstalling logic x however it did not work. Can anyone give me any advice on the matter.

            4GB of RAM
    Display with 1280-by-768 resolution or higher
    OS X v10.8.4 or later
    Requires 64-bit Audio Units plug-ins
    Minimum 5GB of disk space. 35GB of optional content available via in-app download.

  • Webpage previews is no longer caching pages. How do I make sure settings will cache all pages visited?

    Webpage previews is no longer caching pages. How do I make sure settings will cache all pages visited?

    The cache may be full ..
    Using Safari ??
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.

  • SBS2011 (Exchange 2010 SP2) - limiting cache size doesn't appear to work

    Hi All,
    Hoping for some clarification here, or extra input at least.  I know there are other posts about this topic such as
    http://social.technet.microsoft.com/Forums/en-US/smallbusinessserver/thread/5acb6e29-13b3-4e70-95d9-1a62fc9304ac but these have been
    incorrectly marked as answer in my opinion.
    To recap the issue.  The Exchange 2010 store.exe process uses a lot of memory.  So much in fact it has a negative performance impact on the server (sluggish access to the desktop etc).  You can argue about this all day - it's by design
    and shouldn't be messed with etc but the bottom line is that it does use too much memory and it does need tweaked.  I know this because if you simply restart the Information Store process (or reboot the server) it frees up the memory and the performance
    returns (until its cache is fully rebuilt that is).  I have verified this on 4 different fresh builds of SBS2011 over the last 6 months. (all on servers with 16GB RAM)
    I have scoured the internet for information on limiting how much memory exchange uses to cache the information store and most articles point back to the same two articles (http://eightwone.com/2011/04/06/limiting-exchange-2010-sp1-database-cache/
    and
    http://eightwone.com/2010/03/25/limiting-exchange-2010-database-cache) that deal with exchange 2010 and exchange 2010 SP1, notably not exchange 2010 SP2.  Ergo most articles are out of date since exchange 2010 SP2 has been released since these articles
    were posted.
    When testing with our own in house SBS2011 server (with exchange 2010 SP2) I have found that specifying the min, max and cache sizes in ADSIEDIT has varying results that are not in line with the results documented in the articles I mentioned above. 
    I suspect the behaviour of these settings has changed with the release of exchange 2010 SP2 (as it did between the initial release and SP1).
    Specifically here's what I have found using ADSIEDIT;
    If you set the msExchESEParamCacheSize to a value - it doesn't have any effect.
    If you set the msExchESEParamCacheSizeMax to a value - it doesn't have any effect.
    If you set the msExchESEParamCacheSizeMin to a value - it always locks the store.exe process to using exactly this value.
    I have also tested using combinations of these settings with the result that the size and max size values are always ignored (and the store.exe process uses the maximum available amount of memory - thus causing the performance degradation) but as soon as
    you specify the min value it locks it to this value and it doesn't change.
    As a temporary solution on our in-house SBS2011 I have set the min value to 4GB and it appears to be running fine (only 15 mailboxes though).
    Anyone got some input on this ? thank you for your time.

    I concur with Erin. I'm seeing the same behaviour across all SBS2011 boxes, whether running SP1, SP2 or SP3.
    If a minimum value is set, the store cache size barely rises above the minumum. I have one server with 32GB RAM. Store.exe was using 20GB of RAM, plus all the other Exchange services which total 4GB+. That left virtually no free RAM and trying to do
    anything else on the server was sluggish at best.
    All the advise is that setting a maximum alone has no effect and a minimum must be set too. But when set, the store cache size barely rises above the minimum. I have set a 4GB minimum and 16GB max, but 5 days later it's still using only slightly more than
    4GB and there's 8GB free. Now the server as a whole is responsive, but doing anything with Exchange is sluggish.
    Just saying leave Exchange to manage itself is not an answer. The clue is in the name - Small Business Server. It's not Exchange Only Server - there are other tasks an SBS must handle so leaving Exchange to run rampant is not an option. Besides, there are
    allegedly means to manage the Exchange cache size - they just don't apparently work!
    I'm guessing nobody has an answer to this so the only solution is to effectively fix the cache size to a sensible value by setting min and max to the same value.
    Adam@Regis IT

  • Dynamic Calc processor cannot lock more than [100] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).

    Hi,
    Our Environment is Essbase 11.1.2.2 and working on Essbase EAS and Shared Services components.One of our user tried to run the Cal Script of one Application and faced this error.
    Dynamic Calc processor cannot lock more than [100] ESM blocks during the calculation, please increase CalcLockBlock setting and then retry(a small data cache setting could also cause this problem, please check the data cache size setting).
    I have done some Google and found that we need to add something in Essbase.cfg file like below.
    1012704 Dynamic Calc processor cannot lock more than number ESM blocks during the calculation, please increase CalcLockBlock setting and then retry (a small data cache setting could also cause this problem, please check the data cache size setting).
    Possible Problems
    Analytic Services could not lock enough blocks to perform the calculation.
    Possible Solutions
    Increase the number of blocks that Analytic Services can allocate for a calculation:
    Set the maximum number of blocks that Analytic Services can allocate to at least 500. 
    If you do not have an $ARBORPATH/bin/essbase.cfg file on the server computer, create one using a text editor.
    In the essbase.cfg file on the server computer, set CALCLOCKBLOCKHIGH to 500.
    Stop and restart Analytic Server.
    Add the SET LOCKBLOCK HIGH command to the beginning of the calculation script.
    Set the data cache large enough to hold all the blocks specified in the CALCLOCKBLOCKHIGH setting. 
    Determine the block size.
    Set the data catche size.
    Actually in our Server Config file(essbase.cfg) we dont have below data  added.
    CalcLockBlockHigh 2000
    CalcLockBlockDefault 200
    CalcLockBlocklow 50
    So my doubt is if we edit the Essbase.cfg file and add the above settings and restart the services will it work?  and if so why should we change the Server config file if the problem is with one application Cal Script. Please guide me how to proceed.
    Regards,
    Naveen

    Your calculation needs to hold more blocks in memory than your current set up allows.
    From the docs (quoting so I don't have to write it, not to be a smarta***:
    CALCLOCKBLOCK specifies the number of blocks that can be fixed at each level of the SET LOCKBLOCK HIGH | DEFAULT | LOW calculation script command.
    When a block is calculated, Essbase fixes (gets addressability to) the block along with the blocks containing its children. Essbase calculates the block and then releases it along with the blocks containing its children. By default, Essbase allows up to 100 blocks to be fixed concurrently when calculating a block. This is sufficient for most database calculations. However, you may want to set a number higher than 100 if you are consolidating very large numbers of children in a formula calculation. This ensures that Essbase can fix all the required blocks when calculating a data block and that performance will not be impaired.
    Example
    If the essbase.cfg file contains the following settings:
    CALCLOCKBLOCKHIGH 500  CALCLOCKBLOCKDEFAULT 200  CALCLOCKBLOCKLOW 50 
    then you can use the following SET LOCKBLOCK setting commands in a calculation script:
    SET LOCKBLOCK HIGH; 
    means that Essbase can fix up to 500 data blocks when calculating one block.
    Support doc is saying to change your config file so those settings can be made available for any calc script to use.
    On a side note, if this was working previously and now isn't then it is worth investigating if this is simply due to standard growth or a recent change that has made an unexpected significant impact.

  • Question of Berkeley DB "cache size"

    quote:
    Set the size of the shared memory buffer pool, that is, the size of the cache.
    The cache should be the size of the normal working data set of the application, with some small amount of additional memory for unusual situations. (Note: the working set is not the same as the number of pages accessed simultaneously, and is usually much larger.)
    The default cache size is 256KB, and may not be specified as less than 20KB. Any cache size less than 500MB is automatically increased by 25% to account for buffer pool overhead; cache sizes larger than 500MB are used as specified. The current maximum size of a single cache is 4GB. (All sizes are in powers-of-two, that is, 256KB is 2^18 not 256,000.)
    The database environment's cache size may also be set using the environment's DB_CONFIG file. The syntax of the entry in that file is a single line with the string "set_cachesize", one or more whitespace characters, and the cache size specified in three parts: the gigabytes of cache, the additional bytes of cache, and the number of caches, also separated by whitespace characters. For example, "set_cachesize 2 524288000 3" would create a 2.5GB logical cache, split between three physical caches. Because the DB_CONFIG file is read when the database environment is opened, it will silently overrule configuration done before that time.
    This method configures a database environment, including all threads of control accessing the database environment, not only the operations performed using a specified Environment handle.
    This method may not be called after the environment has been opened. If joining an existing database environment, any information specified to this method will be ignored.
    This method may be called at any time during the life of the application.
    Parameters:
    cacheSize The size of the shared memory buffer pool, that is, the size of the cache.
    The question:
    When I have a host, the memory total is 16G.
    I don't know what mean of this document.
    How many max cache size can be set ?
    4G? 16G?
    or cacheCount (4)* 4G = 16G?
    My Email: [email protected]

    What version of Berkeley DB are you using?
    I'm a little confused about what you are quoting. Most of your quote seems to be from DB_ENV->set_cachesize(), but set_cachesize does not have a parameter named cacheSize. The parameters for set_cachesize are gbytes, bytes and ncache.
    You use set_cachesize to specify the logical cache that you can optionally split into more than one physical region. The maximum size of the logical cache is 4GB and there is only one logical cache. You specify the total size of the logical cache with the gbytes and bytes parameters. If you set ncache to a value greater than 1, you split this logical cache into separate physical regions. So, for example, if you specify (gbytes=2, bytes=0, ncache=1) you will have a logical cache of 2GB that internally is split into 2 separate physical regions of 1GB each.
    You can read more about the memory pool cache in the Reference Guide sections "Selecting a cache size" and "Configuring the memory pool".
    If you have other Berkeley DB questions that are not specific to replication, you should direct them to the general Berkeley DB forum where you will have the benefit of a wider set of Berkeley DB experts:
    Berkeley DB
    Paula Bingham
    Oracle

  • Java 1.4.2 default cache size problems

    Hello all -
    I am delivering panoramic image Virtual Travel® tours via Flash and the Java PTviewer applet, e.g. http://www.taj-mahal.net
    We want to deliver much larger & "full screen" panoramas as well. This all works fine on PCs (sigh), but not on Macs.
    On the Mac, I am seeing hanging" during loading of panos, and traced this to the fact that Windows typically has a 60 MB Java cache. I thought this was the same for Mac, but ....
    I note that my Java 1.4.2 Plug-In Control Panel shows that only 50 MB is allocated. Since I have not adjusted this, I wonder...
    a) Is the default Java cache for Mac OSX set a 50 MB after installation? Would most typical Mac users then have only 50 MB of Java cache?
    b) Is there a user-friendly way to adjust the Java cache size up to 60 MB on the Mac? Some application or AppleScript or some such? If so, I can post an error message when (poor) Mac users try to view our large panoramas.
    ( I want to avoid trying to explain how to find and use the Java Plug-In control panel.... )
    Thanks for your help !
    William
    G4 dual 1.25GHz     ( London, UK )

    Where does that prerequisite come from?
    On linux x86, Oracle provides the j2se jdk/jre for OracleAS itself, meaning OracleAS Forms & Reports services 9.0.4 does not require you to install a JDK. I think that actually the requirement is that you should not install any JDK. Of course, some other software might require you to install 1.4.2 java sdk.
    You can find the AS 9.0.4 docu libraries here:
    http://www.oracle.com/technology/documentation/appserver10g.html
    (see docu library B13597_05, Platform tab for installation guides)

  • Is there a solution to Rapidweaver Stacks Cache size problems?

    Is there a solution to Rapidweaver Stacks Cache size problems?
    My website http://www.optiekvanderlinden.be , has about 100 pages and is about 250MB in size. Every time I open RapidWeaver with the Stacks-plugin, the user/library/cache/com.yourhead.YHStacksKit folder grows to several Gigabytes in size. If I don't  manually empty the com.yourhead.YHStacksKit Cache daily, AND empty the Trash before i turn off my mac, my Mac still has problems and stalls at startup the next day. Sometimes up to 5 minutes and more before he really boots. If i have a been working on such a large site for a few weeks without deleting that cache, than my iMac doesn't start up anymore, and the only thing left to do is completely reinstall the iOs operating system. This problem doesn't happen the days i use all my other programs but don't use Rapidweaver.
    Does anyone know a solution and / or what is the cause of this?

    once more,
    i just launched my project in Rapidweaver, and WITHOUT making any changes to my pages, the cache/com.yourhead.YHStacksKit folder filled itself with 132 folders (total 84Mb), most of them containing images of specific pages etc. The largest folder in the cache is the one with the images of a page containing a catalogue of my company, this folder is 7Mb. It seems by just starting up a project, immediately different folders are created containing most of the images in my project, and some folders with a log.txt file. Still i don't see the reason why it is filling op a huge Cache even without making changes to the project. I have 2 different sites, so 2 different projects, and i get this with both of them.

  • Proxy 4 - Cache size keeps growing

    I may have a wrong cache setting somewhere, but I can't find it. I am running Proxy 4.0.2 (for windows).
    Under Cache settings, I have "Cache Size" set to 800MB. Under "Cache Capacity" I have it set to 1GB (500 MB-2GB).
    The problem is my physical cache size on the hard drive keeps growing and growing and is starting to fill the partition on the hard drive. At last count, the "cache" directory on the hard drive which holds the cache files is now using 5.7GB of space and still growing.
    Am I mis-understanding something? I thought the max physical size would be a lot lower, and stop at a given size. But the cache directory on the hard drive is now close to 6GB and still growing day by day. When is it going to stop growing, or how do I stop it and put a cap on the physical size it can grow to on the hard drive?
    Thanks

    Until 4.03 is out, you can use this script..
    Warning: experimental, run this on a copy of cache first to make sure that it works as you want it.
    The firs argument is the size in MB's that you want to remove.
    I assume your cachedir is "./cache" if it is not, then change the variable $cachedir to
    the correct value.
    ==============cut-here==========
    #!/bin/perl
    use strict;
    use File::stat;
    my $cachedir = "./cache";
    my $gc_size; #bytes
    my $verbose = 0;
    sub gc_file {
        my $file = shift;
        my $sb = stat($file);
        $gc_size -= $sb->size;
        unlink $file;
        print "$gc_size more after $file\n" if $verbose;
        exit 0 if $gc_size < 0;
    sub main {
        my $size = shift;
        $gc_size = $size * 1024 * 1024; #in MB's
        opendir(DIR, $cachedir) || die "can't opendir $cachedir: $!";
        my @sects = grep {/^s[0-9]\.[0-9]{2}$/} readdir(DIR);
        closedir DIR;
        foreach my $sect (@sects) {
            chomp $sect;
            opendir (CDIR, "$cachedir/$sect") || die "cant opendir $cachedir/$sect: $!";
            my @ssects = grep {/^[A-F0-9]{2}$/} readdir(CDIR);
            closedir CDIR;
            foreach my $ssect (@ssects) {
                chomp $ssect;
                opendir (SCDIR, "$cachedir/$sect/$ssect") || die "cant opendir $cachedir/$sect/$ssect: $!";
                my @files = grep {/^[A-Z0-9]{16}$/} readdir(SCDIR);
                closedir SCDIR;
                foreach my $file (@files) {
                    gc_file "$cachedir/$sect/$ssect/$file";
    main $ARGV[0] if $ARGV[0];
    =============cut-end==========On your second problem, the easiest way to recover a corrupted partition is to list out the sections in that partition, and delete those sections that seem like odd ones
    eg:
    $ls ./cache
    s4.00 s4.01 s4.02 s4.03 s4.04 s4.05 s4.06 s4.07 s4.08 s4.09 s4.10 s4.11 s4.12 s4.13 s4.14 s4.15 s0.00
    Here the s0.00 is the odd one out, so remove the s0.00 section. Also keep an eye on the relative sizes of the sections. if the section to be removed is larger than the rest of the sections combinde, you might not want to remove that.
    WARNING: anything you do, do on a copy

Maybe you are looking for