Applications idle for 10 seconds before starting

Hello,
I've just upgraded my rig from the ole' trusty P4 to a blazingly fast C2D. Since I have 4GB RAM, the only option was Arch64. Eager to conquer new lands, I set sail.
Since yesterday I've installed just about everything. The system works flawlessly and is extremely responsive. The only problem I have (which I didn't have on my P4) is that the applications not always start when they should. Sometimes they wait exactly 10s for who knows what. And then they launch.
For example:
mc [enter]
<instant launch>
F10 [enter]
mc [enter]
<instant launch>
F10 [enter]
mc [enter]
<waits 10 seconds, then launches>
And so on, it's completely random. It does that in X and in virtual console, everywhere.
At first I thought it may be UvesaFB, but I removed it and it still does that. Any ideas?
Full specs:
Arch 64, Gnome + Openbox.
Intel e7400
nVidia GeForce GTX 260
2x2GB RAM
Asus P5Q Pro
And yes, I've removed the IPv6 module.
Here's a time:
[aidenn@intruder ~]$ time mc
real 0m10.458s
user 0m0.007s
sys 0m0.003s
I quit as soon as it launches, real is always over 10s.
Last edited by Aidenn (2009-03-12 07:40:43)

Aw crap, such a basic mistake. Yes, that fixed it, thanks. ;)
It's because with the P4 I had a static network and now I have DHCP, so I figured localhost would suffice. I added the hostname after localhost and voila, problem be gone. Damn, that was tricky.
-- edit --
Now I have another problem. I thought it was one issue, but it seems there are two. gnome-terminal doesn't always work. Sometimes it opens up a window and sits there without writing anything. Though this one is not for 10s, but indefinitely. Halp?
-- second edit --
Nevermind, it fixed itself. Prolly didn't register the hostname for a while. Thanks for everything and sory for the bother. ;p
-- third edit --
Wait, it did it again. ;p
It seems like a 1:100 affair. Only with gnome-terminal though, everything else works as advertised.
Last edited by Aidenn (2009-03-12 08:15:09)

