Debian :: Bash Consumes 100% Cpu

Sep 21, 2015

I have a virtual server with debian and since last Friday a problem. The server is running normally. All sites hosted show no problems. But If I logon via ssh is the CPU usage of all cores goes to 100%. A simple cd (change dir) then takes about 90 seconds. using top or htop bash is the top scorer. Unfortunately I have absolutely no approach what I have to change here or where the misconduct comes from.

View 2 Replies


ADVERTISEMENT

OpenSUSE Multimedia :: HD Video Consumes 100% Cpu But Not In XP?

Oct 6, 2010

I am using the rather old openSUSE 11.0 with no plans of upgrading to 11.3 as of now. My system is also 5+ years with a P4 2.66GHz but with 2.5Gb ram. HD videos are utilizing 100% cpu and the video also keeps shaking. Neither does any other app work during this time. I cannot even stop the player. I've tried mplayer, smplayer, vlc, totem, gnome-player --- all with the same result.

But windows XP utilizes about 60% cpu and so no such problems. I also have ubuntu 7.10 installed and even mplayer here uses 100% cpu. Also not a troublesome issue but XP has higher volume.

View 5 Replies View Related

Ubuntu :: Fontconfig Consumes Too Much Memory

Mar 30, 2011

My Ubuntu consumes too much memory. I have checked it with memstat and have found a lot of lines like these:

[Code]...

There are more than 480 lines like this! What are these fontconfigs for? Where do they come from?

View 3 Replies View Related

OpenSUSE Hardware :: XEN Kernel Consumes Memory - How To Fix It

May 20, 2010

My computer has 4GB installed but for some reason I could only see the 2 of the 4. At first I thought that this was because the XEN virtual operating system manager was running but even after I turned it off the problem exists. I could only see and use the 2GB of memory.

Code:

free -m
total used free shared buffers cached
Mem: 1914 1874 39 0 9 295
-/+ buffers/cache: 1570 343
Swap: 2062 1934 128

View 5 Replies View Related

Ubuntu :: 9.10 - Flash Plugin Consumes 70% Of Processor?

Jan 29, 2010

Recently I am getting problems to open a couple of sites, example: [URL]...Firefox process consumes 70% of the processor when it is open.My flash plugin is sun-java6-jre, ubuntu repositories.Somebody what do know happen? is the flash the responsible ?

View 3 Replies View Related

Ubuntu :: Python Consumes Extremely Lot Of Ram Usage?

Apr 6, 2010

i noticed few times that my ram usage in gnome increases high. So i found that python is using more than 500 MB Ram. Normally i didn�t notice this python. What does it do?

