Ifconfig hangs consuming all cpu

I just ungraded my 2005-6ish 13" mac book to snow leopard and I noticed that when I was connected to wifi my CPU was pegged at 100% despite not doing anything. Checking the activity monitor showed two instances of ifconfig consuming all my CPU, and they just kept running and running.
I tried force quitting them and new ones popped back in their place. Starting up a terminal I checked for running ifconfigs:
[12:03:57 ~]$ ps -aex | grep ifconfig
8310   ??  S      0:00.00 /bin/sh -c ifconfig -a | grep inet
8311   ??  R      1:40.05 ifconfig -a
8317   ??  S      0:00.00 sh -c ifconfig en1 | awk '{ if(match($1,/ether/)) print $2; }'
8318   ??  R      1:18.01 ifconfig en1
And if I run ifconfig directly, it just hangs never completing:
[12:03:14 ~]$ /sbin/ifconfig.old
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether XX:XX:XX:XX:XX:XX
        media: autoselect
        status: inactive
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 2030
        lladdr XX:XX:XX:XX:XX:XX:XX:XX
        media: autoselect <full-duplex>
        status: inactive
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether XX:XX:XX:XX:XX:XX
        inet X.X.X.X netmask 0xfffffc00 broadcast X.X.X.X
        Configuration:
                priority 0 hellotime 0 fwddelay 0 maxage 0
                ipfilter disabled flags 0x0
I thought it might be something related to my account, but it also happens if I log into the guest account. This happens on multiple wifi networks and after a clean boot. Software update says I'm completely up to date. Any help would be greatly appreciated.

I'm not sure why this solution works. I didn't dig very deep after I used it to fix the problem on my Powerbook G4. However, if you're interested there is a discussion here:
http://smartic.us/2007/11/8/leopard-100-cpu-usage-caused-by-syslogd-and-possibly -time-machine
There is also a short article in the "TipBITS" column at http://db.tidbits.com/
Just search for "syslogd", that's where I found the info I passed along here.