Similar Messages

  • Data lost when keeping the application idle for min & accessing after that.

    Hi Andrejus and everyone ,
    I am using Jdeveloper 11.1.1.3.0 . I have an application , that has 2 show detail items , have data in both the items . I am maintaining my application idle for 12 min . After that i am trying to do some action in one of the tabs like navigating from one tab to the other tab. i find the data getting lost . I mean 10 min as i have maintained my "idle instance time out " for the am used as 600s - 10 min.
    But when i try doing the same in a sample application created using HR schema , i do not find any data loss.
    Referred the link given by andrejus
    http://andrejusb.blogspot.com/2010/02/optimizing-oracle-adf-application-pool.html
    I am facing the same issue . Kindly someone help me in suggesting in overcoming this data loss.
    Thanks
    Vini

    Hi,
    The thing is the following now, using default timings:
    FSB 216 = systems seems to run stable. -> Everest shows 6036 MB/s / Latency 48.3 ns
    FSB 218 = Had problems playing FEAR.
    Now I decided to go for the GC, I've used coolbits to overclock my GC the max it could, using the auto detect.
    From the max values I reduced like 20% of the total oc in both memory and GPU. As soon as I tried to test it the screen started to blink.
    Now I think I know what happened before, I think the stdby was lowering the clocks and this somehow causes the problem. So it's not the OC itself but the slowing down of the NVIDIA clocks.
    I would like to know what would be the limit of my GC, bu right now I'm not in the mood to keep restoring my HD image. Besides, in the last times the crash was demaging other partitions as well, and for these I have no image. I really don't get why the the other partitions are demaged.
    Anyway, thanks for the tips.

  • After effects slow ram preview hold for 4 seconds before starting

    Hi I have upgraded from After effects CS5.5 to CC 2014 , and I notices that when I want to make Ram view by hitting 0 num pad key , it pauses for 3 or 4 seconds before it start caching , and it become really annoying if you want to ram preview every 1 min , I tried playing around with the Preferences /Memory/ Ram reserved for other apps , but no good .
    That was not the case in CS 5.5 , is it was starting caching as soon as I hit the 0 key .
    I am working on Mac pro workstation , quad core intel xieon 2x 3.2 Ghz Mac Os 10.7.5
    Thanks

    I am guessing that you have MP rendering turned on in the preferences. Please turn it off and test again.

  • Screensaver says "Loading Photos" for a few seconds before starting

    Hello,
    I have a mid 2011 Imac and am running OSX 10.9.5.  I have a photo screensaver which directs to a specific folder of about 2,000 photos (total size of 8 GBs). Before the screen saver starts, it displays a screen saying "Loading Photos" for approximately 5 seconds.  I know this is a small problem, but it's annoying.  This used to not happen and the photos would start being displayed immediately after the screen saver starts.  I think this "Loading photos" started around the time I upgraded to Mavericks.  I just installed 8 more GBs of RAM (total of 12), thinking this would solve the problem, but the "Loading photos" still happens. 
    How can I fix this?  Is this symptomatic of other speed issues?
    Thanks.

    Safari is a fully Universal Application which means it does not run under Rosetta on an Intel Mac, nor does it run under Rosetta on PowerPC based machine as Rosetta does not exist for PowerPC.
    I have no idea what you could possibly mean when you say you watch WMP clips, unless you have a WMP player visible in Safari. In this case Safari is still not running under Rosetta but possibly the WMP player is.
    Also try using real words in your replies rather than bad spelling. Your reply should have been "Yes it does, that's how I watch WMP clips", hardly difficult.

  • Xorg takes more than two seconds before start

    I was trying to speed up my boot process yesterday.
    but, there is a problem that xorg starts slow.
    http://miko.tw/~virtuemood/bootchart.png
    it hangs before it starts.
    what should I do?
    Last edited by virtuemood (2009-07-17 10:48:50)

    I remove some line from my xinitrc .
    but,It start up more slowly ...
    this is my xinitrc:
    ==================
    #!/bin/sh
    export LC_CTYPE="zh_TW.UTF-8"
    export LC_NAME="zh_TW.UTF-8"
    export LC_ALL="zh_TW.UTF-8"
    /usr/bin/xfce4-panel &
    /usr/bin/xfdesktop &
    export GCIN_XIM=gcin
    export XMODIFIERS=@im=gcin
    export XIM_PROGRAM=gcin
    export GTK_IM_MODULE=gcin
    if [ ifconfig -a|grep eth1 ]
            then syndaemon -d -i 0.2 
            else numlockx on 
    fi
    exec /usr/bin/openbox
    ==================
    Last edited by virtuemood (2009-07-18 16:39:16)

  • How many times Application.Idle event is generated per second when application is idle?

    Hi,
    I want to implement a function when application is idle for more than 20sec.. Am using Application.Idle for determining application's idle state.. But i don know how to calculate the idle duration.. Can any one provide a sample code?

    E.g.
    namespace WindowsFormsApplication2
    using System;
    using System.Windows.Forms;
    public partial class Form1 : Form
    MessageFilter messageFilter ;
    public Form1()
    InitializeComponent();
    Application.Idle += new EventHandler(this.Application_Idle);
    this.messageFilter = new MessageFilter(this);
    Application.AddMessageFilter(this.messageFilter);
    private void Application_Idle(Object sender, EventArgs e)
    this.timer1.Enabled = true;
    private void timer1_Tick(object sender, EventArgs e)
    this.textBox1.Text += "timer1_Tick";
    public void StopTimer()
    this.timer1.Enabled = false;
    public class MessageFilter : IMessageFilter
    private Form1 owner;
    public MessageFilter(Form1 form)
    this.owner = form;
    public bool PreFilterMessage(ref Message m)
    const int WM_TIMER = 0x113;
    if ( m.Msg != WM_TIMER)
    this.owner.StopTimer();
    return false;

  • Crystal report not shown after application idle time

    i have a web page which uses around 10 session variables to store values on a button click.and after assign session values Response.Redirect("~/url",false); to a a page which contains crystal report viewer.and report should show those session values.after keeping the application idle for 45 mins i click on the button which assign session values.then it's redirecting to the report page but the report is not shown.it shows a empty page and no errors shown(only happens application is idle for nearly 45 mins other wise works fine)
    i'm using iis 7
    in the web.config i have set sessionState timeout="60" and application pool idle time out to 60 mins.
    any idea why this happens

    Make sure you are on SP 8
    Make sure you are using .Close and .Dispose on your report objects as you get done with them.
    What OS? (2003, 2008, 2012)
    Provide more info on the following:
    The problem is that the Crystal Report Viewer does not load after a few hours.
    What does that mean? Errors? Warnings? Behavior? Symptoms?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Application PC for reader had a big problème

    Hello, I need help!
    When I connect my Ereader at my computer, the application PC for reader is starting but when the automatic syncronization start, the application is fall down, Window stop it and I cannot utilize the application. It's make my crazy and sad to try a lot of things and nothing is working.
    Thanks for your help,
    Manon
    Solved!
    Go to Solution.

    Hello Manon,
    Follow the steps mentioned on the below link.
    http://www.kb.sony.com/selfservice/documentLink.do?externalId=C1025075
    If the issue still persists, contact our Reader Support team from the below link.
    http://ebooks.custhelp.com/app/answers/detail/a_id/93
    If my post answers your question, please mark it as an "Accepted Solution."

  • HT6058 I have updated my I pad dut I'm still having problems my iPad seems to freeze and when I go to put in my pin it take a few seconds before the numbers go in and my games stop and start and stop and start for a bit before they run properly

    I have updated my I pad dut I'm still having problems my iPad seems to freeze and when I go to put in my pin it take a few seconds before the numbers go in and my games stop and start and stop and start for a bit before they run properly

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.) No data/files will be erased.
     Cheers, Tom

  • IMac 27" 3.06ghz white screen for 40 seconds on start up before grey apple

    when i start up my iMac 27" 3.06GHZ i get a white screen for 40 seconds before the grey apple appears and it boots up.
    If anyone else is experiencing this or has a solution it would be great if you could reply.
    Cheers.

    Hi guys,
    I'm new to the forum, i have recently bought a new imac 27" i7, i don't have any problems with white screens when starting up, the imac runs great, however when i try playing any games thats when the problems start. i installed X-plane it first worked without any problems but not in full resolution, i upgraded the resolution to the maximum imac resolution and from that moment every time i start the game the screen turns white you can hear the imac starting the game and even for a while sound appears, but then after 30 seconds the programs fails and you get a typical apple message.
    i have also tried installing need for speed, here i didn't change anything to the graphics however the problem occurred straight away. white screen then the sound of the games menu and crash. did anyone else have this problem? is there a solution to this? i would like to apologize if this matter has been discussed in earlier forums. However i hope there is someone whom is able to give me a helping hand here. Whats wrong???? thanks ruben

  • Safari 7 - Delay in opening tabbed pages, often blank for 3 to 8 seconds before appearing.

    Using a late 2013 13” MacBook Pro-r, 16 GB RAM, OS 10.9.2, Safari 7.0.3. It seems Safari 7 is slower in opening pages in general – i.e. the progress bar often advances halfway then sits there for several seconds before a page opens. However, an annoying particular issue I am having: after I Command+click to open a series of web links in separate tabs, when I go to a tab the page is often blank for 3 to 8 seconds before appearing. Sometimes I’ll see a spinning beachball while I’m waiting for the page to appear – but the page will usually eventually render. During this delay I cannot even close the window – this just produces the spinning beachball. This delay occurs regardless of when the tab was created – it can be several minutes after the link was originally clicked. It doesn’t happen for all page tabs opened, but does happen for many pages. This delay in seeing the page may be related to advertisements on the page, because sometimes the page will appear without ads and has a spinning beachball, then a few seconds later the ads fill in and the beachball stops. I don’t have any of these slowness issues with my old iMac running Safari 5.
    I regularly reset Safari and empty the Library/Caches folder. I am neither running any Safari add-ons nor using any extensions. I do have some Safari Plug-ins (Adobe Flash, Flip4Mac, Java, Microsoft Office Live, Quicktime, Silverlight). No Shared Links and the only Internet account I have in Safari is my one ISP email account. I use a 3 MB/s DSL service via wired Ethernet connection.
    Any help would be appreciated.

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) on the advice of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. 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 test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. 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 the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin; clear; Fb='%s\n\t(%s)\n'; Fm='\n%s\n\n%s\n'; Fr='\nRAM details\n%s\n'; Fs='\n%s: %s\n'; Fu='user %s%%, system %s%%'; AC="com.autodesk.AutoCAD  com.evenflow.dropbox com.google.GoogleDrive"; H='^[[:space:]]*((127\.0\.0\.1|::1|fe80::1%lo0)[[:space:]]+local|(255\.){3}255[[:space:]]*broadcast)host[[:space:]]*$'; NS=networksetup; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; BI () { $PB\ :CFBundleIdentifier "$1"; }; LC () { $2 launchctl list | awk 'NR>1 && !/0x|\.[0-9]+$|com\.apple\.(AirPortBaseStationAgent|launchctl\.(Aqua|Background|System))$/{print $3}' | grep -Fv "$1"; }; M () { find -L "$d" -type f | while read f; do file -b "$f" | egrep -lq XML\|exec && echo $f; done; }; AT () { o=`file -b "$1" | egrep -v '^(A.{16}t$|cann)'`; Ps "${1##*/} format"; }; Pc () { o=`grep -v '^ *#' "$2"`; l=`wc -l <<< "$o"`; [[ l -gt 25 ]] && o=`head -n25 <<< "$o"`$'\n'"[$((l-25)) more line(s)]"; Pm "$1"; AT "$1"; }; Pm () { [[ "$o" ]] && o=`sed -E '/^ *$/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/(\/Users\/)[^/]+/\1-/g' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o=`echo $o`; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; R () { o=; [[ r -eq 0 ]]; }; SP () { system_profiler SP${1}DataType; }; id -G | grep -qw 80; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; SP Software | sed -n 's/^ *//;5p;6p;8p'; h=(`SP Hardware | awk '/ Id/{print $3}; /Mem/{print $2}'`); o=$h; Ps Model; o=$((h[1]<4?h[1]:0)); Ps "Total RAM (GB)"; o=`SP Memory | sed '1,5d;/[my].*:/d'`; [[ "$o" =~ s:\ [^EO]|x([^8]|8[^0]) ]] && printf "$Fr" "$o"; o=`SP Diagnostics | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm POST; p=`SP Power`; o=`awk '/Cy/{print $NF}' <<< "$p"`; o=$((o>=300?o:0)); Ps "Battery cycles"; o=`sed -n '/Cond.*: [^N]/s/^.*://p' <<< "$p"`; Ps "Battery condition"; for b in FireWire Thunderbolt USB; do o=`SP $b | sed -En '/:$/{s/ *:$//;x;s/\n//;/Apple|Intel|SMSC/d;s/\n.*//;/\)/p;};/^ *(V.+ [0N]|Man).+ /{s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;}'`; Pm $b; done; o=`pmset -g therm | sed 's/^.*C/C/'`; [[ "$o" =~ No\ th|pms ]] && o=; Pm Heat; o=`pmset -g sysload | grep -v :`; [[ "$o" =~ =\ [^GO] ]] || o=; Pm "System load"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; o=; fdesetup status | grep -q On && o=On; Ps FileVault; a=(/ ""); A=(System User); for i in 0 1; do o=`cd ${a[$i]}L*/Lo*/Diag* || continue; for f in *.{cr,h,pa,s}*; do [[ -f "$f" ]] || continue; d=$(stat -f%Sc -t%F "$f"); [[ "$f" =~ h$ ]] && grep -lq "^Thread c" "$f" && f="$f *"; echo "$d ${f%%_2*} ${f##*.}"; done | sort | tail`; Pm "${A[$i]} diagnostics"; done; grep -lq '*$' <<< "$o" && printf $'\n\t* Code injection\n'; o=`syslog -F bsd -k Sender kernel -k Message CReq 'caug|GPU |hfs: Ru|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|timed? ?o|WARN' -k Message Ane 'SMC:' | tail -n25 | awk '/:/{$4=""; $5=""};1'`; Pm "Kernel log"; o=`df -m / | awk 'NR==2 {print $4}'`; o=$((o<5120?o:0)); Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 85 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Ps "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); n=$((${#s[*]}-1)); c="${s[*]}"; o=${s[$n]}%; Ps "CPU usage by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); n=$((${#s[*]}-1)); s[$n]=${s[$n]%[+-]}; c="${s[*]}"; o=$((s[$n]>=25000?s[$n]:0)); Ps "Mach ports used by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; sys=`pkgutil --regexp --only-files --files com.apple.pkg.* | sort | uniq | sed 's:^:/:'`; bi=`egrep '\.(kext|xpc)/(Contents/)?Info.plist$' <<< "$sys" | while read i; do [[ -f "$i" ]] && BI "$i"; done`; o=`kextstat -kl | grep -Fv "$bi" | cut -c53- | cut -d\< -f1`; Pm "Kernel extensions"; li=`egrep 'Launch[AD].+\.plist$' <<< "$sys"`; jl=`while read f; do [[ -f $f ]] && $PB\ :Label $f; done <<< "$li"`$'\n'"$bi"; R && o=`LC "$jl" sudo`; Pm Daemons; o=`LC "$jl"`; Pm Agents; o=`for d in {/,}L*/Lau*; do M; done | grep -Fv "$li" | while read f; do ID=$($PB\ :Label "$f") || ID="No job label"; printf "$Fb" "$f" "$ID"; done`; Pm "launchd items"; o=`for d in /{S*/,}L*/StartupItems; do M; done`; Pm "Startup items"; b=`sed -E '/^.+Lib.+\/Contents\/Info.plist$/!d;s/\/Info.plist$//;/Contents\/./d' <<< "$sys"`; l=`egrep '^/usr/lib/.+dylib$' <<< "$sys"`; [[ "$b" && "$l" ]] && { o=`find -L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type d -name Contents -prune | grep -Fv "$b" | while read d; do i="$d"/Info.plist; [[ -f "$i" ]] || continue; ID=$(BI "$i") || ID="No bundle ID"; printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Bundles"; o=`find /usr/lib -type f -name *.dylib | grep -Fv "$l"`; Pm "Shared libraries"; :; } || echo $'\nReceipts missing'; o=`for e in INSERT_LIBRARIES LIBRARY_PATH; do launchctl getenv DYLD_$e; done`; Pm "Inserted dylibs"; o=`find -L {,/u*/lo*}/e*/periodic -type f -mtime -10d`; Pm "Modified periodic scripts"; o=; defaults read /Library/Preferences/com.apple.alf globalstate | grep -q 0 || o=On; Ps Firewall; o=`scutil --proxy | grep Prox`; Pm Proxies; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; i=`route -n get default | awk '/e:/{print $2}'`; I=`$NS -listnetworkserviceorder | sed -En '/ '$i'\)$/{x;s/^\(.+\) //p;q;};x'`; n=`$NS -getdnsservers "$I" | awk '!/^T/{printf "not "; exit}'`; Ps "DNS (${n}from DHCP)"; o=`$NS -getinfo "$I" | awk '/k:/{if ($3 !~ "(255\.){3}0") print}; /v6:/{if ($2 !~ "A") print}'`; Pm TCP/IP; [[ "$I" =~ [AW]i ]] && { o=`/S*/*/P*/*/*/*/*/airport -I | awk '/lR/{print $2}'`; o=$((o<=-87?o:0)); Ps RSSI; }; R && o=`sudo profiles -P | grep : | wc -l`; Ps Profiles; f=auto_master; [[ `md5 -q /etc/$f` =~ ^b166 ]] || Pc $f /etc/$f; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; f=/etc/hosts; Pc hosts <(egrep -v "$H" $f ); AT $f; Pc "User launchd" ~/.launchd*; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; LD="$(`find /S*/*/F* -type f -name lsregister | head -n1` -dump)"; o=`for ID in $AC; do [[ "$LD" =~ $ID ]] && echo $ID; done`; Pm "App check"; 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 -E 's/(\..*$|-[1-9])//g'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`find .??* -path .Trash -prune -o -type d -name *.app -print -prune`; Pm "Hidden apps"; o=`SP Fonts | egrep 'id: N|te: Y' | wc -l`; Ps "Font issues"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist | while read f; do plutil -s "$f" >&- || echo $f; done`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in 0 1; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} file count"; done; o=; [[ UID -eq 0 ]] && o=root; Ps UID; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. 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.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. 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 test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • Application lags, until second Instance is started - AND no lagging on another machine...

    Hey, it's me again:
    The last days I started to get along with LabWindows quite well, and my program grew very fast, but today I found a probleme, I do not really know how to handle.
    When I compile my program (both in "debug" and "release"-mode), and start it, it lags quite a lot, but the another version, I still had from friday and did NOT lag that day, started to lag too. So there must be any problem with maybe the configuration or whatever.
    But the weirdest thing:
    When I first start one Version (does not matter which one), and than afterwards start another Instance of it, or a complete other Version (maybe one Version of Friday, and on I just compiled), the second Application (which lags when being started alone), does NOT lag at all.
    In addition to that, all Versions do NOT lag, when I start them on a little netbook, where they're supposed to be used anyway.
    Sumarizing:
    1 Instance --> lagging
    2 Instances --> first lags, second doesn't
    This whole thing is very frustrating
    I hope, some of you may know what to do!
    Greetings from Lübeck
    Mathias

    MacMatze:
    Glad you found the problem.  You don't need to be embarrassed by it, but you should learn from it.  It sounds like you need to do some error handling, and should probably do some status reporting.  Here are a couple of suggestions.
    1. To troubleshoot a "lagging" problem, you could single-step through your code to see which statement takes longer than you expect.
    2. If the problem was that a power supply was unplugged, it was still unplugged when you started your second instance of the program.  I'd guess you didn't see the lag on the second instance because one or more errors were generated because some resource (maybe like a COM port) was already tied up by the first instance.  Since you didn't mention getting error when you started your second instance, I'd guess that you are ignoring errors that you should be handling.  Many functions indicate errors in their return variables.  Review your code for functions whose return variables you are ignoring.  Handle them as needed, even if it's just with a dialog box.
    3. "Of course" your supply will always be plugged in?  Have you heard of Murphy's Law?  If it was unplugged for you, it might be unplugged for another user.  Or the fuse may blow or the power supply may die.  You should find a way to detect and report conditions like that, so your user isn't wondering why the program isn't starting.
    4. If you have multiple steps in your program or hardware initialization, you could put up a status bar with messages indicating the current operation, so if the program appears to hang, at least the user has some idea on what the program is trying to do.

  • Macbook air 2013 needs power button pressed for 10 seconds before it turns on?

    macbook air 2013 needs power button pressed for 10 seconds before it turns on? also I've tried resting PRAM but when i press the 4 buttons before the start up screen it never restarts again? please help!

    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".
    If this does not help, contact Apple.
    Genius Bar reservation:
    http://www.apple.com/retail/geniusbar/
    Best.

  • Everytime I log back into my Macbook Pro the times is wrong for about 3-5 seconds before it corrects itself....

    Does anyone know why everytime I log into my Macbook Pro the times is radomly wrong for about 3-5 seconds before it corrects itself. I have had the Mac for about 4 months and this only started about a month ago.....

    Does anyone know why everytime I log into my Macbook Pro the times is radomly wrong for about 3-5 seconds before it corrects itself. I have had the Mac for about 4 months and this only started about a month ago.....

  • Advice about application structure before starting

    Hi all,
    I am so sorry for this longest post, but I have to explain all thing. Sorry again.
    I have been studying with Labview for a year by myself without taking any professional support. When I get stuck in preparing my VIs, I always post here and you answered me with great patient. Thank you for all. Now, I am about to start a new VI and before starting it I thought it would be good to consult you on that.
    The goal of this VI could be classified under 4 main topics: Acquisition, control, analysis, and recording the data. I am studying on a test system. There are two types of data to be acquired from the test system: pressure and temperature. For this purpose I have 1xNI 9203 (analog input-current) & 2xN9214(analog input-temperature). The test system is desired to be under control by use of a DC compressor with a frequency converter. To control that frequency converter I have to use NI 9263 (analog output- voltage). All hardware system is installed on NI 9188 cDAQ.
    Before preparition of this system, I have coded a VI that acquire, analyse, and record the data-there is no use of NI 9263 (attached here). In this VI, I used a basic structure and it works fine. The only problem of this VI is delaying when the stop button is pressed. Anyway, now I want to prepare a new one. The difference of the new VI from the old one is that it controls the system while acquiring, analysing, and recording processes. And this control is supported by acquired pressure and temperature values. This will be my first big project and I need your suggesttions on structure of this VI. Do I start to build it with state machine architect or another ones? To prevent the data loss what kind of precautions could be taken?
    Thank you all in advance.
    Egemen
    Attachments:
    MAIN PROGRAM_v0.vi ‏147 KB

    Egemen,
    First, Great! It is very important to plan and design your program before starting to write it.
    Next, you do not need to apologize for providing the information necessary for someone to respond to your request. We would very much prefer a post of several paragraphs which contains the relevant information to a brief post which only elicits questions for more details.
    Now to your questions.
    1. Look at the style guides.  Your block diagram was several screens high and wide.  It is recommended to keep the diagram to one screen.  Paticularly in programs which will get large and copmlicated like yours, this readability constraint will be very worthwhile.  Effective use of subVIs is one way to help minimize screen bloat.
    2.  Look at the style guides. The use of local variables to pass data from one loop to a parallel loop is not recommended.  It can lead to race conditions, force execution of the loops in the UI thread, and is slower than wires.
    3. Read the help on Event Structures. Only one event structure per VI is recommended. Although the way you have used them will probably work, it consumes hectares of block diagram space and may be vulnerable to problems when you or another developer decides to make a few changes.
    4. Because there is no data dependency, it is possible (although not very likely) that the main loop could start running before the clear history property nodes execute.
    5. How do your temperature charts know which waveform to display?
    6. You stop on DAQ errors but do not check for file errors. You may want to consider more robust error handling.
    Now, some general comments on program structure. You list 4 topics: Acquisition, control, analysis, and recording the data.  This may also be a good way to think about program structure. The structure probably needs one more topic: User Interface.  The program you posted essentially has 2 topics: User Inputs and everything else.  Think about the timing requirements for each topic.  User interface - needs to respond to user inputs in about 100 ms or the user begins to feel as though the program is not responding. Similarly, displays do not need to update more than a few times per second. Acquisition - Software timed.  Default value = 1.67 Hz. Output not specified, but since you are talking pressure and temperature, it is probably slow also. Once you start doing closed loop control, it may become more important to keep the timing constant. Record data - same timing as acquisition.  However, writing 8-64 channels of data two two files twice per second may not be optimum. And what happens when the OS finds that the files are fragmented and must allocate new sapce for the file and takes more than half a second to do so?  Analysis - Your subVIs were not included so I have no idea what they do, how fast they may be and what effects they may have on the overall operation.
    What I suggest is that you study the Producer/Consumer Design Patterns and State Machines.  I think you may end up with 3 or 4 parallel loops. One will be the User Interface loop with the only event structure. Another will handle all the data acquisition (possibly including outputs when controlling your test system). This will be a state machine which initializes the DAQ, Reads and Writes, and shuts it down when finished. The File writes may be in a separate loop. If file I/O is put into a parallel loop, it should be a state machine which opens, writes, and closes the files and retains the file path or reference for repeated writes. The control and analysis (another state machine) may be in a separate loop or could run in the timeout case of the event structure in the UI loop.  Which is best depends on details of your system.
    With the amount of data you are moving around and the number of property nodes you need to use, learn to manipulate the front panel from a subVI. Search the Forum for posts on use of control references and on updating the main front panel from a subVI. There are some good methods posted.
    Lynn

Maybe you are looking for

  • How can i transfer my current itunes library to my new 3GS?

    Hey; i would be grateful if anyone could help me transfer my current itunes library synced with my 1st gen Touch to my new (ordered) 16gb 3GS? this probably seems like a stupid question but i am hardly an itunes expert! thank-you...

  • How to save multiple attachments in Lion Mail?

    In Snow Leopard Mail, I can save multiple attachments to my Downloads folder with one click. In Lion Mail, I see no way to save attachments except by right-clicking on them one at a time. I must be missing something. Information appreciated.

  • PI 7.0 DB migration

    Hi We are using PI 7.0 (Windows environment).This is HA/Distributed environment PI Application and DB both are running on different host with Microsft Cluster technology for HA We wanted to move DB instance (only DB as we do not want to make any chan

  • Security Violation on jQuery Ajax Request

    Dear all, I'm new to adobe air. I'm developing with Aptana Web, did include the jquery library and tried an ajax call. Seems to work but I receive an error on the return string,  {"d":"NOK"} - parsererror - Error: Adobe AIR runtime security violation

  • Cant connect to itunes store Error (-50)

    It gives me Error (-50) I have tried uninstall reinstall, logging out nothing is working.