I am not sure, but i think that these increasing has something to do with skype/empathy (i think it grows after using this programs...

So, i killed the process and ram usage is normal.

View 2 Replies View Related

Ubuntu Networking :: Ksoftirqd Consumes 100% CPU For Several Minutes?

Jul 12, 2010

I've had this problem recently. Whenever I open an open office.org document from a cifs/SAMBA share as I navigate through it my laptop will lock up, and by lock up I mean so bad that I can't even move the mouse. If I let it sit for anywhere from 30 seconds to 2 minutes it will come out of it. Trying to navigate through the document again will trigger a similar episode.

I finally got fed up and opened a terminal with top and set it to always on top, then I opened my samba share, opened my spreadsheet. and proceeded to trigger my problem. When the lockup happened it was so bad and so quick that top stopped updating and I wasn't even able to see something creep up in CPU usage. As it came out of it top started updating in bursts, first ksoftirqd/0 was at 100%, then that dropped to near nothing, then xorg spiked to 100%, then the system returned to normal.

I googled around an found lots of speculation, and bug reports that were way above my head. Some of the speculation suggested it was a kernel issue, but that has supposedly been fixed. Another forum post said that it was a multi-processor issue. (the guy was running it in a vm so he just removed the vCPU) And yet another suggested a network issue/attack. I am running a Dell Latitude D620 with a dual core Intel proc and a Broadcomm network card (wired) and an Intel wireless card. I have all the latest updates. The shares I experience this issue with (only shares I really use) are on a Netapp and are active directory integrated (my laptop is not joined to the domain)

View 1 Replies View Related

Ubuntu :: Rhythmbox Stalls System - Consumes All Memory

Sep 1, 2010

Rhythmbox stalls my computer. I start it and within 10-20 seconds it starts to search something (i.e. in the right bottom there appears a box with a red box sliding left and right). It consumes all my memory (1 giga) and the only thing it does is identify text files in a general directory, NOT in Music. I have completely removed the install, installed it again, the same text files earlier IDed are still there? Is there an alternative?
Computer details: Intel dual core, Nvidia, 64 bit Lucid. The flaw is that it runs on single memory.

View 3 Replies View Related

Ubuntu :: Program Convert Consumes Most Of The Computer's Memory

Oct 5, 2010

I am using ubuntu 10.10 with gnome desktop on a desktop computer (pentium 4 cpu with 1 Gb memory), and when I use OpenOffice Impress, convert opens up and uses most of my cpu power. Even worse, after closing OpenOffice and all instances of nautilus, convert stays in memory and keeps using most of my cpu power (between 30 and 75 %, acccording to system monitor.Is it normal ? How could I set up my computer to limit convert cpu usage, and to unload from memory after being used.

View 3 Replies View Related

Ubuntu Multimedia :: Flash Video Consumes All CPU Resources On X220?

Jun 5, 2011

I'm running Ubuntu 11.04 (64bit) on my Thinkpad X220. When I watch flash videos I see that Xorg consumes a lot of resources (CPU time). Flash videos in full screen are extremely choppy. Playing videos with Mplayer, for example, is no problem at all. Any ideas how this can be fixed? I found lots of posts by other people with similar problems but they had different graphics cards so their solutions were not applicable in my case.

Code:
Linux montana 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
grep 'model name' /proc/cpuinfo | uniq:

[Code]...

View 5 Replies View Related

General :: Script That Names The Process In The System That Consumes The Most Memory?

Dec 31, 2010

I am writing a script that tells me which process consumes the most memory in the system this is what I have but I keep getting an error:

#! /bin/bash
# Autor: Jose miguel Colella
# Descripcion: Que proceso consume mas memoria

ps -e -o %mem -o args | sort -k 1 | tail -n2 | head -n1 | cut -d -f 3

I keep getting this message: cut: delimiter mist be a single character

View 4 Replies View Related

General :: Linux Shell Script .sh File Consumes High Memory?

Sep 8, 2010

I am having a php script which is used for bulk mailing. I run the script every minute through cron job. I have mentioned the path of the php script in a .sh file and execute the .sh file through cron job. Every time i run the script it utilizes high memory which results to server crash. how to restrict memory usage for that process to be a minimum one or how to set priority to be low for that process so that it is executed when there is no high priority jobs, so that the server runs normally without going down when the script runs

View 3 Replies View Related

Server :: Clear Cache Memory ( RHEL 5.1 ) As It Consumes Almost 100% Physical Memory?

Jan 11, 2010

let me know how to clear cache memory ( RHEL 5.1 ) as it consumes almost 100% physical memory.

View 3 Replies View Related

Debian :: Bash From Ubuntu To 6?

May 8, 2011

I'm in the process of switching from Ubuntu 10.04 to Debian 6.0. The install went pretty well after some tinkering, but I want to replicate my bash environment from Ubuntu to the new Debian system.

I've copied over my /etc/bash.bashrc and my /etc/profile. I renamed my ~/.bashrc, logged out and back in, and expected to have my original shell environment because I would be defaulting to the system-wide settings in /etc.

Instead, the stock Debian environment remains: No completion, only the $ prompt, no up-arrow history, etc. I don't get what it's reading from and why /etc/bash.bashrc isn't being accessed. (Bash completion is installed.)

View 3 Replies View Related

Debian :: Set New User To Use Bash?

Mar 16, 2011

when i created new user with # useradd -m newuser and logged in as newuser, i cannot have the autocompletion that the first user have.Why? How do i set newuser to use bash and the same for all other user?

View 5 Replies View Related

Debian :: Bash Script As A Program?

May 21, 2011

Is there a way to have a bash script run as a program so you can start it like how you would run apt-get?

View 2 Replies View Related

Debian :: Image Manipulation In BASH?

Nov 7, 2010

I would like the ability to manipulate a jpg (bmp, gif and raw would be nice as well) while in BASH. To be more specific, I would like to either add a water mark or a little section as a footer on the bottom of an image.

I will be using this as part of a shell script to alter files in a directory on my webserver.

View 2 Replies View Related

Debian :: Sed With Bash Variable In Rules File

Jun 6, 2015

How can we do a file replacing string on debian/rules file using sed and bash variable ? I don't seem to be able to do so. I have tried below under the install section with arch dependent amd64, as far as I know all the bash commands are allowed to be executed in debian/rules file.

I have tried this :

Code: Select all
debian/rules file
ipaddr=`<long command to find ipaddr>`
myVar=`hostname`
sed -i -e 's/somestring/'$myVar'/g' $(configs)*
sed -i -e "s/somestring/$myVar/g" $(configs)*

[Code]...

Nothing works. Sed works but the hostname replacement doesn't work.

View 13 Replies View Related

Debian :: Bash Script Based On Time Of Day

Mar 25, 2016

I'm trying to get a bash script to do different things based on the time of day, but at least once a day the test fails:

Code: Select allNOW=$(date +%k%M)
if [[ "$NOW" -ge 1000 ]] && [[ "$NOW" -le 2200 ]];then
        alarm lon
else
        alarm loff
fi

This is the error, and line 59 is the second quoted above:

Code: Select all/home/electrolux/bin/ts.sh: line 59: [[: 059: value too great for base (error token is "059")

The script is run every minute, and this error only occurs at 12:59AM, or 00:59.

I presume the problem is either $NOW is being set to 059, or the testing is seeing 0059 as 059. I think the latter, because for the rest of midnight 'til 00:58 the script works. And with some Googling it seems that the leading 0 is making test treat the number as octal... is there a way to tell it it is decimal?

Perhaps this is just some poor time-testing code? Looking at it I don't think it will cope with set time period that crosses midnight..... there's probably just a command to do what I want, isn't there? I know I could have two different scripts cron'd for the different time periods, but it would be much more preferable to be just the one.

View 4 Replies View Related

Debian :: Find >> Remove Strings With Bash?

Aug 22, 2010

i'm trying all the time to use this (find,sed gnu,..etc) scrip to find and remove this string in all files *.php in wwwbackup/ directory. the script work without any error, but doesn't remove any thing!?

find /home/usr/wwwbackups/ -type f -name *.php -print0| xargs -0 sed 's#echo "<iframe src="http://internetcountercheck.com/?click=2255046" width=1 height=1 style="visibility:hidden;position:absolute"></iframe>";##g' -i

how can i become this script working?

View 8 Replies View Related

Debian :: Creating A Bash-shell Script

Dec 1, 2015

how to do in Debian

1. am required to create a bash-shell script called terminator that terminates all processes of a name given to the shell script as an argument. Make sure the terminator shell script will not take any crucial file system services as arguments.

2. Show how you would configure an Ethernet card by reapplying your existing IP and network mask

3. Install a workable nfs file sharing system between your system and a remote system, using optimum values for resize and wsize.To demonstrate send a 512Mb block of random data between client and server using the dd command.Write down the relevant steps and procedures

View 6 Replies View Related

Debian Programming :: Bash Scripting For Jessie

Aug 25, 2015

You are probably using systemd (check it with ps --pid 1) and therefore /etc/init.d isn't considered for autostart. Here can you find some information about systemd and autostart [1]. As far as I know systemd isn't intended to start applications with systemd. I recommend you to use the autostart feature of your window manager or desktop environment or at least the .xinitrc.

[URL] ....

View 7 Replies View Related

Debian :: Control Lynx By Bash Script

Sep 10, 2010

I had tried to control lynx by bash script. I can use bash script to let lynx open an url. After that, I can't do anymore. I don't understand how to move the cursor or fill some textbox in the webpage opened by linx in bash script.

View 3 Replies View Related

Debian :: Bash / Mail / Command Not Found

Dec 27, 2008

I did install a brand new debian etch on my server, update and upgrade has been done.I did installed a postfix and couple of tools ( like courier-* ).But when i want to try to sent a mail with mail command, it says command not found.I did use the method on the bottom of this thread succesfully, but any idea for this tool to be back on my server ?Did i uninstall it when installing a package ?

View 1 Replies View Related

Software :: Console / Bash Configuration In Debian?

Nov 13, 2010

I'm trying Debian again just for fun after using Slackware for years. When I "su -" on Konsole in Debian I get this for my prompt:
Code:
darksaurian@darkswamp:~$ su -
Password:
darkswamp:~#
darkswamp is my hostname that I made up when I installed. On Slackware I'm used to it saying:
root@darkswamp
or something like that.
I'm starting Konsole the same way on both:
konsole -e $SHELL -l
I kind of wish it still said "root" just because I'm used to it.

View 5 Replies View Related

Debian :: BASH Scripting - How To Use Variables With Filename Spaces

Jun 25, 2015

I am trying to create scripts to move files over from one directory to an ftp server and there is this one file with spaces that bash is see each word as being a file, here is the variable i am trying to use:

Code: Select allLOCL = '/mnt/cifs/"File name with spaces"/'
cd  $LOCL
ls -l

View 3 Replies View Related

Debian :: Login Via SSH - Bash Autocomplete Stopped Working

Feb 3, 2011

For some reason my bash autocomplete stopped working. I get the error when I try to cd into a directory, pressing <tab> for autocomplete:
cd A-sh: <( compgen -d -- 'A' ): No such file or directory
Autocomplete works for the root user and for the other user on the machine, just not logged in as this user. The .bashrc file looks fine to me, and I didn't make any changes to it to even cause the bash autocomplete to stop working (as far as I know).

# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
What else could cause autcomplete to stop working? I log in via ssh, btw.

View 11 Replies View Related

Debian Installation :: Different Bash Shell Behaviour In Squeeze?

Feb 11, 2011

I know I was asked about wanting to change/upgrade my shell during the upgrade from Lenny to Squeeze, but I can't remember what it said, and I can't find any documentation about it online. But did something change to bash? Is this documented somehwere?Most notably I see progress messages on one line, overwriting eachother (for instance during an aptitude safe-upgrade).

View 7 Replies View Related

Debian :: Drag & Drop File On Bash Script?

Jul 29, 2011

On Windows, I can drop file on batch script file, then dropped file is accepted as script parameter and script is automatically executed. Trying the same in Nautilus it seems like not possible.Is there some other way of using this approach in Debian?I hope it's clear what I'm after - I don't want to write Nautilus scripts as workaround and want to avoid: - opening terminal - cd to bash script - type script name andmeter file then executeinstead I would like already mentioned, drop filename expected as parameter to bash script, and then script to execute automatically.

View 3 Replies View Related

Debian Programming :: Running Programs In Parallel In Bash

Jul 22, 2014

I am trying to replicate what is happening on this page under the tcsh shell, but using the bash shell found in Wheezy. Here is the page I am referring to:[URL] The command I am trying to replicate is on page 6 under figure 2.4. The command is "prompt> ./mem &; ./mem &".

I would like to run the same program twice, concurrently, but do not know how. Note that I am not trying to use a bash script, but rather by simply using syntax on the command line.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved