General :: How To Prevent VNC From Swapping HD
Apr 6, 2010
Actually I'm not sure that it's swapping like mad: I've done more testing and it looks like there may some interference causing the noise that may be correlating with network usage. I'm accessing a MacMini (with MacOS X 10.4) from my Linux machine using VNC. My Linux machine has 4 GB of ram and I run a lot of various apps on it and I've got no issue at all. It's all snappy and don't hear the hard disk swapping/read/writing too often. Now with VNC, the hard disk is swapping like mad. When I'm moving things on the OS X desktop. So I was thinking of creating a ramdisk and forcing the temp VNC files to go into that ramdisk but the problem is I can't find any temp files.
I've attempted to do that:
#!/bin/bash
while [ true ]
do
lsof | grep vnc
done
The VNC version I'm using is this one:
$ vncviewer -version
VNC Viewer Free Edition 4.1.1 for X - built Jan 30 2009 19:33:16
Copyright (C) 2002-2005 RealVNC Ltd.
No matter how much data is coming from the Mac, there should be plenty of memory (4 GB of ram) so there's really no reason to swap like crazy.
View 1 Replies
ADVERTISEMENT
Feb 9, 2011
Is it possible to prevent a specific program (i.e. rhythmbox and its dependencies) from ever swapping to disk?I'm asking because I have a problem when a music player hiccups whenever Chromium hogs too much memory. Is there a way to work around this? This isn't a problem in Windows anymore so presumably there is a way.
View 3 Replies
View Related
Oct 1, 2010
Need reasons why the unit of cache swapping is called a line rather than a page ?
View 4 Replies
View Related
May 2, 2010
100% and keeps swapping over
View 9 Replies
View Related
Feb 16, 2010
I currently have Ubuntu installed onto my laptop, on a single drive partitioned into /root /home /swap. I now have an additional spare HD that I was thinking of installing Win XP onto. So If I needed to use XP for a specific program then I could just swap out the HDs instead of having a Dual Boot system on one drive. confirm that by swapping out the HDs this will not affect the Grub Boot Loader and I will be safe to do this without screwing up my Ubuntu, as if it will screw it up I will just stick with Ubuntu on my Laptop and forget about XP.
View 2 Replies
View Related
Mar 9, 2011
The hdd that my system boots from is named "sdb". But sometimes it's named "sdc". It changes from boot to boot. There are four hdds in this desktop and my boot disk keeps swapping names with a data disk (sdb and sdc). No raid. Never affects the other two disks. I am running Ubuntu 10.10, but this problem began when I was a running 10.04.
View 5 Replies
View Related
May 19, 2011
I have installed xubuntu. I have a total of 12034MB of main Memory of which ~1000MB are normally used.When I leave the computer and come back, it is swapping a lot. Whenver I display a window (firefox i.E.) that I have not displayed yet since I left the computer alone, I can here the HD working, and the system monitor shows me how more memory is used and less swap space.
But there is absolutely no need for it. I have at least 10000MB of free Memory at all the time!Can I somehow tell my xubuntu installation to stop swapping unless there is really little main memory left (lets say less than 2000MB)?My kernel version is 2.6.35-29-generic because I have trouble with the raw1394 module in the newest version.
View 4 Replies
View Related
Sep 1, 2011
I am using Ubuntu 10.04, 64 bits. I need to swap sata hard drives (they are installed in drawers). If I umount and remove a disk, and then put the same drive in it's place, I can mount it again with no problems. If I put another disk in place of the original, it says: mount: special device /dev/sdc1 does not exist. If I reboot, the new disk is mounted correctly (sdc1 is in fstab).
View 4 Replies
View Related
Jul 7, 2010
How to restrict the swapping kernel memory and user process memory? Memory locking like mlockall()? Disable swapping feature in linux kernel? My system runs 64-bit CentOS under 6GB RAM.
View 1 Replies
View Related
Jul 15, 2011
I'm in the process of swapping out my current HDD with a SSD. Are there any configurations that need to be made after a fresh install? If anyone currently have SSD and running linux, I'd like to here your experience and whether or not you have/had issues.
View 13 Replies
View Related
Jun 6, 2010
I am using an Apple Keyboard (DK-layout) on my PC running Ubuntu 10.4. The problem: My key used to type <, > and is swapped with the key used to type and If I connect a standard PC-keyboard with DK-layout using USB, it works just fine. The problem exists both in the console and X. I solved the problem in the console by installing the console-keymaps package, made a copy of dk-latin1.kmap.gz and swapping keycode 86 with keycode 41 and loading the new keymap with the loadkeys command. I only need to figure out how to load the new keymap at boot time.
However, in X, I want to do exactly the same. I suppose I have to use Xmodmap. I simply can't figure out how to do it.
View 3 Replies
View Related
Jan 1, 2011
I have two HDs, one is a 80gb OS drive(Parallel ATA) and the other is a 1T storage drive (SATA). Well after each reboot they swap between /dev/sda and /dev/sdb, over and over again. One boot the OS is /dev/sda and the next its /dev/sdb, same goes for the second drive. This makes it difficult to setup fstab so it will mount the large storage drive on boot.
View 3 Replies
View Related
Jun 13, 2011
i'm using an apple macbook pro with ubuntu 11.04 and i'm having a little trouble swapping my cmd and ctrl keys.I'm use to copying and pasting using cmd + a, c, v etc. Instead when i press cmd im getting the unity bar popping up.
View 2 Replies
View Related
Mar 29, 2010
As the title says /dev/dsp and dsp1 are swapping places causing mythtv to pull the wrong audio from the wrong tuners. It does this when the machine is rebooted.
How can I make it permanent it? I'm using Mythbuntu 9.04.
View 3 Replies
View Related
Apr 20, 2011
I've been following grub-common bug #606845 and in coming to a solution for the issue, these guys are using dd as a brute force means of swapping out master boot records or trampling them, if you prefer. (Background: The issue is related to grub and certain xp installations)
An sample snip of code:
dd if=/mbrxp.bin of=/dev/sda bs=512 count=1
1) Is mbrxp.bin a back-up of the mbr taken before installation of squeeze (or grub in general)?
2) Am I fubar if I didn't make a back-up of the mbr before installing grub?
View 2 Replies
View Related
Aug 15, 2011
How do you swap between primary and secondary languages for the keyboard (using GUI not terminal codes since this is for someone else who is a beginner at computing)? I installed the secondary language in the "language" section of yast, but can't see any options for swapping on the fly. Lets say they do 99% of stuff in english, but get an email they want to respond to in the secondary language or want to write a text document using the secondary language, is there a way to switch back and forth on the fly?
View 9 Replies
View Related
Mar 3, 2010
I am running Ubuntu 9.10. My work requires me to frequently swap video cards between an ATI Radeon 5870 card and an NVIDIA GeForce 8800 GTX card. My question is: can the ATI driver (fglrx - catalyst 10.2) and the NVIDIA driver (nvidia 190.29) co-exist? Or do I need to reinstall the driver every time I change the card? I would like for the drivers to be able to co-exist so it would only be a matter of restarting my machine with the new card and choose the right xorg.conf file (perhaps from the GRUB menu).
View 9 Replies
View Related
Jun 25, 2010
I have 3 Dell r610 servers all running 10.04 and 1/3 can't connect to us.archive.ubuntu.com the other two are fine. I've tried swapping the cable from one of the other servers to the one with the issue, switching the IP address, restarting the networking module and nothing resolves the problem.
View 1 Replies
View Related
Jul 20, 2010
Ubuntu 10.04 x86 with all updates.
MB is MSI K8N Neo2 Platinum with 2M Ram and AMD Athlon 64 3000+
Using Conky part of which is
CPU: ${hwmon 1 temp 2}�C
NB: ${hwmon 1 temp 3}�C
CORE ${hwmon 0 temp 1}�C
HDD 1: ${hddtemp /dev/sda}�C
HDD 2: ${hddtemp /dev/sdb}�C
CPU FAN ${hwmon 1 fan 2} RPM
MB FAN ${hwmon 1 fan 1} RPM
Conky is set to start on boot, but usually doesn't. If i run Conky from terminal i get
Conky: can't open '/sys/class/hwmon/hwmon1/temp2_input': No such file or directory
please check your device or remove this var from Conky
Segmentation fault
If i edit conkyrc and change hwmon 0 for hwmon 1 and vice versa all is ok until next boot, and so it goes on.
My etc/modules is# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
lp
# Generated by sensors-detect on Thu Jul 8 10:16:02 2010
# Chip drivers
w83627hf
Added blacklist k8temp to blacklist.conf but as not in above probably a waste of time.
View 1 Replies
View Related
Apr 12, 2011
I have heavy swapping going top and free are indicating a lot free memory in cached form.Why does the kernel not use this memory instead of killing my desktop by swapping like crazy.
View 6 Replies
View Related
Oct 13, 2010
I'm trying to stop swapping on my system (without using swapoff -a). So I do: echo 0 > /proc/sys/vm/swappiness vmstat 5 and I still see swapping activity under si and so. Am I missing something?
View 2 Replies
View Related
Jan 9, 2010
My linux prevent CDs autorun! i wanna know what to do?
View 1 Replies
View Related
Jul 7, 2011
I have two servers (A and B) which are identical. My idea was to have a software RAID 1 with both of them running and if server A craps out I wanted to swap the hard drives from server B into server A. When I tried to test this idea the network driver doesn't seem to want to cooperate. ifconfig gives nothing and I can't figure out why. From googling I've read that a network card has a unique ID on it (I'm assuming their talking about the MAC address) and is used in some config files which is why swapping hard drives gives two different MAC addresses and confuses the system. If that is so would anyone know exactly what config files the mac address is stored/used in? That way I can make a backup of those files and swap those out if I ever need to swap out the hard drives.
View 2 Replies
View Related
Feb 24, 2010
For a good while I used the following code to swap caps lock and escape, which is very beneficial to me as I have vim-like keybindings in most of the apps that I use:remove Lock = Caps_Lock
add Lock = Escape
keysym Caps_Lock = Escape
keysym Escape = Caps_Lock
followed by xmodmap ~/.Xmodmap, which I got from http://vim.wikia.com
/wiki/Map_caps_lock_to_escape_in_XWindows. However, after a recent Debian upgrade with aptitude, this stopped working - or, it does work poorly, in that caps lock toggles caps lock and acts as escape, so I have to press it twice all the time. Is there a better way to do this with X, since my solution stopped working?
View 2 Replies
View Related
Jan 11, 2010
We have a four socket amd machine, running barcelona processors, with 64gb ram.The system runs for extended periods just fine when the system is running up to or below the 64gb memory limit. A typical load on the machine has short periods where the machine uses heavy amounts of swap space (30+ Gb). We have a swap partition of around 96Gb. When we push the machine into heavy swapping, the machine will fail within 24hrs. Has anyone experienced this problem and is there a solution other than buying more physical memory? Or am I wrong and maybe the physical memory is the issue? I thought maybe it was the memory itself, and after stripping the memory down, I get the same problem...failure upon heavy swapping
View 7 Replies
View Related
Feb 18, 2011
I'm running into some trouble swapping my Alt_L and Super_L keys on my 2006 Apple MacBook. For starters, I'm running Xubuntu 10.10, and I want to swap the keys because Apple's standard key mapping has the two keys reversed. For starters, running "xmodmap -pk" without having made any prior modifications to .bashrc or .xmodmap shows me the following:
Code:
64 0xffe9 (Alt_L)0xffe7 (Meta_L)0xffe9 (Alt_L)0xffe7 (Meta_L)
133 0xffeb (Super_L)0x0000 (NoSymbol)0xffeb (Super_L)
204 0x0000 (NoSymbol)0xffe9 (Alt_L)0x0000 (NoSymbol)0xffe9 (Alt_L)
[code]...
And now xev is reporting key 64 (what I want to be Super_L) as Alt_L and key 133 (which I want to be Alt_L) as Super_L. So I then proceeded to add two lines to my ~/.bashrc file so that it now reads:
Code:
xmodmap -e 'keycode 64 = Super_L'
xmodmap -e 'keycode 133 = Alt_L'
xmodmap -e 'keycode 204 = Super_L'
xmodmap -e 'keycode 206 = Alt_L'
Now when I start up, both xev and xmodmap -pk are reporting exactly the configuration I want, with Alt_L and Super_L swapped (Alt_L = 133 and 206; Super_L = 64 and 204), but these changes are not actually taking effect. I have no idea what gives with that. I have some suspicions about the duplicate entries for these keys when running "xmodmap -pk." Xev only reports the keys as 64 and 133, but xmodmap -pk reports both 64/133 and 204/206. Is it normal for these modifier keys to be listed twice in xmodmap like this?
For what it's worth, the only thing that works is running gnome-keyboard-properties, in which I have my keyboard layout settings adjusted so that Alt_L and Super_L are swapped. While this works perfectly after I open and close it, it's not exactly an optimal solution at all, as I also had to install all kinds of other GNOME applications along with it, including GNOME's appearance and startup management programs, which are interfering with XFCE's own settings. But, after running gnome-keyboard properties, the output of running "xmodmap" in terminal changes from (changes in bold):
Code:
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
[code]....
I am thoroughly confused; could somebody perhaps shed some light on what's going on? I will throw it out there that this is the first time I've attempted to use xmodmap to modify my keyboard mapping, and everything above is the result of researching on Google, so perhaps I'm missing a critical step.
View 3 Replies
View Related
Apr 9, 2010
I am doing a project on page replacement algorithms.... Can anyone point out the the source code for page swapping in linux kernel source tree.(I am using 2.6.31 kernel on a 32 bit x86 machine).
View 1 Replies
View Related
Jul 11, 2010
I'm currently copying a large number of files over a network. To monitor progress, I tried running watch du. However, the output never changed (or not much, not sure). find . -type f | wc -l always gives me the same number of files as does ls -R. It seems, these programs use caching, which is, in general, a good thing. Does anyone know, though, how cache usage could be controlled? I'm on an Archlinux system and I'm working on an ext4 fs on an encrypted hd.
View 4 Replies
View Related
Jan 28, 2011
How to change this sequence to, for example "Ctrl+Fn+F1" or temporarily disable it?@related: How to send Ctrl+Alt+F1 to window (to switch terminal remotely, not locally)?
View 1 Replies
View Related
Mar 17, 2011
I am running a shell script from a rc file in Linux. The shell script is going into a loop which runs for 8 hours. Now I want to prevent the shell script from running when Linux boots or I need to find a way to kill the shell script when it is running. I tried using killall, kill $! and Ctrl+C etc. Nothing seems to work. Can you suggest a way out. I am new to Linux.
View 2 Replies
View Related