Ubuntu :: Running Process Eats Up Buffer Cache For Up To 20 Minutes After Run?
Apr 18, 2010
I'm running a pretty heavy-weight process (Rails tests) that involves several worker processes, in an effort to parallelize the runs. To measure the performance impacts, I run hdparm -T /dev/sda to give me the cached read performance. Note that the disk IO is not being measured, but the disk cache IO is. It works very well on my work machine (8-core Mac Pro running Ubuntu with 8GB of RAM).
The baseline is:
honk4:~ $ sudo hdparm -T /dev/sda
/dev/sda:
Timing cached reads: 13224 MB in 2.00 seconds = 6616.86 MB/sec
In the middle of the test run:
honk4:~ $ sudo hdparm -T /dev/sda
process kslowd00/kslowd001 it eats 60% of my cpu and 15% of my memory ... i can't kill it even as root.this process makes my computer slower than" IBM 704 running fortran programs "... I've faced this process using Fedora 14 and now with Scientific Linux 6(RHEL 6 recompiled) SL 5.5 didn't have this.
I have just installed Ubuntu for the first time using a USB drive and everything went fine during installation. However now during the boot phase I see 10 or so lines of [14.24024] ata5: COMRESET failed (error=-16) The numbers prior to COMRESET change with each line but the rest remains the same. I am extremely new to Ubuntu or Linux for that matter as this boot process is also taking about 3-4 or even 5minutes as it slowly cycles through each error. Once 10 or so lines have popped up the computer finishes starting and I can log in fine and everything.
I am trying to get a process ( SARG access log report tool ) to run every 10 minutes but I cannot get it to work. Here is the content of the crontab file ______________________________ SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # m h dom mon dow user command
Every time I boot up OpenSUSE 11.3 it hangs at the same "position" for approximately 3 minutes and then continues to boot. Unfortunately I see no corresponding error log e.g. in dmesg output. Hence, I don't know what is the reason for that. Here is my dmesg output. The delay occurs at 20 seconds after beginning of boot process (line 1085). I also analyzed the boot process with bootchart. My computer: Notebook Lenovo ThinkPad R400.
Sometimes I connect to my Debian box from another computer (using SSH on Cygwin or Linux), and once ina while I want to run some console apps. And sometimes some of these apps might complain about "another intance, Error: an instance of newsbeuter is already running (PID: 2496)". Is there a work around for this issue at all(without killing the original instance") ? The reason I do not want to kill the app because there might be 2 users connected to the same machine that might be using the same app.
Still having problems with the locked black screen freezing a couple of minutes in. I've done everything anyone has recommended on the other threads but nothing and it is driving me crazy. Please, does anyone have any ideas? I tried to install xfce4 but of course, screen froze and went black before I could fully download the software! I've tried the nomodeset but can't save it before doing a reboot (then went via terminal as quick as I could on start up to edit grub, but then... yes, it fell over and froze before I could hit save). So I'm giving this a lot of time I really don't have... such a shame I upgraded, 9.10 was working so well... alternatively,
I installed squid 2.6.stable21 on centos 5.3,it starts normally from /usr/local/squid/sbin/squid but when I start form init.d it is running but display message. /etc/init.d/squid start then displays Starting JunkBuster & Squid 2010/08/02 19:05:52| ACL name 'all' not defined! FATAL: Bungled squid.conf line 179: http_reply_access allow all Squid Cache (Version 2.6.STABLE21): Terminated abnormally. [FAILED]
I am planning on running a script once every five minutes, and the syntax that comes to mind in doing this is the following:
Code: 5 10 15 20 25 30 35 40 45 50 55 * * * * /apps/<script>.pl Is there a better syntax to use to accomplish this task, or is the above example the way to go?
im using a lease line on real ip for internet connection in my office.i have shared my internet conetion with a squid 2.6 stable6. i m having almost 200 pc in my office.since last few days my squid is creating a problem.as soon as i restart it ,it work fine but after a few minute it becomes extremely slow ..it almost dies.when i go to its cache log i found the error that your cache is running out of file descriptor...once i increased the no of file descrptor from 1024 to 4028 , the problem temporaily sorted out but after a few days same problem is repetaed ....and still the problem exist
Previously I had posted a question on how to make it run every 7 minutes between 7 and and 11pm.However now I found out what I really need is every 7 minuted between 7:30 and 11pm BUT it has to be every 7 minutes, it cannot reset itself on the top of every hour, so the */7 wont work.How can it that it will be every 7 minutes, so it will go at 7:30, 37,44,51, 58, 8:05, etc..
I upgraded to F13 this week. And autologin just sits with autologin present, but I have to click the autologin (rather than a user name) and then click again to actually login. That's not so "auto" anymore if I can't push the power button and come back in x minutes with everything and running.
I had this in my /etc/gdm/custom.conf TimedLoginEnable=true TimedLogin=marty TimedLoginDelay=8 What changed and what do I need to do now to get autologin to get off it's ass and log me in?
I don't understand this error nor do I know how to solve the issue that is causing the error. Anyone care to comment?
Quote:
Error: Caching enabled but no local cache of //var/cache/yum/updates-newkey/filelists.sqlite.bz2 from updates-newkey
I know JohnVV. "Install a supported version of Fedora, like Fedora 11". This is on a box that has all 11 releases of Fedora installed. It's a toy and I like to play around with it.
I was laughing about klackenfus's post with the ancient RH install, and then work has me dig up an old server that has been out of use for some time. It has some proprietary binaries installed that intentionally tries to hide files to prevent copying (and we are no longer paying for support or have install binaries), so a clean install is not preferable.
Basically it has been out of commission for so long, that the apt-get upgrade DL is larger than the /var partition (apt caches to /var/cache/apt/archives).
I can upgrade the bigger packages manually until I get under the threshold, but then I learn nothing new. So I'm curious if I can redirect the cache of apt to a specified folder either on the command line or via a config setting?
I installed squid cache on my ubuntu server 10.10 and it is work fine but i want to know how to make it cache all files like .exe .mp3 .avi ....etc. and the other thing i want to know is how to make my client take the files from the cache in the full speed. since am using mikrotik system to use pppoe for clients and i match it with my ubuntu squid
I recenlty set up a headless linux home server by my router will my spare computer parts. I have NFS and even a COD4 server running on it for my friends and me. Because the box is headless, I take controll over it with ssh and start the COD4 server from there, but the problem is, if I close the terminal I have the ssh running from, it closes my server, meaning my desktop needs to be up and running the entire time. That kinda ruins the point of my server
So my question is, is there a way for me to run the command so that it will not close with the terminal AND that I can still send commands to the server.
If I run top, there's a process plymouthd always running, often taking a few percents of CPU. I found that "plymouth" would be a splash screen. My PC is booted already though, I don't need a splashscreen once it has booted. Is this a bug? How can I get rid of this process that always uses %CPU?
Maybe someone can shed some light on this process that is running. It is using my CPU about 100% since there are 2 instances of it running with about 50% used by each.abc_sieve_2.10_i686-pc-linux-gnuI've never noticed it running before and don't think I've installed anything except updates.
I'm using mencoder to capture audio from a Encore ENLTV-FM3 video capture device. I have recently noticed that, since one week ago, when the machine was forcibly restarted due to a power outage, all recordings are slightly pitched, they play back slower than they should.
I narrowed down the problem to the following command line:
$ time mencoder -really-quiet -tv driver=v4l2:device=/dev/video1:chanlist=us-cable:audiorate=32000:alsa:adevice=hw.1:input=0:amode=1:normid=11 -endpos 00:10:00 -ovc copy -oac pcm -of rawaudio -o test-32000.wav tv://69 real 9m54.886s user 0m5.536s sys 0m1.740s $ ls -l test-32000.wav -rw-r--r--@ 1 martin martin 76800000 Mar 15 17:20 test-32000.wav
Somehow, mencode managed to gather precisely 10 minutes worth of raw audio in 9m 55s. That's not physically possible, unless the capture device's A/D converters are "overclocked". I can't think of any other explanation besides hardware failure. Can that be? Could it be that something got burnt during the power outage and now the capture device's internal clock went nuts?
Since the machine's restart, I've also noticed dmesg is flooded with entries like this:
CE: hpet increased min_delta_ns to XXX nsec
Which seem to indicate that the computer's high precision event timer is somehow out of sync. Does this have to do with the audio issue? Can it be that the audio converter's sample rate is linked to the HPET? I'm totally lost here. Has anyone bumped into something similar?
I just installed Wine (1.1.3* dev release) and installed Notepad++ (OSS) and Net Meter (Freeware, the latest beta is actually OSS too). I also intend to install a few other things later. The only failure so far is the latest WinSCP So it made me wonder about what running a process/software as "root" actually means. When I use U.S.C or 'apt-get install' to install software on my computer, and type my password, it displays that keyring icon on my systray.
Does this mean I am root at that moment? And how about running wine, the wine processes, and any windows *.exe I'm installing and running? I basically am afraid that I am running all the wine-related stuff as root, even though there is no indication that I at least have elevated privileges. What is/are the worst-case scenario(s) about wine?
Firefox keeps freezing.the process keeps running.I've uninstalled firefox, installed different versions, ie 3.6, 3.7 etc, I've removed my profile folder in my home directory.same results. I've ran firefox as a SU and I get this output from the terminal
(firefox-bin:28892): GLib-WARNING **: g_set_prgname() called multiple times /home/josh/.gtkrc-2.0:2: error: scanner: unterminated string constant - e.g. `style' (parent won, so we're not deferring)
I installed Gnunet (a secure P2P program) on Ubuntu 10.10 using Ubuntu software centre but had difficulties getting it to work so removed it. However, the gnunetd process loads at startup. It is only visible when typing 'top' in the console and not in the system monitor list of processes.gnunetd --version tells me that it is 0.8.1b sudo apt-get remove gnunetd tells me 'unable to locate package' why the process loads and how to remove it? I can kill it in the console but would like a way of getting rid of it permanently.
i am using Ubuntu 10.04.1 LTS. i only ever contact my ubuntu machine through SSH. everytime i login, i do:
~/downloads/.dropbox-dist/dropboxd &
this launches the dropbox process and all is great. except when i log back into the ubuntu machine via ssh after a few hours, the process no longer exists. how can i get the process to run indefinitely?
I am trying to write a script that will look for a plugin and check that its running and if not start it Code: ps ax | grep -v grep | grep aseco.php The above should list the process, if I put it into terminal this is incorrect?
how to configure X11 forwadring over SSH so, that when I open any app over SSH, I get displayed window of a process that is already running on my server (in case its running ), not a new instance of it.
I've just installed Unison. I created the default profile, selecting one of my subdirectories as the source. That done, the GUI disappeared, although a unison-2.32.52- process remained running. I can start another GUI session and, regardless of if I kill the old process, I can only choose my profile before the GUI disappears again. There is no opportunity to do anything else useful, such as selecting a destination directory.