Bad File Lag in Finder

Hey everyone, I'm running a 20" iMac 2.4Ghz Duo with 2GB of RAM and 10.5.5
This machine is only a few weeks old, and yet I am experiencing some pretty annoying lag issues in the Finder. When I drag and drop, dupe or delete files, the entire Finder waits a good 5-10+ seconds before following through with the action. I have been using OSX since 10.1 and haven't encountered this issue before. It's getting on my nerves.
Any ideas?

nugx wrote:
Hey everyone, I'm running a 20" iMac 2.4Ghz Duo with 2GB of RAM and 10.5.5
This machine is only a few weeks old, and yet I am experiencing some pretty annoying lag issues in the Finder. When I drag and drop, dupe or delete files, the entire Finder waits a good 5-10+ seconds before following through with the action.
Several things to do:
Repair HD and permissions
Check console log for information
Check activity monitor to see what else is running
Create a new account and see if this sluggishness occurs with the new account.
Since this is a new machine, did the problem always occur since you bought it? Or did it start after installing some software?
If it has always occurred, then I would return it to Apple since it is not a normal thing to happen.
I have been using OSX since 10.1 and haven't encountered this issue before. It's getting on my nerves.
Were you running 10.1 on this machine? You can't compare different machines and OSs.
Your problem is very specific. I have no such issues on any of my three Macs.

