Reduce cron processor usage

We have 2 machines that we use for quicktime broadcaster for webcasting/recording live events. While one is fairly powerful and never uses a ton of CPU power, the other is a older powerbook which jumps up to the 90%'s when running.
On each machine, we have a script in root's crontab that runs every minute, and it seems to take up ~5% or so when it runs. It's important that the script runs every minute but not important how long it takes.. right now, its usually just a second or two. However when the powerbook in webcasting and the script runs, sometimes there's a little hiccup in the video that's recording, im guessing cause the processor reaches 100%.
Is there any possible way to reduce the importance/load of cron to fix this?
P.S. the cron command that runs is a "cat file > file2" command

cron itself isn't the problem, it's the command that cron's running that's the problem. You could change the nice value of the command so that it becomes "nicer" and let's other processes go ahead of it in the run queue. Check out the man pages on nice and renice:
man -k nice
Roger

Similar Messages

  • Does installing Desktop Experience on Windows Server 2008 R2 SP1 slow down the server / increase processor usage?

    Hello.
    I'm running a tekkit classic (Minecraft) Server on a dedicated server I got from OVH, Im just wondering - Im currently using ClamAV for an antivirus, But I would like windows defender.
    Im wondering if installing Desktop Experience on my dedi would increase processor usage or slow down the dedi even slightly.
    System Specs:
    RAM: 32GB DDR3 ECC 1600MHz
    CPU: Intel Xeon E3-1245v2
    HDD: 2x2TB SATA (Both used, specified as different drives)
    OS: Windows Server 2008 R2 SP1
    Theres only 1 indev tekkit server currently running on there, Im getting 0-5% processor usage. I may be setting up more modpack servers  - but im wondering if installing desktop experience would increase the processor usage or slow the dedi down.
    Thanks.
    Joseph

    Hi Joseph,
    This is the forum for Microsoft BizTalk Server, you've asked your question in the wrong forum.
    I suggest posting your question in the Windows Server forum
    http://social.msdn.microsoft.com/Forums/en-US/home#forum=winserver2008appcompatabilityandcertification&filter=alltypes&sort=lastpostdesc&content=Search
    Glenn Colpaert - MCTS BizTalk Server - Blog : http://blog.codit.eu

  • [svn:fx-trunk] 7830: Update ASDoc on the new backgroundFrameRate property to WindowedApplication , to by default reduce the CPU usage in cases where an app is not 'active'.

    Revision: 7830
    Author:   [email protected]
    Date:     2009-06-14 15:57:29 -0700 (Sun, 14 Jun 2009)
    Log Message:
    Update ASDoc on the new backgroundFrameRate property to WindowedApplication, to by default reduce the CPU usage in cases where an app is not 'active'.
    Bugs: SDK-21135
    Reviewer:
    QE Notes:
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21135
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication. as

    By the way, I agree with sybrand: you need to tune
    your redo log size.
    Regards
    Ignacio
    http://oracledisect.blogspot.com
    Ignacio,
    The excessive waits on log file parallel write and the related client wait of log file sync may be due to insufficient CPU availability, and may not point at an actual redo log size problem or a problem with the disk speed where the redo is written to disk, especially if there are 3 Oracle instances on the server with a single CPU.
    Paraphrased from "Optimizing Oracle Performance":
    The log file sync wait event is one of the first events to show increased latencies due to the time a process spends waiting in a CPU wait queue while processing excessive logical IOs.
    Kevin Closson wrote a couple blog entries that examined the potential problems of insufficient CPU capacity and its effects on log file parallel write when writing to solid state disks, and even when writing redo was explicitly disabled:
    http://kevinclosson.wordpress.com/2007/07/21/manly-men-only-use-solid-state-disk-for-redo-logging-lgwr-io-is-simple-but-not-lgwr-processing/
    "Once LGWR loses his CPU it may be quite some time until he gets it back. For instance, if LGWR is preempted in the middle of trying to perform a redo buffer flush, there may be several time slices of execution for other processes before LGWR gets back on CPU..." Fix the CPU problem, and the other significant waits may decrease.
    JesusLuvR,
    yingkuan's suggestion to look at the SQL statement that performs the 4,365,564 logical IOs, consumes 186.03 CPU seconds, and has an execution time of 225.06 seconds, is likely a very good starting point. You might also want to check the value of the SESSION_CACHED_CURSORS parameter to see if it needs to be adjusted.
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • [svn:fx-trunk] 7753: Adding backgroundFrameRate property to WindowedApplication, to by default reduce the CPU usage in cases where an app is not 'active'.

    Revision: 7753
    Author:   [email protected]
    Date:     2009-06-11 12:29:44 -0700 (Thu, 11 Jun 2009)
    Log Message:
    Adding backgroundFrameRate property to WindowedApplication, to by default reduce the CPU usage in cases where an app is not 'active'.
    Bugs: SDK-21135
    Reviewer: Ryan, Darrell
    QE Notes: Test needs to be written for this new API. PARB has tentatively approved, will update spec here: http://opensource.adobe.com/wiki/display/flexsdk/Spark+WindowedApplication
    Doc Notes: Needs to be documented and ASDoc scrubbed. 
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-21135
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as
        flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication. as

    Hi,
    when the pageFlow scope map is preserved on task flow exit then this is a bug. Can you file it ?
    Frank

  • WLS 5.1 restriction of processor usage possible?

    Hi,
    I want to run the WLS 5.1 on a WIN NT4 server together with a SYbase ASE database
    server.
    The server machine has four processors and I want to define that WLS uses only
    two
    wheras ASE uses the other two.
    We already know that this is possible with ASE.
    What about WLS? Can we define (how?) that WLS should use only two processors.
    I know that this is possible at
    runtime with WIN NT Server Taskmanager. But I do not want that somebody needs
    to adjust this
    every time a WLS is restartet.
    Or is this totally unnecessary, since WLS takes overall processor usage into account?
    Thanks for any help!
    Fleming

    WLS doesn't count CPUs, just IP addresses. You should check your system
    doc's to see if there's a way in NT to restrict execution to a set of
    processors at start time. It's possible in Solaris. This may just be a
    limitation of NT.
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "FF" <[email protected]> wrote in message news:3b134c9e$[email protected]..
    >
    Hi,
    I want to run the WLS 5.1 on a WIN NT4 server together with a SYbase ASEdatabase
    server.
    The server machine has four processors and I want to define that WLS usesonly
    two
    wheras ASE uses the other two.
    We already know that this is possible with ASE.
    What about WLS? Can we define (how?) that WLS should use only twoprocessors.
    I know that this is possible at
    runtime with WIN NT Server Taskmanager. But I do not want that somebodyneeds
    to adjust this
    every time a WLS is restartet.
    Or is this totally unnecessary, since WLS takes overall processor usageinto account?
    >
    Thanks for any help!
    Fleming

  • ITunes + Safari = Over 50% of Processor Usage

    When running nothing more than iTunes and Safari, my processor usage varies from 50%-80%.
    I wasn't aware of these apps being such resource hogs. Would a downgrade to Tiger help?
    PowerMac G4 Sawtooth
    2 GB RAM
    1.7 GHz Sonnet Processor
    Radeon 9800 128 MB video card
    128 GB hard drive
    Mac OS X 10.5.4 Leopard

    Do you have a large Play List on iTunes? Are you browsing a (or many) Flash sites at the moment?
    I have a 20 GB Play List, and with iTunes and Safari open, the CPU tops at, say, 15% for each max (monitored via Activity Monitor).

  • Processor usage

    please, does anybody know how i can acquire the processor usage?

    Here are some of the better articles that I've found on the subject. I haven't implemented it yet but I will soon.
    http://www.javaworld.com/javaworld/javaqa/2002-11/01-qa-1108-cpu.html
    http://www.javaworld.com/javaworld/javatips/jw-javatip92.html
    John

  • My imac on OS 10.5.8 is showing near 100% processor usage most of the time. It appeasrs that process SystemUIServer is the culprit using 70% or more of processor time. What does anyone think is causing this ?

    My imac on OS 10.5.8 is showing near 100% processor usage most of the time. It appeasrs that process SystemUIServer is the culprit using 70% or more of processor time. What does anyone think is causing this ?
    What is the purpose of the UIServer module ?
    Is there a good place to learn about the OS modules ?

    Useful information from BDAqua in this thread:
    https://discussions.apple.com/message/22676167#22676167

  • Windows 98 Processor Usage

    Hello,
    I have found that any LabVIEW program (I am developing in LV 7.0 on a WIn200 machine) I write has a very bizarre effect when it is run on a PII Win98 Machine. I'll take you through the sequence of events.
    I'll restart the computer and then display the processor usage monitor. I'll then run a LabVIEW developed program. The Processor usage is now around 8%. I'll close out of the program. Now my processor usage jumps up to about 65% and stays there forever more. If I run anything else, the processor usage accumulates. However, if I run another LV exe, the usage percent will drop down to the typical 8% or so.
    I believe I am closing my application out just fine. I even tried the "Close LV" vi and it had no different effect.
    Does
    anyone have a possible reason for this or solution?
    Glen D.

    Hm, this is strange behavior indeed! Have you tested this out on any other Win98 machines to verify that it is a Win98-related issue?
    Also, are you communicating to any hardware in your executable (i.e, using NI-DAQ or VISA). In particular, if you are using VISA, there is a 'SyncVisa' environment setting for LabVIEW executables that needs to be set in the .ini file. Refer to this KB for more information: KB 1O3650DM: My LabVIEW 5.0.1 Executable Uses 100% of the Processor When Using VISA.
    If you are making any Traditional DAQ calls, then a CPU usage of 100% is expected. Refer to the following KB for more information: KB 2ZK7NQB9: NI-DAQmx CPU Usage at 100%
    Hope this helps. Good luck!
    Kileen C.

  • Methods to reduce the CPU Usage for painting the image

    Hi,
    I have developed an application to view images from an IP camera. By this I can simualtaneously view images from about 25 cameras. The problem is that the CPU Usage increases as the no of player increases. My Player is JPanel. which continuously paints the images from camera. The method 'paintImage' is called from another thread's run method. This thread is responsible for taking jpeg images from IP camera.
    Here is the code for this.
    public void paintImage(Image image, int fps) {
    try {
      int width = this.getWidth();
      addToBuffer(image);
      currentImage = image;
      Graphics graphics = this.getGraphics();
      if (isRunning && graphics != null) {
       graphics.drawImage(image, 0, 0, getWidth(), getHeight(), this);
       if(border ==true){
        graphics.setColor(Color.RED);
                          graphics.drawRect(0,0,getWidth()-1, getHeight()-1);
       graphics.setColor(Color.white);
       graphics.setFont(new Font("verdana", Font.ITALIC, 12));
       graphics.drawString("FPS : " + fps, width-60, 13);
       this.fps = fps;
       if (isRandomRecord) {
        graphics.setColor(new Color(0, 255, 0));
        graphics.fillArc((getWidth() - 10), 5, 10, 10, 0, 360);
    } catch (Exception e) {
      e.printStackTrace();
    Can someone please help me to solve this problem so that the CPU usage can be reduced.

    Can you give me more detail information about how to use
    an automated profiling tool You run it and excercise your app. Then it presents stats on number of times each method was called and time spent in each method, plus other stuff. Using those two stats you can zero in on the areas that are most likely to yield resullts.

  • IPhone 5 iOS 7 how do I reduce wifi data usage?

    When traveling abroad I rent a pocket broadband wifi hotspot rather than renting a SIM because I want to keep my number for texting &amp; calls.  I find that I have to tune the heck out of my devices to avoid consuming a ton of data.  The diagnostics aren't great to show what is devouring data.  I can get my idle IPad mini with iOS 7 and my IPad with iOS 6 to avoid consuming background data.  My iPhone 5 with iOS 7 however is devouring about 1MB per second.  I've deleted iCloud, shut off push, shut off notifications, shut of location services, deleted every deletable app, shut of background data, reduced the # of days Outlook &amp; gmail fetch (manually), deleted iMessage, and shut off iTunes background updates.   I've done everything but wipe the phone.  Still when I turn on wifi with nothing running in the background it chows through the data. 

    It sounds like you've tried some very good remedies.  A couple of additional thoughts:
    Have you removed Game Center based apps?  Game Center can run checks to make sure you are still a high scorer, etc.
    Have you considered contacting your cellular carrier and simply finding an international roaming plan supplied by them?  That would allow you to keep your number for texting and calls, but not have to deal with the pocket broadband.  It sounds like you're just planning to use the texting and/or calls very rarely.
    Hopefully you know you can check cellular data use at Settings > Cellular > Cellular Usage (near the bottom).  You could dry run only using cellular data at home to see what is consuming your data.  Or if you simply keep your home cellular service while abroad, you can monitor your progress while traveling.
    Also see http://support.apple.com/kb/HT4146

  • Reducing memory & processor requirements of OS X

    Does anyone have any suggestions on how to reduce the memory requirements of OSX on machines with limited Ram?
    I have OSX on a (unsupported) powerbook 3400c. 144MB ram. Yes its slow. about 6 minutes to boot up. Anyways, the only reason I have "shoehorned" X (Jaguar) onto it is to use it as an MP3 server for my home stereo system with a new enough version of itunes that adjusts for differing mp3 recording volumes. It now also has a 20GB HDD in it, and yes OSX Jaguar. But OS X is a ram & processor hog. This machine is distictly lacking in both.
    SO, I am wondering which features & other items a person could disable/turn off etc which would reduce the memory & processor load on the old powerbook. As the aqua interface has many subsystems running, there must be some which can be disabled etc which would "relieve the strain" but leave basic functionality.
    Anyone who has any suggestions, please do so! Its fun breathing life into an antique mac. Might also help make my old original iMac a decent email machine one day too!
    Thanks!

    Hello! Have you experimented with opening activity
    monitor and then selectivly quitting processes? Tom
    No tom I haven't I assumed there were no other processes running at the time, as I only had the system & itunes running. I will however have a look & see. Thanks!

  • How can I reduce excessive data usage?

    My wife and I recently moved to the country and have no internet available by a physical cable or wire from an ISP.    Our internet service is provided through a Verizon Jetpack that we lease from Verizon.    We have an iPhone 4s, iPhone 5s, an iPad 1, and an iPad 2 (both iPads are WiFi only) 
    Our problem is excessive data usage.  Prior to our move, our iPhones each used approx .2GB per month.   16 days into our current billing month, the iPhones have each used approx 1.2GB, but our Jetpack (which creates our home WiFi for our iPads) has already used 10GB.  We do not stream anything on our iPads.  We use them in the evening for surfing the internet, checking Facebook, and playing Words With Friends.  That's about it. The Verizon online data calculator indicates we shoud be using about 4GB per month based on our iPad usage.   Yet my data usage log says that one night this week between 7:30 PM and 11:30 PM, our Jetpack used a full 1GB.  Is it possible that our Jetpack is simply "burning up" GBs while we sleep?  

    On my iPhone 4 running iOS 6,  Settings > General > Usage quotes the installed size of the apps not the data usage. I've just installed the Onavo Count which claims to record data usage of each app so one can see which the greedy ones are.

  • Module processor usage in File ADapter

    Hi all,
    I have a scenario  Idoc->Xi->File to be in Xi 3.0.
    There is already an XI 2.0 system up and running wherin they have used dispatcher classes for the File Adapter Configuration.They have used the Transform Class "com.sap.aii.messaging.adapter.XSLTConversion" and have added the particular XSLT mapping Program in "namespace1.XSLTService.XSLTConversion.XSLTFileName=
    convert.xsl".
    When I want to configure these in XI 3.0 as a Receiver File Adapter, documentation says that we need to specify these in Module Processor as a sevice. For this the precursor is that we need to deploy the Java Classes in SDM.
    But my question is whether we have to include the XSLT coding too in the Archive and Deply it in the SDM? Is it not that its required only for the Java Classes to be Deployed using SDM or else the XSLT Codings too in a JAR File?

    Hi Stefan,
    Thanks a lot for your reply.
    I already tried this way by storing the file in the File system of the server.
    But for example,the XSLT file is this path of the Server,
    F:\usr\sap\D49\SYS\global\tech_adapter\xslt\DR11_adapter_exit.xsl
    Then, what exactly should be the path specification in the XSLT Sevice filename....Now its exactly as I have mentioned above and the file is stored physically over there....
    The error log was like this,
    2005-02-16 11:54:37 Success output 1108572877484 The message was successfully received by the messaging system. Profile: XI URL: http://cmis147:50000/MessagingSystem/receive/AFW/XI
    2005-02-16 11:54:37 Success output 1108572877484 Using connection AFW. Trying to put the message into the receive queue.
    2005-02-16 11:54:37 Success SAPEngine_Application_Thread[impl:3]_0 1108572877500 The message was successfully retrieved from the receive queue.
    2005-02-16 11:54:39 Success SAPEngine_Application_Thread[impl:3]_0 1108572879093 The message status set to DLNG.
    2005-02-16 11:54:39 Success SAPEngine_Application_Thread[impl:3]_0 1108572879109 Delivering to channel: FILE_DR11_Outbound
    2005-02-16 11:54:39 Error SAPEngine_Application_Thread[impl:3]_0 1108572879125 Exception caught by adapter framework: failed to configure the transformation object
    2005-02-16 11:54:39 Error SAPEngine_Application_Thread[impl:3]_0 1108572879125 Delivery of the message to the application using connection AFW failed, due to: failed to configure the transformation object.
    2005-02-16 11:54:39 Success SAPEngine_Application_Thread[impl:3]_0 1108572879125 The asynchronous message was successfully scheduled to be delivered at Wed Feb 16 11:59:39 EST 2005.
    2005-02-16 11:54:39 Success SAPEngine_Application_Thread[impl:3]_0 1108572879140 The message status set to WAIT.
    But when I see the monitoring for the AdapterFramework it says its ok.
    So I thought the path is probably invalid.
    Your opinions please...
    Thanks in Advance,
    Romit.

  • Code View Scroll Bar Jumps + High Processor usage

    In Code View, if you click at the bottom of the page -if the vertical scroll bar is present- the scroll bar jumps one or two lines up.
    I know about another bug i.e Dw uses 15 to 30% of the processor at all times, I hope it'll get fixed soon or I'll have to find an alternative.
    Lemme know if you know of any solutions.

    Windows 8 RP Build 8400 -it happened on Windows 7 as well.
    Dreamweaver Version 12.0.1 Build 5842 -I guess it's correct, I installed an update in the hopes of having this problem fixed but no luck yet.

Maybe you are looking for