Similar Messages

  • Data Base 11G is consuming all cpu

    i have installed a oracle database 11g and Apex in a vitual machine, I start the virtual machine and also database services start, but after three minuts the consume of CPU for oracle.exe process it grow much until cosume the 100% of CPU
    i don´t know what happen, wich is the cause?

    user11095479 wrote:
    i have installed a oracle database 11g and Apex in a vitual machine, I start the virtual machine and also database services start, but after three minuts the consume of CPU for oracle.exe process it grow much until cosume the 100% of CPU
    i don´t know what happen, wich is the cause?
    >i have installed a oracle database 11g and Apex in a vitual machine, I start the virtual machine and also database services start, but after three minuts the consume of CPU for oracle.exe process it grow much until cosume the 100% of CPU
    i don´t know what happen, wich is the cause?
    COPY & PASTE results from following SQL
    SELECT * FROM V$VERSION;

  • Safari Consuming All CPU Power

    I just recently noticed that Safari seems to be taking a lot more processing power while browsing.
    When I click on a link, the fans start spinning faster, the little colored wheel cursor appears and I can see in Activity Monitor that the CPU usage for Safari goes to 100%.
    This happens every time I click on a link. It even happens if I hit the back button. It happened while I was typing in the post, since My Yahoo web page automatically refreshed on another tab.
    As you can see, I have a dual Power Mac G5 2.5 GHz with 4.5 MBytes of memory.
    This just started happening yesterday. I've never seen this before. From my previous PC days, I would say that I picked up a virus or some kind of Spyware.

    Over the last several weeks, I too have been noticing Safari taking up more system resources than it had in the past. I upgraded to Tiger the day it came out (from 10.2) and only began noticing this problem in early August. Not only have I seen an increase in CPU usage when running Safari, but I've also seen an increase over time of RAM usage. When I restart, RAM usage is under 30% with iCal, Address Book, iTunes, Mail, NetNewsWire, and a weather app running. Later that day after having browsed and done many other actions with only those basic apps running, RAM usage stays at or slightly above 50%. It often pegs out at 65% and again after restarting and re-opening those apps back up with the exception of Safari, RAM usage remains far below 50%. With my meager 800mhz processor, and all the memory leaking and CPU hogging going on, the fan is running much more frequently than it should.

  • JDev 10.1.3ea1 hangs consuming 97% CPU

    I am trying to be as patient as possible with JDev, but it's getting harder and harder. Since I installed JDev it hangs periodically. Today I had to kill it off 4 times. It seemed to have difficulty rendering the code for a new project I am working on. In the JDev logs there are reams and reams of this junk:
    r.java:992)
    at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1156)
    at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:
    44)
    at java.net.URL.openStream(URL.java:1007)
    at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelpe
    r.java:992)
    at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1156)
    at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:
    44)
    at java.net.URL.openStream(URL.java:1007)
    at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelpe
    r.java:992)
    at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1156)
    at oracle.ide.net.IdeURLConnection.getInputStream(IdeURLConnection.java:
    44)
    at java.net.URL.openStream(URL.java:1007)
    at oracle.ide.net.URLFileSystemHelper.openInputStream(URLFileSystemHelpe
    r.java:992)
    at oracle.ide.net.URLFileSystem.openInputStream(URLFileSystem.java:1156)
    Anyone know what the hell is going on? Bring on the production version and lets hope these types of issues will be ironed out.
    Thanks.

    I once had a problem where jdev was trying to unzip a large jar to get to a source file which would cause massive disk thrashing and cpu load....i fixed it byrenaming the jar so it couldn't find it, but in 10.1.2 i still have these problems...usually after my app throws an exception. It is very annoying.

  • Kernel consumes all CPU when running on batteries.

    From some years ago, I can only use my Macbook Pro connected. When I disconnect from energy, the CPU goes all up.
    When I installed OSX Mavericks few weeks from now, everything was solved and I could get my macbook everywhere on batteries. But then it just did the same problem. Does anybody knows what is happening?

    It is a 2010 Macbook Pro I5

  • Mail in 10.6.4 not usable: it consumes all CPU time and will not quit

    Mail application does not work properly.
    It eats up most of the available CPU time (till >300% on my machine), becomes unresponsive and will only quit when killed by a force quit in the Activity Monitor.
    I have only two accounts set up. One Gmail account and a google apps one.
    I used to synch with a Blackberry but now I synch directly through google apps.
    The problem was sporadic at best at first but has become the usual behaviour now. Major change has been installing 10.6.4
    I have switched to Thunderbird since Mail is not usable.
    Tx for any hint on how to solve this issue

    It seems to be a recurring issue with 10.6.4...there's probably not much mere mortals like us can do. I haven't found a solution. Try re-installing 10.6.4.

  • Oracle.exe consuming 100% CPU on windows and database hang

    Hi all,
    every time my oracle database is hanging when the application run, the problem is the oracle.exe consum 100% CPU but not memory and the server hang and the dabase is going to inaccessible, we need to restart oracle instance service or server to bring the databas eback to normal but it's not permanent because the problem occurs once the application turn on.
    Checking the log file i found the below error every time:
    My database version is 9.2.0.7.0
    OS: Windows 2003 Server Standard Edition Service Pack 2
    RAM: 3,5Gb
    CPU: Inte Xeon 3.20 GHz
    ORA-00600: internal error code, arguments: [kghuclientasp_03], [0xBFEADCE0], [0], [0], [0], [], [], []
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-29400: data cartridge error
    KUP-04050: error while attempting to allocate 163500 bytes of memory
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    Fri Mar 05 05:35:15 2010
    Errors in file e:\oracle\admin\optprod\udump\optprod_ora_5876.trc:
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-04030: out of process memory when trying to allocate 8389132 bytes (pga heap,redo read buffer)
    ORA-04030: out of process memory when trying to allocate 8389132 bytes (pga heap,redo read buffer)
    ORA-04030: out of process memory when trying to allocate 8180 bytes (callheap,kcbtmal allocation)
    Thank you
    Lucienot.

    Is this a new application on this database?
    Has it run well in the past?
    I have had this happen before on a 32bit Windows server. Our problem was a poorly written procedure that kept pegging the cpu to 100%. You should be able to figure out what SQL is being used that is causing this problem, it will be the Top Working SQL most likely.
    I also had this problem on a Logical Standby server which was trying to apply SQL to the SYS.AUD$ table. As soon as SQL Apply was started, the CPU went to 100%. Once I truncated that table, the cpu usage went back to normal. Not sure what you are using to monitor your database but if you can, try to find out what SQL is running when your CPU goes to 100%.

  • Emacs consuming all of CPU

    Hello,
    I have a problem with the new Emacs 23.2.1 in that it consumes all of my CPU when running under X. In console mode it works normally. Do you also experience this?

    The same problem just happened to me today. I requested reopening of the following task in the bugtracker: http://bugs.archlinux.org/task/19397
    Removing the file .kde4/env/gtk-qt-engine.rc.sh as described in the 3rd comment to the above task did not solve the problem for me.
    I didn't try the cedet patch, because that's from 2006 and the 100% cpu problem appeared with emacs 23.2.1 which is brand new.
    Last edited by iromeister (2010-05-23 18:20:58)

  • Why does my iWork update hang with zsh consuming 100% cpu?

    The App Store updates for iWork Apps (Numbers, Keynote, Pages) have hung for me multiple times.  After some digging, the hangs appear related to setting zsh as my default shell (Open Directory UserShell /bin/zsh).  When an update is hung in App Store, Activity Monitor shows zsh is consuming ~100% cpu.  Inspecting the process, it's hung on zsh -c defaults delete com.apple.helpd com.apple.helpd.sdmMapsCreated or something similar each time.  If I kill the hung process enough times, eventually the update completes.
    Most recently encountered updating to Numbers 3.5.2 on OS X 10.10.1 with $SHELL=/bin/zsh 5.0.5 (x86_64-apple-darwin14.0).
    Possibly related to keynote not installing. 
    Definitely related to http://apple.stackexchange.com/questions/146919/zsh-using-100-of-cpu-during-iwor k-install.  The workaround described here is the only way I've gotten through it.

    You probably deleted something crucial to the stability of the operating system. I suggest backing up your important files, and doing a complete reinstall.

  • Opening VI and consuming 100% CPU power

    I am trying to debug my VI. The first few times the VI ran well but suddenly the VI hang up. I have no choice but to end the LabView process using the Task Manager. When I try to restart this VI again, it fails to open and the Task Manager indicates that the LabView program is now consuming 100% of the CPU time but still fail to open this VI. Looks like it is entering into an infinite loop. I cannot fix anything for I cannot go into my VI to change anything. LabView just consumes all the CPU power and do nothing. What went wrong?
    Regards,
    Larry

    Okay.  That is very strange.  I am seeing the same behavior.  (I have LV 8.2)
    When I first downloaded the VI, it opened just fine.  If I did a saveas, closed the VI, and reopened the copy, I got 99% CPU usage.  I reopened the one from the message, no problem.  I left that one open and tried opening the one I had saved.  It said I already had one in memory by that name do I want to view the one in memory or replace?  I said replace.  When it opened to the block diagram, everything was okay.  But when I clicked on the window to view the front panel, that is when the CPU usage jumped up again.
    So somehow the problem is associated with the FP.   Nothing looks particular wrong about your code.  The question is how did you manage to get a copy of the file that isn't causing problems when you open it?
    I think you will want to recreate the VI from scratch.  You are able to view a copy to see whay you have which is good.  And it doesn't look too complicated.
    What is interesting is that if I delete everything from the VI's block diagram (leaving nothing apparent on the FP), save, close, reopen, I still get the extreme CPU Usage.  It seems confined to LV, as I am still able to switch over and working within the browser to answer this message.
    Message Edited by Ravens Fan on 04-16-2007 02:30 PM

  • Dbwr consuming high CPU after enabling DirectIO

    Hi,
    DBWR is consuming high CPU. After enabling DirectIO on Solaris SPARC 10, dbwr is eating away almost 1 CPU on a v440 machine i.e. 19% throughout the day. Neither of "buffer busy waits" or "write complete waits" or "free buffer waits" are in the top 5 wait events, which, to me, means that there is no buffer contention.
    What I understand is that after enabling DirectIO, it takes longer for the IO to complete because pre-DirectIO it would return from the file system cache whereas now it has to return from the disk (and I do see at the OS level that IO has become slow), but should that result in dbwr consuming more CPU?
    Infact after enabling DirectIO, IO has become very slow which is another problem and as a result log file writes have also become slow which is a 3rd problem. btw, I am aware that if there were many FTS, then DirectIO can make the system slow but there are no FTS in my case. Also, that SGA should be increased after enabling DirectIO, which has also been done.
    Thanks

    user12022918 wrote:
    DBWR is consuming high CPU. After enabling DirectIO on Solaris SPARC 10, dbwr is eating away almost 1 CPU on a v440 machine i.e. 19% throughout the day. 19% is less than 1/5th of a CPU. Or are you referring to a 100% being all 4 CPUs?
    What I understand is that after enabling DirectIO, it takes longer for the IO to complete because pre-DirectIO it would return from the file system cache whereas now it has to return from the disk Incorrect. See directio for details.
    Yes, removing the file system cache from the I/O layer for a device can reduce I/O performance if the caller does not perform its own caching. However, direct I/O will eliminate the system cache overheads (and associated CPU resources needed) from a caller (like Oracle) that implements its own sophisticated buffer cache.
    Direct I/O should therefore increase Oracle I/O performance and decrease resource footprint as it eliminates the need for the kernel to maintain a cache for that device.
    Infact after enabling DirectIO, IO has become very slow which is another problem and as a result log file writes have also become slow which is a 3rd problem. Direct I/O, as per the Sun docs, is an advisory call. It may not place that device in direct I/O modes. It may result in partial direct I/O. So you need to make sure exactly what happens and how successful (partial or complete) this setting was.
    btw, I am aware that if there were many FTS, then DirectIO can make the system slow but there are no FTS in my case. FTS (multi block reads/large sequential reads) is slower? This is contrary to Sun's docs that state:
    Large sequential I/O generally performs best with DIRECTIO_ON, except when a file is sparse or is being extended and is opened with O_SYNC or O_DSYNC.

  • Non interactive zlogin eats up all CPU on Solaris 10 u4

    Hi,
    We are having trouble with a zlogin command that is started via a script from inittab on a Solaris 10 u4 system.
    When a zlogin command is started from the script this zlogin will within 10-15 seconds start spinning and consume 97-98% of the CPU. The zlogin command never ends, and the startup is stuck there.
    Running a pstat during the zlogin shows the following picture:
    PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
      1912 root     6576K 3560K run    100    -   0:22:30  97% zlogin/1
      1489 root     3544K 3184K cpu0   100    -   0:00:15 0.9% prstat/1
       159 root     3880K 3080K sleep  100    -   0:00:04 0.3% picld/11
    ZONEID    NPROC  SWAP   RSS MEMORY      TIME  CPU ZONE
         0       89  509M  548M    27%   0:23:07 100% global
         1       22   26M   40M   1.9%   0:00:05 0.0% zone01
    Total: 111 processes, 362 lwps, load averages: 4.25, 4.23, 3.49A ptree of the zlogin command
    # ptree 1912
    993   /sbin/sh /opt/sz/sysadmin/bin/set_remote_status.sh -b
      1912  zlogin -l root zone01 svcs -a |grep svc:/milestone/multi-user-server:def
        1913  sh -c svcs -a |grep svc:/milestone/multi-user-server:default
          1919  grep svc:/milestone/multi-user-server:default
            1920  svcs -aA truss of the zlogin shows that it is spinning in a poll/fstat loop.
    # truss -p 1912
    pollsys(0xFFBFE6E0, 3, 0x00000000, 0x00000000)  = 1
    fstat(4, 0xFFBFC5F8)                            = 0
    pollsys(0xFFBFE6E0, 3, 0x00000000, 0x00000000)  = 1
    fstat(4, 0xFFBFC5F8)                            = 0
    pollsys(0xFFBFE6E0, 3, 0x00000000, 0x00000000)  = 1
    fstat(4, 0xFFBFC5F8)                        = 0
        Received signal #18, SIGCLD [caught]
          siginfo: SIGCLD CLD_EXITED pid=1913 status=0x0000
    lwp_sigmask(SIG_SETMASK, 0x00020000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
    waitid(P_PID, 1913, 0xFFBFBC38, WEXITED|WTRAPPED|WNOHANG|WNOWAIT) = 0
    setcontext(0xFFBFBC20)
    pollsys(0xFFBFE6E0, 2, 0xFFBFC678, 0x00000000)  = 1
    read(5, " o f f l i n e          ".., 8192)     = 65
    write(1, " o f f l i n e          ".., 65)      = 65
    pollsys(0xFFBFE6E0, 2, 0xFFBFC678, 0x00000000)  = 0
    waitid(P_PID, 1913, 0xFFBFE618, WEXITED|WTRAPPED) = 0
    _exit(0)When running the process under truss the zlogin runs to end, probably because the child processes now get time for doing their work.
    A pstack of the zlogin process shows something similar
    # pstack 1912
    1912:   zlogin -l root zone01 svcs -a |grep svc:/milestone/multi-user-server:de
    ff2465c8 __pollsys (ffbfe6e0, 3, 0, 0, 0, 0) + 8
    ff1e1b34 poll     (ffbfe6e0, 3, ffffffff, 0, 0, 0) + 7c
    000128b4 ???????? (3, 4, 5, 7, 1, 126400)
    00013c30 ???????? (ffbff47b, 12400, ffbff476, 127450, 1428f8, 2)
    00014460 main     (4, 1, 1428f8, 15400, 15400, 0) + 728
    00011a24 _start   (0, 0, 0, 0, 0, 0) + 108A pfiles out the zlogin show the following:
    # pfiles 1912
    1912:   zlogin -l root zone01 svcs -a |grep svc:/milestone/multi-user-server:de
      Current rlimit: 256 file descriptors
       0: S_IFREG mode:0555 dev:85,10 ino:47996 uid:0 gid:0 size:64656
          O_RDONLY|O_LARGEFILE
          /opt/sz/sysadmin/bin/set_remote_status.sh
       1: S_IFIFO mode:0000 dev:308,0 ino:1377 uid:0 gid:0 size:0
          O_RDWR
       3: S_IFIFO mode:0000 dev:308,0 ino:1378 uid:0 gid:0 size:0
          O_RDWR
       4: S_IFIFO mode:0000 dev:308,0 ino:1378 uid:0 gid:0 size:8192
          O_RDWR
       5: S_IFIFO mode:0000 dev:308,0 ino:1379 uid:0 gid:0 size:0
          O_RDWR
       6: S_IFIFO mode:0000 dev:308,0 ino:1379 uid:0 gid:0 size:0
          O_RDWR
       7: S_IFIFO mode:0000 dev:308,0 ino:1380 uid:0 gid:0 size:0
          O_RDWR
       8: S_IFIFO mode:0000 dev:308,0 ino:1380 uid:0 gid:0 size:0
          O_RDWRSo do anybody know a workaround for this behavior, or any other clues?

    Found the reason. The default scheduling class was set to RT. Probably explained why zlogin was allowed to eat up all CPU resources

  • Query to find out which process consuming more cpu?

    Hi All,
    some one please tell me the query to find out which process is consuming more
    cpu resources?
    Thanks and Regards
    Srikanth

    Use V$SESSTAT to determine which sessions are using most CPU, and investigate what SQL these users/sessions are executing:
    SQL> select ss.sid, se.command, ss.value CPU, se.username, se.program
    from v$sesstat ss, v$session se
    where ss.statistic# in
    (select statistic#
    from v$statname
    where name = 'CPU used by this session')
    and se.sid=ss.sid
    order by ss.value desc;

  • How to find top 10  SQL statments which are consuming more cpu time.

    hi all,
    Is there any command or script to monitor the top 10 sql statments which are consuming more cpu time.
    I know by using AWR REPORT we can find it, i want the command or script to find the top cpu utilization sql statments.
    Regards
    Subhash.

    Subhash,
    A quick and dirty Google search could have get you started with the following:
    Thread: how to get top CPU consuming sql oracle 10g
    Re: how to get top CPU consuming sql oracle 10g
    Oracle SQL top sessions
    http://www.dba-oracle.com/oracle10g_tuning/t_sql_top_sessions.htm
    "How to Find top 10 expensive sql's", version 9.2.0
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:73325450402303
    HTH,
    Thierry

  • How to identify TOP 5 SQL consuming more CPU time without using statspack

    How to identify the TOP 5 SQL queries which are consuming more CPU time during the timespan of 24 hours for entire database. There are N number of users who have issued sql queries, out of which few users have disconnected and few user are still connected to the database(I need to consider all sessions). My database version is 9.0.1. I don't want to use statspack. Is there any way to identify TOP 5 SQL consuming more CPU time without affecting the performance of the database. Can any one help me on this? Its urgent!!.

    My database version is 9.0.1. I don't want
    to use statspack. Is there any way to identify TOP 5
    SQL consuming more CPU time without affecting the
    performance of the database. Can any one help me on
    this? Its urgent!!.I cant understand why you dont want to use statspack. As it is very easy to use and very quick to identify bottlenecks. Try using statspack. Its really wonderful.
    Particularly in your case statspack is the best.
    Regards,
    Sanju.

Maybe you are looking for

  • Install 10.6 Server onto a 2010 Mac mini Server

    Hello, I decided to turn the two hard drives on my Mac mini Server into a RAID 1 volume, so I booted from an install DVD of 10.6.3. Now, I am unable to reinstall Mac OS X Server version 10.6, as I have lost the DVD that came with the Mac mini Server.

  • How to take other music and photo from a librery different from the first  ipod was sync?

    how to take othe music and photo from different librey than the first used, without loose the photo and music alredy stock in ipod ?

  • Network and administrative state under Solaris  10 1/06

    Hi I am mainly using zones to run web servers and I have the same zone configured on multiple machines so I can maunally failover a zone if one machine breaks. However since upgrading to Solaris 10 1/06 it seems when a zone is booted into an administ

  • Getting my iPad 2 into iCloud. Help!

    Having just upgraded to 10.8, I was really excited about getting my Pages documents onto my iPad 2 from my iMac, and vice-versa. Problem: my iPad refuses to back up to iCloud (something I've never tried before). I've searched these forums, checked th

  • Fuzzy Printing

    I have a HP PSC 2355 All-In-One HP printer; it is producing fuzzy print outs. I try to align the print heads. I did this three times. Each time it says ""Print head alignment failed". So what do we do now? Thanks.