Similar Messages

  • Drag and drop files lags on Finder

    I am new to a Mac so I am not sure if there is something going on with my notebook's system.
    I had a folder of a lot of photos I wanted to organize and had everything in an icon view so I can see what is what. Occasionally, when I drag one or more photos into a folder, it would work. But a lot of times it doesn't. I highlight one or more photos -> drag them into subfolder or anywhere in the current folder -> nothing happens to files, but you can see the "animation" of the faded color files being dragged and the red little icon with the number of photos being moved and it would just do nothing. You'd have to try again.. one time.. sometimes two times and it would finally drag into the subfolder or area you want to place the files.
    What seems to be the issue?
    Thank you.

    IMO, using icon view—I only use list view. If you really need it so you can identify stuff, open the subfolders as separate Finder windows, then do the drag & drop from the main window to the subfolder window. Eliminates all confusion.
    Since you're new, check these out:
    Switching from Windows to Mac OS X,
    Basic Tutorials on using a Mac,
    Mac OS X keyboard shortcuts,
    Anatomy of a Mac,
    MacTips,
    Switching to Mac Superguide, and
    Switching to the Mac: The Missing Manual, Mountain Lion Edition.
    Additionally, *Texas Mac Man* recommends:
    Quick Assist,
    Welcome to the Switch To A Mac Guides,
    Take Control E-books, and
    A guide for switching to a Mac.

  • How do I find bad music files?  I have thousands of files, but some are bad.  When I try to load them into iTunes, it just spins.  I need a routine to identify and remove the bad files.  Any ideas?

    How do I find bad music files?  I have thousands of files, but some are bad.  When I try to load them into iTunes, it just spins.  I need a routine to identify and remove the bad files.  Any ideas?

    Hi ajoddo20,
    Welcome to the Apple Support Communities!
    You can use Home Sharing to import music and other media from one computer to another. Please use the instructions and information located in the attached article for information on how to complete the process. 
    iTunes 11 for Mac: Use Home Sharing to import items from another iTunes library
    Cheers,
    Joe 

  • I downloaded a bad file. How do I get rid of it?

    I downloaded a program which was supposed to provide subtitles to un-subtitled torrents. It was a bad file since it has screwed up my computer. I mean in a way that it shows pop-up ads in places that should not have pop-up ads (for example, Facebook, Netflix, shopping sites, and anywhere else), sometimes an ad will pop up in another tab if I click on something unsuspecting, and it also turns un-linked words into links (but I haven't clicked on them ever). I've tried throwing away the program in the trash and I've even emptied my trash but it's done nothing. I figured looking for the files to the program and throwing them out will get rid of them. The thing is, I don't wanna throw out files that I need and I don't even know where to look for the files to the program to trash them. I'm not an expert in knowing what files this program has and what files my computer needs.
    I currently have the latest OS X (Mavericks) installed. I've known new OS X to erase old bad stuff and basically start fresh. Should I wait until Yosemite comes out to think about doing anything? Would a cleaning program even get rid of it? I've had it for 2 weeks and it's driving me nuts.

    There is no need to download anything to solve this problem.
    You may have installed the "VSearch" trojan, perhaps under a different name. Remove it as follows.
    Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
    Back up all data before proceeding.
    Step 1
    From the Safari menu bar, select
              Safari ▹ Preferences... ▹ Extensions
    Uninstall any extensions you don't know you need, including any that have the word "Spigot," "Trovi," or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
    Reset the home page and default search engine in all the browsers, if it was changed.
    Step 2
    Triple-click anywhere in the line below on this page to select it:
    /Library/LaunchAgents/com.vsearch.agent.plist
    Right-click or control-click the line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item named "com.vsearch.agent.plist" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
    Repeat with each of these lines:
    /Library/LaunchDaemons/com.vsearch.daemon.plist
    /Library/LaunchDaemons/com.vsearch.helper.plist
    /Library/LaunchDaemons/Jack.plist
    Restart the computer and empty the Trash. Then delete the following items in the same way:
    /Library/Application Support/VSearch
    /Library/PrivilegedHelperTools/Jack
    /System/Library/Frameworks/VSearch.framework
    ~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
    Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
    The problem may have started when you downloaded and ran an application called "MPlayerX." That's the name of a legitimate free movie player, but the name is also used fraudulently to distribute VSearch. If there is an item with that name in the Applications folder, delete it, and if you wish, replace it with the genuine item from mplayerx.org.
    This trojan is often found on illegal websites that traffic in pirated content such as movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect more of the same, and worse, to follow.
    You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the Internet criminal behind VSearch has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing has not done so, even though it's aware of the problem. This failure of oversight has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • How do I remove an old file from the Finder Favorites list?

    Good Afternoon.
    I have a shiney new MBPro with 10.7.1.
    On my old machine running Snow Leopard, I had two .xls files I used often that I had dragged to the left side into the favorites. The truth is, I hadn't used them in months, but hadn't bothered to remove them. Then about ten days ago, the Bad Thing happened, and I had to replace my laptop rather suddenly. The nice folks at the Apple store transferred all the data and I was off an running in just a few hours.
    Now, I thought to myself, I should remove those two files since I don't use them any more. But how?
    If I click on them nothing happens. If I right-click on them, nothing happens. I can't drag them out because they don't drag and they aren't listed on the list of favorites that can be toggled on and off in preferences.
    I checked. The files did still exist but deleting them didn't remove their names from the favorites list.
    Any suggestions as to how to remove these two .xls files from the Finder's Favorites list?
    Thanks. A picture is below.

    The msot amazing person ,just posted an answer to my other question which worked here too.
    Three cheers for Kappy!
    Just hold down the CMD key and drag them off. How simple is that?? They didn't klnow this at the Genius bar when I asked this morning. I am amazed.
    I wish I knew how to send Kappy cookies.
    Thank you Kappy.

  • "IOException: Bad file descriptor" thrown during readline()

    I'm working on a system to send data to bluetooth devices. Currently I have a dummy program that "finds" bluetooth devices by listening for input on System.in, and when one is found, the system sends some data to the device over bluetooth. Here is the code for listening for input on System.in
    InputStreamReader isr = new InputStreamReader(System.in);
    BufferedReader br = new BufferedReader(isr);
    boolean streamOpen = true;
    while(streamOpen) {
         String next = "";
         System.out.println("waiting for Input: ");
         try {
              next = br.readLine();
               // other code here
          } catch (IOException ioe) {
               ioe.printStackTrace();
    } // end of whileThis is running in it's own thread, constantly listening for input from System.in. There is also another thread that handles pushing the data to the bluetooth device. It works the first time it reads input, then the other thread starts running also, printing output to System.out. When the data has successfully been pushed to the device, the system waits for me to enter more information. As soon as I type something and press return, i get an endless (probably infinte if I don't kill the process) list of IOExceptions:Bad file descriptor exceptions that are thrown from the readline() method.
    Here is what is being printed:
    Waiting for Input: // <-- This is the thread listening for input on System.in
    system started with 1 Bluetooth Chip // From here down is the thread that pushing data to the BT device
    next device used 0
    default device 0000000000
    start SDP for 0000AA112233
    *** obex_push: 00:00:AA:11:22:33@9, path/to/file.txt, file.txt
    I'm not even sure which line it's trying to read when the exception gets thrown, whether it's the first line after "Waiting for Input: " or it's the line where I actually type something and hit return.
    Any ideas why this might be happening? Could it have something to do with reading from System.in from a thread that is not the main thread?
    Also, this is using java 1.6

    Actually, restarting the stream doesn't work either..... here's a sample program that I wrote.
    public class ExitListener extends Thread {
         private BufferedReader br;
         private boolean threadRunning;
         public ExitListener(UbiBoardINRIA ubiBoard) {
              super("Exit Listener");
              threadRunning = true;
              InputStreamReader isr = new InputStreamReader(System.in);
              br = new BufferedReader(isr);
         public void run() {
              while (threadRunning) {
                   try {
                        String read = br.readLine();
                        if (read.equalsIgnoreCase("Exit")) {
                             threadRunning = false;
                   } catch (IOException ioe) {
                        System.out.println("Can you repeat that?");
                        try {
                             br.close();
                             br = new BufferedReader(new InputStreamReader(System.in));
                        } catch (IOException ioe2) {
                             ioe2.printStackTrace();
                             System.out.println("Killing this thread");
                             threadRunning = false;
                   } // end of catch
         } // end of run
    }output:
    I'm sorry, can you repeat that command? - Stream closed
    Closed Stream
    Ready?: false
    I'm sorry, can you repeat that command? - Stream closed
    Closed Stream
    Ready?: false
    I'm sorry, can you repeat that command? - Stream closed
    Closed Stream
    Ready?: false
    I'm sorry, can you repeat that command? - Stream closed
    Closed Stream
    Ready?: false
    I know that this is probably not enough code to really see the problem, but my main question is what could be going on somewhere else in the code that could cause this BufferedReader to not be able to re-open

  • Suddenly can't create dirs or files!? "Bad file descriptor"

    Tearing my hair out...
    Suddenly, neither root nor users can create files or directories in directories under /home. Attempting to do so gets: Error -51 in Finder, "Bad file descriptor" from command line, and "Invalid file handle" via SMB.
    However, files and dirs can be: read, edited, moved, and occasionally copied. Rebooting made no difference.
    Anyone have a clue on where to start on this?
    Mac OS X 10.3.9. Dual G4 XServe with 2 x 7 x 250 G XRAID.
    Many   Mac OS X (10.3.9)   Many
    Many   Mac OS X (10.3.9)   Many

    Indeed. This whole episode has exposed rather woeful lack of robustness on the part of the X Server and XRAID... various things failing and server hanging completely as a result of a few bad files on disk.. with lack of useful feedback as to what was happening.
    Best I can tell, we had reached the stage where the next available disk location for directory or file was bad... blocking any further additions.
    I've embarked on the process of copying everything off, remove crash-provoking files, replace one bad drive (hot swap didn't work), erase all, perform surface conditioning (bad-block finding) procedure, and maybe later this century will be copying all files back.
    Looks to me like the bad block finding procedure is finding a few bad blocks on the supposedly good drives... presumably will isolate those, but maybe we need to get more new drives.
    Many   Mac OS X (10.3.9)   Many

  • Bad File Descriptor in /dev/fd/3, and 94Gb of disk space missing

    I noticed a few days ago, possibly as the result of a recent kernel panic, that I have a large chunk of hard drive space missing. The Finder reports that I have approximately 89Gb of free space, but using "df" reports that there is approximately 178Gb free. Using "du" doesn't report any unexpected huge files, so I tried running GrandPerspective. In addition to the usual file usage and free space, this shows a single 94Gb block of "miscellaneous used space".
    I then booted into Single User mode to run fsck on the startup drive. This reported several errors, and took 3 passes to repair the directory structure, but didn't recover the missing space. I have subsequently run TechTool Pro and DiskWarrior on the startup drive (both of which found various minor errors), but the 94Gb still refuses to show itself.
    I then tried using "find" to look for single large files, using "sudo find / -size +94371840" (anything larger than 90Gb), and I get the following errors:
    find: /dev/fd/3: Bad file descriptor
    find: /dev/fd/4: Not a directory
    find: /dev/fd/5: Not a directory
    After searching Google, a "Bad file descriptor" error points to an inode issue, that fsck cannot fix, but I don't know enough (read: anything) about inodes to risk running the clri command to zero the problem inode.
    Short of blanking the startup disk and installing from scratch (not an attractive option), is there anything I can do to fix the broken inode and recover the missing space?
    Any help appreciated.

    Drawing Business wrote:
    I then tried using "find" to look for single large files, using "sudo find / -size +94371840" (anything larger than 90Gb), and I get the following errors:
    find: /dev/fd/3: Bad file descriptor
    find: /dev/fd/4: Not a directory
    find: /dev/fd/5: Not a directory
    This is not an error and always happens with find unless you exclude the /dev hierarchy from the search. (Interestingly this seems to have gone away with 10.5??)
    To locate your missing space, try WhatSize. Another alternative which I have not used personally is Disk Inventory X.
    As an additional point, with 10.4 it is actually better to use Disk Utility, since it does more than fsck: Resolve startup issues and perform disk maintenance with Disk Utility and fsck, quote:
    Note: If you're using Mac OS X 10.4 or later, you should use Disk Utility instead of fsck, whenever possible.

  • SQL Loader and the bad file

    I use SQL Loader to read a file into a table. In my tests a lot of rows are rejected and written to the bad file. But there are no error messages.
    Is there a way to find out why the row was rejected.

    The Bad File
    The bad file contains records that were rejected, either by SQL*Loader or by the Oracle database server. Some of the possible reasons for rejection are discussed in the next sections.
    SQL*Loader Rejects
    Datafile records are rejected by SQL*Loader when the input format is invalid. For example, if the second enclosure delimiter is missing, or if a delimited field exceeds its maximum length, SQL*Loader rejects the record. Rejected records are placed in the bad file.
    Oracle Rejects
    After a datafile record is accepted for processing by SQL*Loader, it is sent to the Oracle database server for insertion into a table as a row. If the Oracle database server determines that the row is valid, then the row is inserted into the table. If the row is determined to be invalid, then the record is rejected and SQL*Loader puts it in the bad file. The row may be invalid, for example, because a key is not unique, because a required field is null, or because the field contains invalid data for the Oracle datatype.
    YOU WILL get more information
    sqlldr help=y
    also send your control file syntax
    kuljeet pal singh

  • Bad file system performance in OS X Mavericks

    After installing OS X Mavericks I experience bad file system performance approx. three times per day: Opening Finder and trying to a access a directory gets my MacBook Air (1.8 GHz Intel Core i7 4 GB 1333 MHz DDR3 with 250 GB Flash) stuck every approx. 10th time, not always. Same on my brandnew MacBook Pro 2.6 GHz Intel Core i7, 16 GB 1600 MHz DDR3 with 1 TB Flash. This is not a hardware problem. It is a Mavericks problem. Under Mountain Lion I did not have any problems.
    Is there any way to get rid of the annoying wait cycles?

    Output of EtreCheck follows:
    Hardware Information:
              MacBook Pro (Retina, 15-inch, Late 2013)
              MacBook Pro - model: MacBookPro11,2
              1 2.6 GHz Intel Core i7 CPU: 4 cores
              16 GB RAM
    Video Information:
              Intel Iris Pro - VRAM: 1024 MB
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 1.9 - SDK 10.9
              AppleAVBAudio: Version: 2.0.0 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    System Software:
              OS X 10.9.1 (13B3116) - Uptime: 1 day 20:52:39
    Disk Information:
              APPLE SSD SM1024F disk0 : (1 TB)
                        EFI (disk0s1) <not mounted>: 209,7 MB
                        Macintosh HD (disk0s2) /: 999,7 GB (797,68 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information:
              Apple Internal Memory Card Reader
              Apple Inc. BRCM20702 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Inc. Apple Internal Keyboard / Trackpad
              Logitech USB Mouse
    FireWire Information:
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
              org.virtualbox.kext.VBoxDrv          (4.1.8)
              org.virtualbox.kext.VBoxUSB          (4.1.8)
              com.avatron.AVExVideo          (1.7 - SDK 10.8)
              net.telestream.driver.TelestreamAudio          (1.0.4 - SDK 10.6)
              com.avatron.AVExFramebuffer          (1.7 - SDK 10.8)
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded]          com.adobe.fpsaud.plist
              [loaded]          com.barebones.textwrangler.plist
              [loaded]          com.google.keystone.daemon.plist
              [loaded]          com.microsoft.office.licensing.helper.plist
              [loaded]          org.gpgtools.gpgmail.patch-uuid.plist
              [loaded]          org.macosforge.xquartz.privileged_startx.plist
    Launch Agents:
              [not loaded]          com.adobe.AAM.Updater-1.0.plist
              [loaded]          com.google.keystone.agent.plist
              [loaded]          org.gpgtools.gpgmail.enable-bundles.plist
              [loaded]          org.gpgtools.gpgmail.patch-uuid-user.plist
              [loaded]          org.gpgtools.Libmacgpg.xpc.plist
              [loaded]          org.gpgtools.macgpg2.fix.plist
              [loaded]          org.gpgtools.macgpg2.shutdown-gpg-agent.plist
              [loaded]          org.gpgtools.macgpg2.updater.plist
              [loaded]          org.macosforge.xquartz.startx.plist
    User Launch Agents:
              [loaded]          com.adobe.ARM.[...].plist
              [not loaded]          org.virtualbox.vboxwebsrv.plist
    User Login Items:
              Aktivitätsanzeige
              iTunesHelper
              SpeechSynthesisServer
              Microsoft Database Daemon
              EvernoteHelper
              ScreenFlowHelper
              AdobeResourceSynchronizer
              ScreenFlowHelper
              Dropbox
              Google Drive
              AirDisplayStatusItem
              ScreenCapture
              Air Display Host
              Google Chrome
              fuspredownloader
    3rd Party Preference Panes:
              Flash Player
              Flip4Mac WMV
              GPGPreferences
              Pastebot Sync
    Internet Plug-ins::
              Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8
              FlashPlayer-10.6: Version: 11.9.900.170 - SDK 10.6
              Default Browser: Version: 537 - SDK 10.9
              Flash Player: Version: 11.9.900.170 - SDK 10.6
              QuickTime Plugin: Version: 7.7.3
              o1dbrowserplugin: Version: 4.9.1.16010
              npgtpo3dautoplugin: Version: 0.1.44.29 - SDK 10.5
              googletalkbrowserplugin: Version: 4.9.1.16010
              Silverlight: Version: 5.1.20913.0 - SDK 10.6
    User Internet Plug-ins::
              WebEx64: Version: 1.0 - SDK 10.6
              Google Earth Web Plug-in: Version: 7.1
    Bad Fonts:
              None
    Old applications:
              Audacity:          Version: 2.0.3.0 - SDK 10.4
                        /Applications/Audacity/Audacity.app
              Cisco WebEx Meetings:          Version: 1211.02.2808.0 - SDK 10.5
                        .../WebEx Folder/12_1324/Meeting Center.app
              Keynote:          Version: 5.3 - SDK 10.5
                        /Applications/iWork '09/Keynote.app
    Time Machine:
              Skip System Files: NO
              Auto backup: YES
              Volumes being backed up:
              Destinations:
                        My Passport [Local] (Last used)
                        Total size: 931.16 GB
                        Total number of backups: 51
                        Oldest backup: 2011-12-16 12:40:10 +0000
                        Last backup: 2013-12-08 09:13:22 +0000
                        Size of backup disk: Excellent
                                  Backup size 931.16 GB > (Disk size 0 B X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                  13%          coreaudiod
                  10%          thunderbird
                   9%          GarageBand
                   3%          WindowServer
                   1%          Activity Monitor
    Top Processes by Memory:
              1.52 GB          GarageBand
              377 MB          thunderbird
              360 MB          WindowServer
              279 MB          Preview
              197 MB          Safari
    Virtual Memory Statistics:
              7.41 GB          Free RAM
              5.80 GB          Active RAM
              858 MB          Inactive RAM
              1.63 GB          Wired RAM
              1.57 GB          Page-ins
              0 B          Page-outs

  • External Firewire HDD causes hangs on my Mac Pro & HDD lag using finder

    External Firewire HDD causes hangs on my Mac Pro & HDD lag using finder.
    I have an 2008 Mac Pro 8 core 2.66hz, 10GB Mem, ATI HD4870 with 4 internal 1 TB Drives. I have 3 external HDDs (2 USB + 1 FW400). The 2 USB HDDs are for Time Machine and backups.
    The external FW HD is a 1TB bootable clone of my Internal 1 TB boot HDD.
    I have 2 problems ... somethimes when using finder or opening a folder, copying files, starting or quiting a program, I get the spinning beach ball that seems to hang the Mac.
    I power off the external FW HDD and everything starts to work. I get an error about the device going offline, I then power the FW HDD back on and all is good.
    It seems the external FW Drive tends to hang the system. It occurs pretty frequently.
    Any recommendations?
    The other issue is that when I use finder to go to a folder, I seem to have to wait for all these drive to spin up. You can hear them all start whirring.
    is there a way to remove that lag?

    If you recently moved to Snow Leopard you might look for new firmware for your external drive. I would also get DiskWarrior and run that on the external and consider programs like Drive Genius. You might also back it up and wipe it and restore the data. After that I'd consider looking at a new external.
    Sleeping drives that take time to spin up after waking....I'd like to learn how to stop that myself. Be sure the Energy Saver in System Preferences is set to not put drives to sleep when possible. Even then my drives will go to sleep and I have up to 6 external added at times and they take quite a while to all spin up. I've never found a way to prevent that.
    BTW...external USB drives on a MacPro? Really? Even for backup....

  • Upload-Szenario - WDRuntimeException Bad file descriptor

    Hi All,
    i'm using the Adobe Document Services on a NW04, ADS SP 19, NWDS 2.0.19 with IE 6.0.2900 SP2.
    If i use the Upload-UI-Element to show a PDF i got the error:  Bad file descriptor !!
    The PDF to upload is not corrupt, an i can open it with Acrobat Reader or the Tutorial (Download-Upload-Szenario) - Example.
    I had a binary Value-Attribute mapped as Data-Element of the UploadUI-Element. Read the Context-Value-Attribute to the controller context element and the Interactive Form Element had the reference to the attribute as pdfsource. The same code as the tutorial.
    What's wrong ?
    I didn't find anything about the error !
    Thanks for help.
    Regards Jürgen
    Exception(com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Bad file descriptor) during processing a Web Dynpro Application, Session with IDs: (J2EE7802600)ID1177271450DB10984010199363513659End,78651230d78a11db9c34000d608e44df,Id78651230d78a11db9c34000d608e44df6
    [EXCEPTION]
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Bad file descriptor
         at com.sap.tc.webdynpro.clientimpl.http.client.AbstractHttpClient.updateUpLoad(AbstractHttpClient.java:478)
         at com.sap.tc.webdynpro.progmodel.context.ModifiableBinaryType.parse(ModifiableBinaryType.java:95)
         at com.sap.tc.webdynpro.clientserver.data.DataContainer.doParse(DataContainer.java:1418)
         at com.sap.tc.webdynpro.clientserver.data.DataContainer.validatePendingUserInput(DataContainer.java:1328)
         at com.sap.tc.webdynpro.clientserver.data.DataContainer.validatePendingUserInput(DataContainer.java:672)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.validate(ClientComponent.java:624)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.validate(ClientApplication.java:741)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.transportData(WebDynproMainTask.java:712)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:649)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.io.IOException: Bad file descriptor
         at java.io.FileInputStream.readBytes(Native Method)
         at java.io.FileInputStream.read(FileInputStream.java:177)
         at com.sap.tc.webdynpro.clientimpl.http.client.AbstractHttpClient.writeIn2Out(AbstractHttpClient.java:493)
         at com.sap.tc.webdynpro.clientimpl.http.client.AbstractHttpClient.updateUpLoad(AbstractHttpClient.java:435)
         ... 29 more

    Two things I think helped to solve this
    PROPAGATE_EXCEPTIONS = True
    in config.py and I removed threading from my vassal ini file the ending uwsgi files looked like this:
    /etc/uwsgi/emperor.ini:
    [uwsgi]
    emperor = /etc/uwsgi/vassals
    master = true
    plugins = python2
    uid = http
    gid = http
    [/etc/uwsgi/vassals/test.ini:
    [uwsgi]
    chdir = /srv/http/test_dir/src
    wsgi-file = run.py
    callable = app
    processes = 4
    stats = 127.0.0.1:9191
    max-requests = 5000
    enable-threads = true
    vacuum = true
    thunder-lock = true
    socket = /run/uwsgi/test-sock.sock
    chmod-socket = 664
    harakiri = 60
    logto = /var/log/uwsgi/test.log
    Not sure on the
    PROPAGATE_EXCEPTIONS = True
    but removing the threads option in test.ini and making sure there was a master option in emperor.ini seemed to have solved the issue of sql being tossed around to different treads, or at least it complaining about it and crashing the site out, either or.
    Also don't use the uwsgi from this distribution, get it from pip, the distros are broken.

  • Lost files can't find

    Hello... please help...
    I have noticed in the last few weeks that some songs have the ! point next to them in my Itunes library. Itunes can't play the songs... but the songs are still on my Ipod after I sync it. More and more songs seem to have this problem every time I sync. Itunes asks me to search the file, but I can't find it anywhere (even with spotlight). Will I lose all my music? What's the problem??
    I need help fast, what can I do????

    This happened to me also. I got a new Mac a fortnight ago with Leopard pre-installed. Out of the blue this week, the 'top' half of my library (artists A - L) wouldn't play and had disappeared from the music folder in my hard drive. Along came the next software update for itunes and then the computer froze completely and then wouldn't reboot. Tech support said they hadn't heard of anything like it but suggested I had a corrupt music file somewhere and advised that I didn't re-upload my old music.....so ALL lost (bar songs purchased through itunes store which I understand you can claim back - see itunes support where you can check previous purchases and report a problem)
    After seeing other threads recently posted re itunes problems I am starting to think this is not a bad file - afterall, they all played perfectly well on my old pc for the last two and a half years! I can't suggest anything to help...I am lucky as I had backed up my old music just before setting up my new computer. If not I would have lost an awful lot of music and been very very hacked off.
    I will upload my old tunes after the next software update and try again.

  • [SOLVED] Cups refuses to work: "bad file descriptor"

    I am not getting CUPS to work on a new installation.
    I need to use cups as a client printing to a printer attached to a separate server. What I did:
    1. I installed  the cups package and started/enabled the service in systemd.
    2. The remote server has a working CUPS installation (accessible and working from other computers)
    3. I can see the remote printer listed among the printers in CUPS's local  web interface
    However, every job sent to the printer (from the GUI: KDE based apps such as Okular, etcetera) silently fails.
    No job is ever listed on the CUPS web interface.
    If I try to check on CUPS status with lstat I get the following error:
    $> lpstat
    lpstat: bad file descriptor
    Any suggestion on how to fix the problem?
    Edit: more info
    It seems that cups is running fine according to systemd:
    [stefano@gorgias ~]$ systemctl status cups
    ● cups.service - CUPS Printing Service
    Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled)
    Active: active (running) since Mon 2014-08-04 17:56:32 CDT; 16h ago
    Main PID: 2832 (cupsd)
    Status: "Scheduler is running..."
    CGroup: /system.slice/cups.service
    └─2832 /usr/bin/cupsd -f
    Aug 04 17:56:32 gorgias systemd[1]: Started CUPS Printing Service.
    but not so according to CUPS itself:
    [stefano@gorgias ~]$ lpstat -t
    scheduler is not running
    no system default destination
    lpstat: Bad file descriptor
    lpstat: Bad file descriptor
    lpstat: Bad file descriptor
    lpstat: Bad file descriptor
    lpstat: Bad file descriptor
    So systemd tells me the scheduler is running, while CUPS claims it is not
    Last edited by stefano (2014-08-06 22:15:53)

    Stefano,
    I can't thank you enough for posting your solution! I have spent the last several days trying to get libreoffice and evince to even see my printer. I've been up and down so many cups web interface sessions, I lost count long ago. Finally, I came across some commands I'd never seen before, in particular 'lpstat' which also gave me the 'bad file descriptor' message. Googling provided next to nothing in help, but it did produce a link to your post, which is like finding a needle in a haystack! Anyway, I updated /etc/cups/client.conf as you suggested, and now my applications can finally see my Brother HL-2280DW.
    For what it's worth, I'm running a fresh archlinux install (as of a week or two ago), and just installed cups a few days ago:
    root<t1>@benito:/etc/cups# uname -a
    Linux benito 3.16.1-1-ARCH #1 SMP PREEMPT Thu Aug 14 07:40:19 CEST 2014 x86_64 GNU/Linux
    root<t1>@benito:/etc/cups# pacman -Qs cups
    local/brother-hl2280dw 2.0.4_2-3
        Brother HL-2280DW CUPS Driver
    local/cups 1.7.5-1
        The CUPS Printing System - daemon package
    local/cups-filters 1.0.57-1
        OpenPrinting CUPS Filters
    local/cups-pdf 2.6.1-2
        PDF printer for cups
    local/libcups 1.7.5-1
        The CUPS Printing System - client libraries and headers
    local/python2-pycups 1.9.66-2
        Python CUPS Bindings
    local/system-config-printer 1.4.4-1
        A CUPS printer configuration tool and status applet
    Again, my sincere thanks!!
    (BTW, I'd also like to know why /etc/cups/client.conf doesn't work as advertised...)
    Last edited by archzen (2014-08-24 06:44:58)

  • Export for system copy fails - Error 9 (Bad file number)

    Hello all,
    I am attempting to perform the export phase for a hetergenous system copy on our BI system (BI 7.0 - NW2004s).  This system runs on HP-UX 11.11 using Oracle  10.2.0.2 and will be migrated to Windows Server 2003 and MS SQL Server 2005, once the export is complete.
    While running sapinst to export the data from the source system, there are several input dialog screens that are skipped, which means I am not able to enter all the paramters used for the export.  After seeing this behavior from sapinst, I reviewed the sapinst.log and sapinst_dev.log files and find the warning/error "System call failed. Error 9 (Bad file number)".  I have included a portion of these files below.
    I have reviewed notes 546006 and 583861, but these seem to refer to an Oracle error ORA-27121, but I am not receiving any Oracle errors in sapinst.log or the Oracle alert log.  I have looked for possible permission or ownership problems with any of the SAP or Oracle files, but have not found any that were incorrect.  Also, these errors do not specify which file sapinst is having problems with, so I do not have  a specific file or area to check.
    If anyone has seen something similar to this and has any suggestions, I would greatly appreciate any help.
    sapinst.log details:
    INFO 2009-02-14 15:15:51.67
    Execute step collect of component |NW_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|1|0|NW_readProfileDir|ind|ind
    |ind|ind|0|0
    INFO 2009-02-14 15:15:52.737
    Account bwpadm already exists.
    WARNING 2009-02-14 15:15:52.747
    System call failed. Error 9 (Bad file number) in execution of system call 'getgrent' with parameter (), line (292) in file (syuxcuse
    r.cpp).
    INFO 2009-02-14 15:15:52.757
    Account 0 already exists.
    WARNING 2009-02-14 15:15:52.777
    System call failed. Error 9 (Bad file number) in execution of system call 'getgrent' with parameter (), line (292) in file (syuxcuse
    r.cpp).
    INFO 2009-02-14 15:15:52.777
    Account 200 already exists.
    WARNING 2009-02-14 15:15:52.827
    System call failed. Error 9 (Bad file number) in execution of system call 'getgrent' with parameter (), line (292) in file (syuxcuse
    r.cpp).
    INFO 2009-02-14 15:16:04.937
    Creating file /tmp/sapinst_instdir/NW04S/LM/COPY/ORA/EXP/CENTRAL/AS/EXP/ypcat.log.
    INFO 2009-02-14 15:16:05.007
    Output of ypcat passwd.byname is written to the logfile ypcat.log.
    sapinst_dev.log details:
    TRACE      2009-02-14 15:15:52.737
    2009-02-14 15:15:52.743 NW._getSAPMount() done: /sapmnt
    INFO       2009-02-14 15:15:52.737 [syuxcaccmg.cpp:227]
               bool CSyAccountMgtImpl::isExisting(ISyAccountMgt::eAccountType accountType, iastring sName)
    Account bwpadm already exists.
    TRACE      2009-02-14 15:15:52.747 [syuxcuser.cpp:1943]
               CSyUserImpl_getOsInfos(ILogBook *m_logBook, iastring sName, iastring sID, tSyUserInfo& msUserinfo)
    getspnam(bwpadm) returned NULL.
    WARNING    2009-02-14 15:15:52.747 [syxxsyshlp.cpp:78]
               syslib::printOSError(const iastring &, int, DWORD, const iastring &, CMessage::eLogMessage)
    System call failed. Error 9 (Bad file number) in execution of system call 'getgrent' with parameter (), line (292) in file (syuxcuse
    r.cpp).
    Regards,
    Rusty Robbins

    Hello Peter,
    Thanks for the reply. I did confirm the points you made, and have the details below.
    1. check filesystem, if you have enough space, especially /tmp
    All filesystems have available space, and /tmp has 310 MB available, before the start of sapinst.
    2. check again alert log, trace log for Oracle,
    I could not find any errors in the alert_SID.log or any unusual trace files.
    3. How did you run sapinst? Are you using "root" account.
    I am running sapinst as user root and I am following all the recomendations in the system copy guide (at least as far as I can tell.  ;p )
    We have four BI systems in this landscape, and the other three have migrated successfully.  The procedure I am using, is the same as for the other 3 systems and uses the same SAP media directory that was used on the other systems.
    One other item that may be part of my problem here, is that this system is the production system, and was originally installed as a high-availability system, using HP-UX Service Guard for clustering.  Currently, this system does not have fail-over enabled, but of course the cluster is still intact.  One required piece of the Service Guard enviornment is the use of a virtual hostname.  This seems to resolve successfully by sapinst, as I see the correct (virtual) hostname referenced several times.  While this is a clustered system (for fail-over purposes), the CI and DB are installed on the same host.  So it is not a distributed system, and if failover had been initiated, it would fail both the CI and DB instance, which is the same and only SAP instance.
    This did raise one question in my mind, however.  I am attempting to extract this using the following menu path within sapinst.
    SAP NetWeaver 7.0 Support Release 3  --> Software Life-Cycle Options --> System Copy --> Oracle --> Source System Export --> Central System --> Based on AS ABAP and AS Java
    Since this does use Service Guard, but is not a distributed system, should I be using a different path in the sapinst tree, for the export?  I have only performed a migration using the above path, so I am not familar with the detailf of the other types, such as High-Availabitly or Distributed-System.
    Regards,
    Rusty

Maybe you are looking for

  • How to change the default password file's name and path when the database created?

    how to change the default password file's name and path when the database created? null

  • Adding Field in output of T-Code  FBL1n and FBL5n.

    Hi all, can someone please tell me how to add field FDGRV(Planning group) in the output of TCODES "FBL1n and FBL5n". I have already added this field in the standard selection screen and its getting fetched by table LFB1. please suggest which field ca

  • Time out connection issues

    Help, I am struggling to connect to Itunes, have turned off firewall, antivirus software, uninstalled and reinstalled Itunes (with apple technician), latest version of Itunes installed. Itunes will detect Iphone, Ipad and I pod, but can't sync. Netwo

  • Session State Protection breaks Cascading LOV.

    Hi, Whenever I turn Session State Protection on my application , with option 'Arguments Must Have Checksum' on the page level, Items defined with a cascading LOV will not work. Once session state protection is on for the page, and I change the value

  • ORA-00204:

    hi, I got the error in oracle 10g Xe. ORA-00204: error in reading (block 3, # blocks 8) of control file ORA-00202: control file: 'C:\ORACLEXE\ORADATA\XE\CONTROL.DBF' ORA-27091: unable to queue I/O ORA-27070: async read/write failed OSD-04006: ReadFil