SSRS 2008 - ServerReport.SetParameters() suddenly extremely slow

Hi,
We have been using SSRS 2008 R2 for quite a while now but 3 weeks ago we started to notice some performance problems when generating SSRS reports. We have a .NET client which gets the list of reports from the server and then the end user can select a report,
enter the parameter and then view the report in our client.
So 3 weeks ago users started to notice that when they clicked on a report (and in the background we load the parameter prompts etc.) it took almost a full minute. When normally this would only take a few seconds. I have narrowed it down to the method mentioned
in the title. When we call the method ServerReport.SetParameters(parameters) our client has to wait for that one minute.. This also does not go away when you run the report a second time. This is becoming a real problem as our users produce a lot of reports
during the day and every time that method is called the client has to wait 60 seconds. This was not the case 3 weeks ago, I have already checked if something was changed on the server etc. but everything looks okay. Went through the logs etc.
Could it be that our ReportServerTempDB is getting too big? When I checked the logs I saw that the Clean Batch() is running every 10mins so this looks ok. Will check with our Infrastructure Team later to see how big the ReportServerTempDB is and if it is
possible to purge some of the data.
I also read a about report caching but I am unsure if this helps at all and/or which form of caching to use. Our users run a certain amount of reports on a daily basis where only the date range changes (today they run it for 01.08.2014, tomorrow maybe for
02.08.2014 and so on). Would caching help in this case?
Any other things I might be overlooking or that you think could cause the problem?
Thanks a lot!
Fabian

Hi Fabian,
According to your description, the reports performance become poor in the latest three weeks. And you think the issue is caused by the ServerReport.SetParameters Method. As per my understanding, there does not performance concern of SetParameters or other
method among Report Manager, Report Viewer or URL Access. Because every call to Reporting Services will use the same Programmatic interface to render a server report. We can try to directly render the report in report server to check whether it related to
the method.
Besides, I think the problem is duo to the cache of the .NET compilation or the HTML render. We can try to clear the cache and restart the server to check the issue again.
The following similar threads are for your reference:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/cced1e18-bba0-4d2c-98a1-d245cc2c2b13/reportexecutionservice-vs-reportmanager-performance
http://stackoverflow.com/questions/2274317/c-sharp-winforms-reportviewer-performance-issue-using-refreshreport-and-server
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • My iMac with Comcast is suddenly extremely slow

    Suddenly my imac with comcast internet with apple airport is extremly slow.
    This sort of came out of the blue.
    I have called Comcast and they said everything on their end seems to check out fine.
    Going a bit nuts here. Any ideas as to why this is happening?
    Anything I should test?
    Doug

    Nothing seems to have changed at all Allen.
    Still taking *forever* to download images, pages, etc.
    Here is the new report:
    Hardware Information:
              iMac (24-inch, Early 2008)
              iMac - model: iMac8,1
              1 3.06 GHz Intel Core 2 Duo CPU: 2 cores
              4 GB RAM
    Video Information:
              NVIDIA GeForce 8800 GS - VRAM: 512 MB
    System Software:
              OS X 10.9.2 (13C64) - Uptime: 0 days 0:56:41
    Disk Information:
              ST3500418AS disk0 : (500.11 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 499.25 GB (415.73 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information:
              Iomega External HD 1 TB
                        EFI (disk1s1) <not mounted>: 209.7 MB
                        Media (disk1s2) /Volumes/Media: 999.86 GB (626.31 GB free)
              Hewlett-Packard HP Color LaserJet CP1518ni
              Apple Inc. Built-in iSight
              Apple, Inc. Keyboard Hub
                        Mitsumi Electric Apple Optical USB Mouse
                        Apple Inc. Apple Keyboard
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple Computer, Inc. IR Receiver
    FireWire Information:
    Thunderbolt Information:
    Kernel Extensions:
              com.logmein.driver.LogMeInSoundDriver          (1.0.3 - SDK 10.5)
              net.telestream.driver.TelestreamAudio          (1.0.5 - SDK 10.6)
    Startup Items:
              ColdFusion10: Path: /Library/StartupItems/ColdFusion10
    Launch Daemons:
              [System] com.adobe.fpsaud.plist 3rd-Party support link
              [System] com.barebones.authd.plist 3rd-Party support link
              [System] com.barebones.textwrangler.plist 3rd-Party support link
              [System] com.google.keystone.daemon.plist 3rd-Party support link
              [System] com.logmein.logmeinblanker.plist 3rd-Party support link
              [System] com.logmein.logmeinserver.plist 3rd-Party support link
              [System] com.logmein.raupdate.plist 3rd-Party support link
              [System] com.macpaw.CleanMyMac2.Agent.plist 3rd-Party support link
    Launch Agents:
              [System] com.adobe.AAM.Updater-1.0.plist 3rd-Party support link
              [System] com.amazon.sendtokindle.launcher.plist 3rd-Party support link
              [System] com.flipvideo.FlipShare.AutoRun.plist 3rd-Party support link
              [System] com.google.keystone.agent.plist 3rd-Party support link
              [System] com.logmein.logmeingui.plist 3rd-Party support link
              [System] com.logmein.logmeinguiagent.plist 3rd-Party support link
              [System] com.logmein.logmeinguiagentatlogin.plist 3rd-Party support link
              [System] com.wacom.pentablet.plist 3rd-Party support link
    User Launch Agents:
              [not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
              [not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
              [not loaded] com.macpaw.CleanMyMac.helperTool.plist 3rd-Party support link
              [not loaded] com.macpaw.CleanMyMac.volumeWatcher.plist 3rd-Party support link
              [not loaded] com.macpaw.CleanMyMac2Helper.diskSpaceWatcher.plist 3rd-Party support link
              [not loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist 3rd-Party support link
              [not loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist 3rd-Party support link
              [not loaded] ws.agile.1PasswordAgent.plist 3rd-Party support link
    User Login Items:
              iTunesHelper
              EvernoteHelper
              Skype
              Dropbox
              BitTorrent
              Google Drive
              AdobeResourceSynchronizer
              EvernoteHelper
              BambooCore
    Internet Plug-ins:
              o1dbrowserplugin: Version: 5.2.4.18058 3rd-Party support link
              WacomNetscape: Version: 1.1.1-1 3rd-Party support link
              Default Browser: Version: 537 - SDK 10.9
              Flip4Mac WMV Plugin: Version: 2.4.4.2 3rd-Party support link
              WacomSafari: Version: 1.1.1-1 3rd-Party support link
              AdobeAAMDetect: Version: AdobeAAMDetect 1.0.0.0 - SDK 10.6 3rd-Party support link
              FlashPlayer-10.6: Version: 13.0.0.201 - SDK 10.6 3rd-Party support link
              AdobePDFViewerNPAPI: Version: 11.0.04 - SDK 10.6 3rd-Party support link
              LogMeIn: Version: 1.0.935 - SDK 10.7 3rd-Party support link
              Flash Player: Version: 13.0.0.201 - SDK 10.6 3rd-Party support link
              LogMeInSafari32: Version: 1.0.935 - SDK 10.7 3rd-Party support link
              googletalkbrowserplugin: Version: 5.2.4.18058 3rd-Party support link
              iPhotoPhotocast: Version: 7.0
              AdobePDFViewer: Version: 11.0.04 - SDK 10.6 3rd-Party support link
              QuickTime Plugin: Version: 7.7.3
              Silverlight: Version: 5.1.10411.0 - SDK 10.6 3rd-Party support link
    Safari Extensions:
              Searchme: Version: 1.3
              1Password: Version: 3.9.20
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              WebEx64: Version: 1.0 - SDK 10.5 3rd-Party support link
              WebEx: Version: 1.0 3rd-Party support link
              CitrixOnlineWebDeploymentPlugin: Version: 1.0.94 3rd-Party support link
              Picasa: Version: 1.0 3rd-Party support link
              RealPlayer Plugin: Version: (null) 3rd-Party support link
    3rd Party Preference Panes:
              3ivx MPEG-4  3rd-Party support link
              PenTablet  3rd-Party support link
              DC30 Xact Driver Panel  3rd-Party support link
              Flash Player  3rd-Party support link
              Flip4Mac WMV  3rd-Party support link
              Growl  3rd-Party support link
              Pastebot Sync  3rd-Party support link
              Perian  3rd-Party support link
              TextExpander  3rd-Party support link
    Old Applications:
              Transmit:          Version: 4.2 - SDK 10.5 3rd-Party support link
              Corel Painter Lite:          Version: 1.0.821 - SDK 10.5 3rd-Party support link
              SLLauncher:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        /Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
              /Users/[redacted]/Library/Application Support/WebEx Folder/1224
                        convertpdf:          Version: 1.2 - SDK 10.5 3rd-Party support link
                        Cisco WebEx Meeting Center:          Version: 1207.04.2732.10 - SDK 10.5 3rd-Party support link
                        asannotation2:          Version: 8.25.31.0 - SDK 10.5 3rd-Party support link
                        atmsupload:          Version: 4.14.29.0 - SDK 10.5 3rd-Party support link
    Time Machine:
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 464.96 GB Disk used: 77.79 GB
              Destinations:
                        Media [Local] (Last used)
                        Total size: 931.19 GB
                        Total number of backups: 173
                        Oldest backup: 2010-10-10 13:20:12 +0000
                        Last backup: 2014-04-22 16:27:56 +0000
                        Size of backup disk: Adequate
                                  Backup size 931.19 GB > (Disk used 77.79 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                   5%          WindowServer
                   1%          EtreCheck
                   1%          Google Chrome
                   1%          Activity Monitor
                   1%          launchservicesd
    Top Processes by Memory:
              156 MB          com.apple.IconServicesAgent
              143 MB          mds_stores
              119 MB          WindowServer
              102 MB          Adobe Photoshop Elements
              102 MB          Skype
    Virtual Memory Information:
              1.24 GB          Free RAM
              1.56 GB          Active RAM
              678 MB          Inactive RAM
              557 MB          Wired RAM
              579 MB          Page-ins
              0 B          Page-outs

  • USB connection suddenly extremely slow

    As I ususally have manny film, series on my external hard drive connected to my Airport Extreeme, I suddenly got a big supprise when the speed suddenly got extremely slow. Not possible to use it for anything. The internet connection is however perfect.
    As it has allways functioned perfectly for me I don´t know what to do. It was about that time I uppdated the Java pack resently submitted by Apple. But I can´t see why this should have aything to do with this.
    Has anyone had any simmilar problems, and what is the remedy. I am all blank....

    Keep in mind that the very first device you connect will determine the default speed for the entire USB bus.  So, if you boot up the MBP, log in, and plug in a USB2 device, then the bus will never operate faster than USB2.  You would then need to reboot the computer, and first connect the USB3 device to ensure the bus steps up to USB3 speeds for USB3 devices.
    Also, make sure you are using a USB3 compatible cable with any USB3 devices to get max. transfer speeds.
    see http://support.apple.com/kb/HT5172

  • Sudden EXTREME slowness, crashing

    I was using my Macbook Pro today for just regular stuff, playing some music, when suddenly it slowed down to a really ridiculous speed. I double-clicked on a song in iTunes, it went to the pinwheel and took 15 seconds before the song played. I figured I would restart, so I did and now the computer is literally slower than I could have imagined.
    At first reboot it sat at the Apple logo loading screen for a long time, to the point where I turned it off and let it sit for a moment, then turned it back on. For the next five or so off / on cycles it displayed a blank light-blue screen and nothing else, not responding to any kind of input. Holding down the button to get to the boot menu to choose between Windows and Mac didn't work.
    Finally I left it for quite a long time and it managed to boot up to the login screen after about 30 minutes of loading. I managed to type in my password (which took awhile, it went to pinwheel for about 10 seconds before recognizing keyboard inputs). Another 10 - 15 minutes before it displayed the desktop and dock, then another 5 minutes before it displayed the top menu.
    It continued to run extremely slow, and over the course of the next hour I managed to open up Disk Utility and Activity Monitor. Activity Monitor shows random tasks as "Not Responding", as does Force Quit. Different tasks at different times show up red, including SystemUI, iTunes, and Disk Utility itself.
    I attempted to verify the disk, it worked for a moment, displayed a few errors and then stopped with the message "Underlying task failed", or something to that effect. I tried to Verify Disk permissions and it threw a long list back at me before freezing. Over the next 20 minutes I managed to force quit Disk Utility, and now my computer is apparently entirely frozen.
    The Windows drive also didn't appear on the desktop, and under Disk Utility my windows partition showed up greyed out and d03 or something like that.
    I'm going to try to restart with the install disk and run Disk Repair off of it and see if it will work, but I was hoping someone out there had an idea of what's gone wrong with my MBP before I just wipe the whole thing clean and start over...if I can.
    It's a Macbook Pro, one of the first-iteration Macbook Pros that came out a few years ago.
    Thanks a bunch.

    Thanks for the quick reply. I tried restarting with the install disk, but it failed to repair with the same error. I'm going to have to send it in now anyway because the install disk is now stuck in there. Hopefully (with my luck) it won't spontaneously explode before I can get it to an Apple Store to have them send it back, I guess.
    Thanks.

  • Adobe premiere cs6 suddenly EXTREMELY slow and CPU intensive

    Hi everyone,
    I'm editing candon 5d mk III footage (h.264 files) on my late 2011 MacBook pro. Here are the specs..
    240 gig SanDisk SSD harddrive (190 gigs free)
    500 Gig (250 gigs free)
    8 gigs ram
    2.4 ghz i5 processor
    Intel HD graphics 3000 graphics card
    I'm a wedding videographer and I am currently closing my last edits of the season. I have edited 20+ 45 minute videos on Adobe Premiere CS6 and have had absolutely no issues at all. I enjoy working on premiere so much that I've been trying to get my videographer friends to give a shot and simplify their workflows.
    Upon starting my second to last edit (same process as the other 18 videos I've done this season, organizing the footage within it's respective folder, loading it into premiere with the couples' choice in music and opening 4-5 new sequences based on the events of the day) I noticed that I was having a lot of trouble importing folders into my media bin. I had to import all of the footage unorganized because loading the folders "Preperation, Ceremony, Photos, Reception" with the footage within them would cause premiere to freeze and become unrepsonsive. So, finding no solution I added all the footage in no particular fashion. Just one large unorganized group. Then, while organizing the files into bins, I noticed even the smallest move would take several minutes to complete. Because I was working directly off of my hard drive I figured these kinds of delays would eventually catch up to me, so I moved all of my files to my HDD and decided to work on them there. The project itself continued to be extremely slow and started crashing regularly (especially when applying audio effects). After a few hours, I stopped being able to play 1080p video at all. It would jam and stutter so often it become unuseable. 720p video was the next to go along with my ability to render anything in less than 30 minutes - 1 hour. At last attempt to use premiere I was getting an "Unable to compile movie - Unknown Error" message when trying to render alpha channel things (lower third titles and things of the nature), my ability to change the resolution of the playback had disappeared (Going from full, 1/2 and 1/4 did nothing, it just remained at full quality) and finally doing anything in premiere caused it to use 300% of my CPU (based off of my Activity Monitors metering).
    Does anybody have any clue as to what could be happening to my machine/program? I have a yearly subscription to adobe's creative cloud service if that helps. Oh and I've tried moving my media cache's from my HDD to my SDD with little or no results. Don't know if that helps.
    Thank you to anyone who helps in advance. What I believe to be clean installs aren't doing anything so I'm hoping somebody can give me a hand.

    Sounds to me like specific media is dragging the Mac to a halt. (300%, really Apple? Isn't that like saying that my car can go up to 90mph, but last night I drove it at 300% speed, 270mph)
    Some things to trouble shoot:
    Do you have any assets in the project that are loaded directly from strange devices, like a SD card or CD audio? Any dynamic link media that may be problematic?
    Is there anything that makes this footage different than footage from successful projects?
    Can you work successfully with an old project?
    Can you successfully start a new project using different or less media?
    Is the 500 GB drive internal or external?
    One time I was sent out at from work to troubleshoot a system that would freeze up like yours. The guy was an idiot and rude client that demanded that someone from our facility help him fix his own project. He said that he had been troubleshooting for a day, and then had convinced his organization's IT guy that he needed a way over spec new pc to run Premiere.
    His system was fine. Within 3 minutes of checking media in his project, I saw that top track of the problem sequence had a video clip that was set to a speed of .01%, and he had the clip stretched for 24hours in the sequence. His project was supposed to be a 2 minute PSA. All his issues went away after removing the idiotic Day Long slow motion clip. He complained to my boss because I had laughed at him.
    I relate that story to illustrate that it could be a weird thing with you media or fx, just as well as a hardware or software issue.
    Good Luck

  • Lightroom 4 suddenly extremely slow after download free trial of Lr5

    Hi I have Lightroom 4 and last night I downloaded Lightroom 5 with a free trial for 30 days, but I couldn't work on that because was very slow, so I uninsalled Lr5,  but now I can't work in my Lr4, it is extremely slow and it was perfect before. I have a MacBook Pro OS x Lion 10.75, 2.8 Ghz Intel Core i7, storage of 591GB free out of 749 and I have all my photos in an external drive "my passport" with 737 GB free out of 999 GB. Could you please help me??? I am very upset and desperate, I have been trying to work for 6 hours already, something that will take me only 30 minutes, and I can't even finish it. Please help me!! Thank you.  

    Get rid of Trusteer. It doesn’t work well under Mac OS.
    Trusteer Rapport Uninstall
    Activity Monitor - Mavericks  also Yosemite
    Activity Monitor in Mavericks has significant changes
    Performance Guide
    Why is my computer slow
    Why your Mac runs slower than it should
    Slow Mac After Mavericks
    Things you can do to resolve slowdowns  see post by Kappy

  • Computer suddenly extremely slow. Now grey screen.

    Macbook Pro, OS X 10.6.8, purchased late 2009
    Almost overnight, the computer became extremely slow when running apps. I tried multiple solutions -- verifying, repairing, etc. Yet as of now, its refusing to boot. Is there a way of restoring the system through time machine on an external HD on Mountain Lion? Does anyone strongly suspect (as I do) that this is the last gasp for the hard drive and a new one is in order? Or is the situation perhaps even more critical given the age of the machine?

    It booted just now after many attempts, but is still extremely slow and unresponsive.
    Once again, please: any help with the matter would be immensely appreciated. Would putting in a new hard drive solve the issue? I read somewhere that moving your computer when it's running can cause the drive to get corrupted. And in fact, that is more-or-less when my problems began.
    Or should i try restoring the computer first through the OS X DVD?

  • MBP suddenly extremely slow, checks return fine - anything else?

    Hi there,
    The issue:  MBP had been working fine but all of a sudden it is frustratingly slow to the point it is near unusable.  This literally happened overnight - it was fine, then I woke up to use the laptop and these issues occured. 95% of requests (clicking on something) are followed by a few sections of nothing, then the spinning pinwheel for anywhere from 5-30 seconds, this also happens when scrolling or opening web pages or writing things in word or on the web.  I have just timed my boot up at 3.23mins and I have nothing that opens on boot up. 
    Spec:  I am using an MBP mid 2012 model, 2.5Ghz Intel Core i5 processor, 4GB 1600MHz DDR3 memory running OS X Lion 10.7.5.  The 500GB hard drive has 323.13GB free space and 2.69GB free memory.
    So far: I have removed any external additions, unplugged anything that was plugged in, disabled my firewall and turned off WI-FI - this didn't help.  I have checked the CPU usage and the computer is having issues even when running at 95% idle.  I just did the AHT which reported no issues and checked the HD in disk utility - it gave me both the brand, model, size of the HD which as far as I know means theres no hard drive issue (correct me if I am wrong).  I also just finished backing up all my files on time machine which took about 2 days.
    I know there have been similar threads which is where I got most of my troubleshooting noted above from.  I am aware that it would also seem logical to take the laptop to get checked out at the apple store, however I am an international student at college in quite a remote area - the nearest apple store is at least 90 minutes away and I am unable to drive cars in the US.  We do have a computer store on campus who have technicians however they charge regardless of if they can help - I am wondering if there is anything else I can do myself to fix the issues, or at least determine what might be causing them, before taking the laptop in to be seen as a last resort.
    Any help at all would be greatly appreicated.
    Thanks.
    P.s, apologies for the length of this, I have tried to be as in-depth as possible to avoid any time wasted asking simple questions etc.

    If you don't already have a current backup, back up all data before doing anything else. This procedure is a diagnostic  test. It changes nothing, for better or worse, and therefore will not, in itself, solve your problem. The backup is necessary on general principle, not because of anything suggested in this comment. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    Below are instructions to run a UNIX shell script, a type of program. It does nothing but produce human-readable data about the state of your computer. However, you need to be cautious about running any program at the behest of a stranger on a public message board. If you question the safety of the procedure suggested here — which you should — search this site for other discussions in which it’s been followed without any report of ill effects. If you can't satisfy yourself that these instructions are safe, don't follow them.
    Here's a summary of what you need to do: Copy a line of text from this web page into the window of another application. Wait about a minute. Then paste some other text, which will have been copied automatically, back into a reply on this page. The sequence is: copy, paste, wait, paste again. Details follow.
    You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only run the test in safe mode, proceed anyway.
    If you have more than one user, and the affected user is not an administrator, then please run the script twice: once while logged in as the affected user, and once as an administrator. The results may be different. The administrator is the user that is created automatically on a new computer when you start it for the first time. If you can't log in as an administrator, just run the script as the affected user. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.
    The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking  anywhere in the line. The whole line will highlight, though you may not see all of it in your browser, and you can then copy it.
    Launch the built-in Terminal 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 Terminal in the icon grid.
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign ($) or a percent sign (%). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign.
    Triple-click anywhere in the line of text below on this page to select it:
    clear; shopt -s extglob; Fb='%s\n\t(%s)\n'; Fm='\n%s:\n\n%s\n'; Fs='\n%s: %s\n'; PB="/usr/libexec/PlistBuddy -c Print"; Pm () { [[ "$o" ]] && o=$(sed 's/^/   /' <<< "$o") && printf "$Fm" "$1" "$o"; }; Pc () { o=$(egrep -v '^[[:blank:]]*($|#)' "$2"); Pm "$1"; }; Pp () { o=$($PB "$2" | awk -F'= ' \/$3'/{print $2}'); Pm "$1"; }; Ps () { o="${o##+( )}"; [[ "$o" -ne 0 ]] && printf "$Fs" "$1" "$o"; }; a=$(id | grep -w '80(admin)'); r=1; [[ "$a" ]] && { sudo true; r=$?; }; { [[ "$a" ]] || echo $'No admin access\n'; [[ "$a" && "$r" -ne 0 ]] && echo $'No root access\n'; system_profiler SPSoftwareDataType | sed '8!d;s/^ *//'; o=$(system_profiler SPDiagnosticsDataType | sed '5,6!d'); fgrep -q P <<< "$o" && o=; Pm "POST"; o=$(nvram boot-args | awk '{$1=""; print}'); Ps "boot-args"; o=$(df -m / | awk 'NR==2 {print $4}'); [[ $o -lt 5120 ]] && Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/Pageo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( $(sar -u 1 10 | sed '$!d') ); [[ ${s[4]} -lt 90 ]] && o=$(printf 'User %s%%\t\tSystem %s%%' ${s[1]} ${s[3]}) || o=; Pm "Total CPU usage" && o=$(ps acrx -o comm,ruid,%cpu | sed '2!d'); Pm "Max %CPU by process (name, UID, %)"; o=$(kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1); Pm "Loaded extrinsic kernel extensions"; o=$(launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'); Pm "Loaded extrinsic user agents"; o=$(launchctl getenv DYLD_INSERT_LIBRARIES); Pm "Inserted libraries"; for f in crontab fstab launchd.conf sysctl.conf; do Pc $f /etc/$f; done; Pc "hosts" <(sed '1,10d' /etc/hosts); Pc "User crontab" <(crontab -l); Pc "User launchd" ~/.launchd; o=$(find {,/u*/lo*}/e*/periodic -type f -mtime -10d); Pm "Modified periodic scripts"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed 's/\..*$//;s/-[1-9]$//'; o=$(find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l); Ps "Restricted user files"; cd; o=$(find -L /S*/L*/E* {/,}L*/{A*d,Compon,Ex,In,Keyb,Mail/Bu,P*P,Qu,Scripti,Servi,Spo}* -type d -name Contents -prune | while read d; do ID=$($PB\ :CFBundleIdentifier "$d/Info.plist") || ID="No bundle ID"; egrep -qv "^com\.apple\.[^x]|Accusys|ArcMSR|ATTO|HDPro|HighPoint|driver\.stex|hp-fax|\.hpio|JMicron|microsoft\.MDI|print|SoftRAID" <<< $ID && printf "$Fb" "${d%/Contents}" "$ID"; done); Pm "Extrinsic loadable bundles"; o=$(find /u*/{,*/}lib -type f -exec sh -c 'file -b "$1" | grep -qw shared && ! codesign -v "$1"' {} {} \; -print); Pm "Unsigned shared libraries"; o=$(system_profiler SPFontsDataType | egrep "Valid: N|Duplicate: Y" | wc -l); Ps "Font problems"; for d in {/,}L*/{La,Priv,Sta}*; do o=$(ls -A "$d" | egrep -v '\.DS_Store|^com\.apple'); Pm "$d"; done; o=$(ls /L*/L*/Dia*/*.panic | wc -l); Ps "Panics"; o=$(ls /L*/L*/Dia*/*.c* | tail); Pm "System crash logs"; o=$(ls L*/L*/Dia* | tail); Pm "User crash logs"; [[ "$r" -eq 0 ]] && { o=$(sudo profiles -P); Pm "Profiles"; o=$(sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|post[fg]|x)/{print $3}'); Pm "Loaded extrinsic daemons"; o=$(sudo defaults read com.apple.loginwindow LoginHook); Pm "Login hook"; Pc "Root crontab" <(sudo crontab -l);}; o=$(syslog -F bsd -k Sender kernel -k Message CReq 'GPU |hfs: Ru|I/O e|n Cause: -|NVDA\(|pagin|timed? ?o' | tail -n25 | awk '/:/{$4=""; $5=""; print}'); Pm "Kernel messages"; } 2> /dev/null | pbcopy; exit
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). The text you pasted should vanish immediately. If it doesn't, press the return key.
    If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the script will run anyway, but it will produce less information. In most cases, the difference is not important, so don't worry about it.
    The script may take up to a few minutes to run, depending on how many files you have and the speed of the computer. Wait for the line "[Process completed]" to appear in the Terminal window.
    You can then quit Terminal. The output of the script will have been copied to the Clipboard automatically. All you have to do is paste into a reply to this message by pressing command-V again. If any personal information, such as your name or email address, appears in the output, anonymize it before posting. Usually that won't be necessary. Please don't copy anything from the Terminal window.
    When you post the output, you might see in your browser the message, "You have included content in your post that is not permitted." That's because the forum software falsely identifies something in the post as a violation of the terms of use. If that happens, please post the output on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may offer you advice based on the output of the script. They speak only for themselves and I don't necessarily agree with their views.
    Copyright © 2014 Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of Apple Support Communities ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Suddenly extremely slow Time Machine backups on Time Capsule

    My Time Machine backups on Time Capsule have been pretty good in the last few months. In the last week or so I am seeing painfully slow backups. It's not the preparing or the finishing phase, it's the backup itself. Data transfer for other apps is fine. The backup transfers about 50 Kb per second. In more than 3 hours it backed up about 600 Mb. Here's what I get from the Console:
    11/26/08 4:22:07 PM /System/Library/CoreServices/backupd[1281] No pre-backup thinning needed: 1.28 GB requested (including padding), 730.31 GB available
    11/26/08 5:50:47 PM /System/Library/CoreServices/backupd[1281] Bulk setting Spotlight attributes failed.
    11/26/08 6:12:40 PM /System/Library/CoreServices/backupd[1281] Bulk setting Spotlight attributes failed.
    11/26/08 6:51:37 PM /System/Library/CoreServices/backupd[1281] Bulk setting Spotlight attributes failed.
    11/26/08 7:05:44 PM /System/Library/CoreServices/backupd[1281] Unable to rebuild path cache for source item. Partial source path:
    11/26/08 7:05:46 PM /System/Library/CoreServices/backupd[1281] Unable to rebuild path cache for source item. Partial source path:
    11/26/08 7:05:46 PM /System/Library/CoreServices/backupd[1281] Unable to rebuild path cache for source item. Partial source path:
    11/26/08 7:07:05 PM /System/Library/CoreServices/backupd[1281] Unable to rebuild path cache for source item. Partial source path:
    11/26/08 7:07:05 PM /System/Library/CoreServices/backupd[1281] Unable to rebuild path cache for source item. Partial source path:
    11/26/08 7:09:06 PM /System/Library/CoreServices/backupd[1281] Unable to rebuild path cache for source item. Partial source path:
    11/26/08 7:09:13 PM /System/Library/CoreServices/backupd[1281] Error: (-39) SrcErr:YES Copying (null) to (null)
    11/26/08 7:09:14 PM /System/Library/CoreServices/backupd[1281] Unable to rebuild path cache for source item. Partial source path:
    11/26/08 7:09:14 PM /System/Library/CoreServices/backupd[1281] Unable to rebuild path cache for source item. Partial source path:
    11/26/08 7:12:15 PM /System/Library/CoreServices/backupd[1281] Bulk setting Spotlight attributes failed.
    Any clue? What happened? (I did an Airport-related upgrade recently)
    My set up is a Time Capsule and an Airport Extreme.

    Well, this link has a video describing a downgrade:
    http://www.mefeedia.com/entry/airport-extreme-and-time-capsule-firmware-downgrad ing/11537477/
    It has been mentioned in apple discussions here as well, but with no other information than that it has helped some people.
    Message was edited by: Karl Ivar Dahl

  • Suddenly extremely slow

    Hi all.
    Suddenly my Mac become very slow. Please help, Its been playing up for a while since I install adobe and then updates came through. I tried some free virus scan (one downloaded from apple store) but it is even worse then ever. I cannot even back anything up. some things i can't open and it would take hours.
    its Macbook Pro. OX 10.7.5. Lion. bought it August 2011.

    Your problem is excessive swapping of data between physical memory and virtual memory. You're not out of storage space.
    That can happen for two reasons:
    You have a long-running process with a memory leak (i.e., a bug), or
    You don't have enough memory installed for your usage pattern.
    Tracking down a memory leak can be difficult, and it may come down to a process of elimination. In Activity Monitor, select All Processes from the menu in the toolbar, if not already selected. Click the heading of the  Real Mem column in the process table twice to sort the table with the highest value at the top. If you don't see that column, select
    View ▹ Columns ▹ Real Memory
    from the menu bar.
    If one process (excluding "kernel_task") is using much more memory than all the others, that could be an indication of a leak. A better indication would be a process that continually grabs more and more memory over time without ever releasing it.
    If you don't have an obvious memory leak, your options are to install more memory (if possible) or to run fewer programs simultaneously.
    The next suggestion is only for users familiar with the shell. For a more precise, but potentially misleading, test, run the following command: 
    sudo leaks -nocontext -nostacks process | grep total
    where process is the name of a process you suspect of leaking memory. Almost every process will leak some memory; the question is how much, and especially how much the leak increases with time. I can’t be more specific. See the leaks(1) man page and the Apple developer documentation for details:
    Memory Usage Performance Guidelines: About the Virtual Memory System

  • Safari on my new iMac 27" running 10.6.3 suddenly EXTREMELY slow.

    Hi is anyone having a similar problem, suddenly my Safari browser has completely ground to a half. I tried installing Chrome on my Mac to see if it is a Safari problem and Chrome is just as slow.
    I am running a Windows 7 and a Linux machine on my home network as well and they run perfectly via the same Wireless router and ISP.

    Hi and Welcome to Apple Discussions...
    Several things to try...
    One, login to another user account, launch Safari. If it lags there then it's a system wide issue, not just isolated to your Home Folder.
    Next, from the Safari Menu Bar click Safari/Reset. Select the top 7 buttons, click Reset. Relaunch Safari. See if that speeds things up.
    If that doesn't make a difference, go here for trouble shooting 3rd party plugins or input managers which might be causing the problem. Safari: Add-ons may cause Safari to unexpectedly quit or have performance issues
    If the issue it's third party plugins, go to the Safari Menu Bar, click Safari/Preferences. Make note of all the preferences under each tab. Quit Safari. Now go to ~/Library/Preferences and move this file com.apple.safari.plist to the Desktop.
    Relaunch Safari and see if that makes a difference. If not, move the .plist file back to the Preferences folder. If Safari functions as it should, move that .plist file to the Trash.
    If you have anti-virus software installed (for Mac), that could be a factor.
    If you didn't repair disk permissions after the update, do that as soon as you can.
    Launch Disk Utility. (Applications/Utilities) Select MacintoshHD in the panel on the left, select the FirstAid tab. Click: Repair Disk Permissions. When it's finished from the Menu Bar, Quit Disk Utility and restart your Mac. If you see a long list of "messages" in the permissions window, it's ok. That can be ignored. As long as you see, "Permissions Repair Complete" when it's finished... you're done. Quit Disk Utility and restart your Mac.
    Carolyn

  • Macbook Pro 10.7 - Suddenly extremely slow and freezes

    Hi, I've had my Macbook for about a year now and never had any problems up until now. All of a sudden today I turned on my Macbook Pro (running 10.7.1) and it took about a minute and 20 seconds to boot up. Once the desktop background picture shows up, the dock will come up about 5 seconds later, then the top bar 5 seconds later, then all of the icons on my desktop about 5 seconds later. If I click on ANYTHING the spinning beachball will come up and then changes back to the mouse icon in about a minute. I can't open any applications in the dock or open any folders, nothing happens and then the beachball comes back. I have tried booting in safe mode and that seems to work okay, but still a little slower than normal. Checked the activity monitor and nothing major seems to be going on. Reset PRAM, nothing changed. Checked disk utility and everything was fine. If anyone has any idea what might be wrong, please help me out here. I appreciate it, and thank you!

    This seems like a very common issue! I purchased the OS X Lion the very next day after its release.. used it for a few days on my Macbook Pro.. I also updated all my applications (adobe, office, ilife etc) to make it run smoothly and compatible on the Lion.. but after a month or so, my machine became like the first macintosh Mr. Jobs made.. VERYYY SLOOWW!!!!! it would take 5-7 minutes to boot up, and the dock wud also take time!! The beach ball occupied my screen so much time, that I even forgot how the normal cursor looked like!
    I decided to upgraded my RAM to 8GB, but same problem! I had like thousands of mails and didnt even find any solution to downgrade back to leopard!
    I wasted almost a week to re-install snow leopard and all my applications!! and luckily google apps saved me with all my mails! Since then I have been ignoring every single update! I am happy with snow leopard!!
    LION IS VERYY BUGGY! I wasted my $30 odd bucks!!! I often search for freezing beach ball lion!!! and seems there is no solution till now... NEVER GOING TO UPGRADE!!!

  • Sudden extreme slow performance

    I have run Tiger on this machine for about 6 months with no problems. In the last few weeks everything has started slowing down noticably. The hard disk is running ragged, constantly reading/writing, from looking at the cpu monitor it seems like the computer is not actually using it's ram and is just reading and writing. I tried clearing caches and that worked for a few hours but the machine now seems to lock up after a few hours use. I get to the point where i cannot open menus, switch programs, or even force quit or restart. Everything locks up - spinning beachball - and the hard disk is left constantly writing. I have 9 -15Gb free out of 40Gb on the disk - i assume this is enough. Playing music and safari is no problem. But I am using iphoto and photoshop as well as other programs in the background. This was never previously a problem and ran smoothly. I know it's fairly vague but if anyone can help..

    Hi, Ben.
    Thanks. However, it would help to see some of the specific data points from the instructions in those FAQs. Specifically:
    1. You wrote: "(the pageins/outs are about equal) but i'm getting REALLY slow performance across the board. "It still sounds like it is "thrashing."1.1. Did you check the pagesin/pageouts per second as described in my "Problems from insufficient RAM and free hard disk space" FAQ? The per-second values can only be found using top as described therein.
    1.2. Did you check for a runaway process in Activity Monitor per the "Troubleshooting" section in my "Tuning Mac OS X Performance" FAQ?.
    The activity you describe (beach ball, heavy disk writing) has to be coming from somewhere, so checking Activity Monitor as I describe in that FAQ should tell you. Find the process consuming the most %CPU as instructed in the FAQ. Post back the result, i.e. the process name.2. You wrote: "It seems to lock itself up with the hard disk clicking and crunching. Is it possible the hard disk is giving up and so is writing at a very slow speed??? "To check this, see my "Resolving Disk, Permission, and Cache Corruption" FAQ:2.1. Perform at least Steps 1-3 of the Procedure section therein in the order specified.
    2.2. Also, review the section therein on "Bad Sectors" to see if the "clicking and crunching" sounds you are hearing are similar to those that generally indicate bad sectors.3. If the disk checks out OK per point 2 above, and depending on what you find in point 1.2 above, the process may be an errant Startup or Login Item. My "Troubleshooting Startup and Login Items" FAQ can help you pin that down if such an item is causing the problem.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Internet suddenly extremely slow on windows 7 partition.

    Hello all,
    Here is my situation: I am connected to the internet via ethernet, Im on a current generation iMac, and Im running windows 7 through bootcamp. About an hour ago, I logged in on my windows partition to find that my internet connection was running unnaturally slow. I tested its speed via an online speed test to find that my ping was an unexpected 479ms, where as, when I tested it on my mac partition, it was a mere 25m. The most peculiar thing about this issue is that im earlier this today (two hours earlier) my connection was perfectly fine.
    The other piece of information I have is that on my windows partition, my connection will spontaniously die about 10-30 minutes after launch very freuquently. To restore my connection, about 70% of the time I can simply unplug and replug in the ethernet cable, but if that doesnt work, I have to pull a full restart. I've only noticed this on my windows partition, though I generally game on windows also, so its possible its just my cable, and I dont notice it while on my mac partition.
    Thanks for your time.
    -Will

    UPDATE: I just checked and my connection speed has been miraculously restored to a ping of 30ms. Though if anyone has any ideas as to why this is happening, Id like to hear them in case this happens again.

  • Suddenly extremly slow

    This morning I could not turn my Macbook pro on.Later I discovered it took exremly long time.After turning on it takes about fifteen minutes before I can choose my account. Then my desktopwindow comes up and after 30 minutes the dock comes up. Yet so far I have not seen any Icons coming up. The red ball ins rolling and the mouse is working. Its just that it is so slow that Its impossible to use. What could have happened and how to fix this...

    ihatejunkmail wrote:
    Well I tried to run the verfy permissions but I could not do that. Also tried to transfer some files to my old Mac but after plugging the fire wire no HD icon mounted on the screen. I have about 350 GB to tranfer any way , not sure How to do that...Will contact the apple care tomorrow. In thjis kingdom they are not open on Sundays. Hope the problem is not so hard as you think
    If it's a dying HD (and it sounds like it) the more you use it, the less life it has left. Given that it won't mount on your other Mac (you started your MBP in Target Mode, yes?) it sounds like it may be too late already. The only thing I'd start the MBP for is to try data recovery.
    You may be at the point where you need to try Disk Warrior or TechTool Pro to repair "software" damage to the HD's directory (no utility can repair physical hardware damage). If that isn't able to repair things enough to retrieve data, it may be time to try data recovery software, and if it's too late for even that, the last option is very expensive data recovery service.

Maybe you are looking for

  • Printing a form in portal

    I am trying to create a form via the Wizard and need to create an extra button for PRINTING the current form. How do I do this?

  • Eclipse and auto-completion

    Hi all, I'm experiencing a strange behavior with eclipse. If i type Ctrl+Space to allow auto code completion, eclipse hooks up, cpu goes to 100% and i can only force quit. Looking on google, it seems that is a xulrunner issue, they suggest to remove

  • ALV Row Counter or row number

    hi, plz i want to make row counter or row number in alv report , how can i? ex. NO  :  Name   :  age 1      :  ahm    :  12 2       : a2        :  25 3        :  a3       : 30 30 waiting answers thanks

  • Flash player dont work

    flash player dont work after update from flash player 10.11 to the new flash player 11

  • [svn:bz-trunk] 10595: Add ReadOnly test case for bug blz-427

    Revision: 10595 Author:   [email protected] Date:     2009-09-25 11:44:20 -0700 (Fri, 25 Sep 2009) Log Message: Add ReadOnly test case for bug blz-427 Ticket Links:     http://bugs.adobe.com/jira/browse/blz-427 Modified Paths:     blazeds/trunk/qa/ap