General :: Allowing Multiple Simultaneous Rsyncs To Play Nice Together?

Jun 1, 2011

Each day I need to copy N files from a source location to a mirror at a specific time (where N is very large). Let's say I tell multiple CPUs to each run an rsync simultaneously on a subset of the files (network and disk bandwidth are not an issue). Ideally each CPU would be responsible for a disjoint subset of the N files, but in practice this is sometimes hard to guarantee. (Some of the source files might be "claimed" by more than one CPU.) As a result, sometimes rsync I and rsync J will both try to copy file F at the same time.

Using rsync -avz --delete --temp-dir=/tmp remote:/path/to/source/ /path/to/dest/, let's say rsyncs I and J both see this situation to start:

[Code]...

Now rsync J finishes copying but generates an error when it tries to move its version of FileB to /path/to/dest/ because there's already another FileB there that it didn't see when it started.

Does one of rsync's many options somehow handle this situation? Ideally I'd like an option that tells rsync, "Believe in yourself. You can do no wrong. Feel free to overwrite anything your little heart desires." so that it wouldn't complain about the FileB that has suddenly appeared mid-execution

View 1 Replies


ADVERTISEMENT

General :: Flash Games Don't Seem To Play Nice With Ubuntu / Fix It?

Jun 4, 2010

So some flash games don't seem to play nice with Ubuntu. Some do. I have no problem playing Cursed Treasure, but when I try to play, say, Learn To Fly, the opening page loads, but then when I click the "play" link, it does nothing.

Also, using the latest release of Ubuntu.

View 1 Replies View Related

General :: Configure A Single Computer To Work For Multiple Simultaneous Users?

Aug 17, 2011

How can I configure a single computer to work for multiple simultaneous users? I would like to have multiple keyboards and monitors on a single PC ... Is it possible? This set up I'm planning for CyberCafe, For cyberCafe business ROI is very slow... so was planning to have something like this....

-single CPU (Which would act as a server)
-Multiple monitors, keyboards, Headphones etc....

If this works out then I would save a lot on my investments (OS cost, Hardware devices, electricity etc)

View 3 Replies View Related

General :: Allowing Multiple Passwords Attached To One Account?

Jun 14, 2010

Is it possible to have more than one password simultaneously attached to a login account in Linux?I'd like to be able to add a temporarily-authorized user to an account on my web server, but don't want to have to change the login afterwards.Even cooler would be if this could be done with a timer of some kind so the temporary password would auto-die after, say, 24 hours.

View 1 Replies View Related

Hardware :: ALSA - Play Music On Simultaneous 2 Sound Cards?

May 31, 2010

how can I play audio (Mythtv - Play Music) simultaneously on two sound cards using ALSA drivers. I have two cards working well. One card is an onboard Intel cards, and the other card is a USB Audio card. Both cards are working well. I use the onboard Intel to output SPDIF to an amplified. The second USB card is bound to MPD service and it outputs an analog signal to a second amplified. I'd like to have the following configuration: Play to the default card with 5.1 passthrough, while the second card, connected to a second amplifier, plays an analog signal to the same audio played by Mythtv Play Music. In other words, I need to mix somehow and play the same audio on both cards.

Here is the list of cards:

root@mythtv:~# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)

[code]...

View 2 Replies View Related

Software :: Xpdf Won't Play Nice With UTF-8?

Jul 20, 2010

I use Vector Linux 6 (based on Slackware 12.1) and I set the encoding to UTF-8 because I use Spanish characters. The problem is that when I try to open files with accent marks, for instance, with xpdf they all look garbled. How can I get xpdf to display the names correctly?

View 9 Replies View Related

Ubuntu Networking :: SFTP Multiple Simultaneous Connections

Feb 7, 2010

I really hope someone could help me with this problem. I've been stuck on this for a month.I am using the sftp command to upload files using a bash script.The problem is that it is extremely slow to do it this way. as many of you would know if you have shared server somewhere. I would use scp if remote server supported it, but it doesn't.

Anyway, If any of you have ever used FileZilla, in the Settings, if you go to "Transfers" there is a place where you can set the number of "maximum simultaneous transfers". This feature works wonders with SFTP (and FTP too). It really speeds things up. How do I accomplish this same thing with the sftp command... because I don't want to use a GUI. I don't even mind using FileZilla through the command line if possible... but it does not seem to be possible. I've been stuck on this for a month!!! I've searched everywhere and tried a lot of things with no avail...

View 6 Replies View Related

Ubuntu :: Multiple Simultaneous Keyboards With Unique Layouts

Aug 25, 2010

As the title says, I'm interested in two (or more) simultaneous keyboards, each with a unique layout. Everything I've researched indicates this should be possible, but I'm unable to get it to work. Regardless of how I set things up, all keyboards consistently operate as if they share the CoreDevice setting in xorg.conf.
In the above config, both keyboards behave as if they're set for the USA layout. Changing the layout in gnome-keyboard-properties affects all of the connected keyboards equally, but has no provision for altering individual devices.

View 1 Replies View Related

Ubuntu Multimedia :: One Sound Card For Multiple / Simultaneous Uses

Nov 5, 2010

I work for a company that uses Ubuntu exclusively. Without going too much into detail, we need a single sound-card to do up to 3 things at one time. What I mean by this, basically, is that there needs to be 3 instances listening to a card's line-in port at any one time. For example (these are made-up), Audacity listening to the line-in jack and making a recording of what it hears, a custom script that streams the input to the internet, and a third instance that listens to this input and runs different scripts based on what it hears.

Currently, our company sends out machines with 3 sound cards to do this. One card for each job. Of course, we'd like to save money and only send out one. Whenever we try to set all 3 programs to run off of one card, they error out and say something along the lines of "device already in use". Is there a way to go around this? If so, how? We use the command-line version of Ubuntu 8.04. It is NOT x64. The hardware may vary a bit, but is for the most part, consistent. (We order in batches of 50.)

View 8 Replies View Related

Ubuntu :: Getting Empathy To Play Nice With Compiz?

Oct 19, 2010

Does anyone know the class name for Empathy's chat windows and buddy list? On Ubuntu 10.10:

System->Preferences->CompizConfig Settings Manager->Window Management->Place Windows->Fixed Window Placement

Trying to grab the Empathy window class doesn't produce any results and adding "empathy" as a windows class to control only affects the "about empathy" window and not the conversations or the contact list.

It'd be nice if Empathy behaved like the rest of my programs and allowed me to restrict it to a specific workspace. Not sure what class I should be using.

View 3 Replies View Related

Ubuntu :: Getting GVim To Play Nice With Unity

May 24, 2011

my idea is to have gvim working like gedit in ubuntu 11.04: when you open a file thru unity's dash, and if there's already an open editor, it opens the file in a new tab.To make nautilus open more than one selected files in gvim's tabs, i used to change the exec line in /usr/share/applications/gvim.desktop to "Exec=gvim -p --remote-tab-silent %F". This trick is working ok in nautilus and also in unity, just like the way I was planning.

However, when i try to open gvim itself without specifying any files (from unity's dash or a launcher set) it fails. Can anyone please help me with this ?

View 1 Replies View Related

Ubuntu Installation :: Vmware Workstation7 Wont Play Nice

Apr 16, 2010

I have vmware workstation installed on my OS and I am now trying to setup several iso.'s as virtual machines inside of vmware.

Here are some of the iso's:

Now, I get as far as the 'Gues Operating System Installation' part and then at the bottom I see a prompt saying "could not detect which operating system is in this disc image. you will need to specify which operating system will be installed". Aren't my iso's operating systems? or are they just apps?

View 1 Replies View Related

Ubuntu Multimedia :: Getting Rhythmbox And Virtualbox To Play Nice With Jack?

Oct 29, 2010

Ideally, I would be able to have Jack (for supercollider) coexisting happily with other apps that use the audio system, specifically --

Rhythmbox (yes, there are other players but this one interfaces cleanly with my iPod) Oracle virtualbox (which I use for NaturallySpeaking)

The typical recommendation around the web is to configure ALSA to pipe its audio through Jack, which I tried according to [URL]. With that .asoundrc, I could choose ALSA as the driver for VLC and it output okay. But I'm not sure how to tell rhythm box to use ALSA instead of pulse audio. Worse, when I changed my virtual machine's configuration for ALSA (instead of the default pulse audio), the audio connection died -- the alsa ports disappeared from qjackctl's Connections window, and NaturallySpeaking didn't pick up any audio. This is fairly serious because I depend on dictation software to deal with an RSI (dictating English, not code of course) and I'd rather not have to stop Jack just to dictate something.

Rhythm box and virtual box both work perfectly with pulse audio connecting directly to the hardware. In the past, I've gotten pulse audio to route through Jack but it's dicey -- xruns are common and sometimes the audio gets choppy.

What next? I suppose getting the ALSA configuration right is the best thing, but early tests were not exactly encouraging.

(edit) PS I'm using virtualbox for DNS because wine failed me. Completely Plus wine's jack option for audio IO did not work with NS at all. NS works really well in virtualbox so I'm keeping that one.

View 9 Replies View Related

Ubuntu :: Failing To Get Gentoo To Play Nice With Grub2 - Doesn't Add To The Menu

Feb 10, 2010

Trying to get gentoo to play nice with grub2. failing so far. here's what i got in my 40custom file (doens't work):

menuentry "Gentoo-Linux" {
set root (hd0,7)
kernel /boot/kernel-2.6.31-gentoo-r6
initrd=/bin/bb
}

when i run grub-update btw it finds gentoo by itself but doesn't add it to the menu.

View 5 Replies View Related

Networking :: Compiz Doesn't Play Nice With Remote Desktop - Ubuntu 10.04TLS

Jun 17, 2010

I want to set my main PC as a remote desktop so I can use it for programming and data storage remotely. I plan to control it with my netbook running Ubuntu Netbook Remix. If I disable compiz I can successfully connect and manipulate my desktop remotely, but I can't do it with compiz enabled on any settings. Is there a way to fix this issue? Would I have the same problem if I installed KDE?

View 1 Replies View Related

Server :: Technology For Detecting Types Of Traffic And Allowing To Run Multiple Types?

Apr 9, 2011

I would like port 80 to have a small daemon running on it that detects HTTP traffic and sends a small redirect response, and any other traffic begins streaming data from my VPN daemon. I was wondering if this has already been made, or any kind of technology for detecting types of traffic and allowing you to run multiple types of servers on the same port.

View 4 Replies View Related

General :: Simultaneous Multithreading Support?

Jul 15, 2010

I was looking around on Wikipedia, and ran across the UltraSPARC T2 processor. This is a processor with 8 cores (8 physical processors) and 8 threads per core (64 logical processors!)I'm aware of Intel's Hyper-Threading and other technologies, and I know collisions between the threads have the possibility of decreasing the processor's throughput.From what I know, the O(1) scheduler (and surely the current CFS scheduler) is aware of Hyper-Threading, and is careful with processor affinity for threads (mainly, it tries to fill every physical processor before giving any multiple threads, and it tries to keep processes that much move between logical processors on the same physical processor.)

However, although that certainly helps somewhat, I believe the largest gain can come if the compiler is allowed to re-arrange instructions, so that more than two threads can be run at once without collisions in one physical processor. For this to happen, I believe we'd need to come up with a new executable format that can store multiple threads in one file, so the scheduler can schedule them as one block.For example, with the current scheduler and executable formats, the UltraSPARC would appear as 64 logical processors. However, if we consider a system that consists entirely of thread-aware systems, it might look at it as 8 logical processors, and schedule eight processes at a time. Since only one process would exist on each physical processor, the compiler would be able to optimize and significantly reduce resource contention (which I mention below.)

We can look at one physical processor with 8 threads of execution (or any number >2.) If you run 8 different processes, as Linux would currently do, there would likely be a lot of resource contention. My guess is that most of the time, several threads would be waiting for the unit they need to become available. I feel that this is supported because I saw a number from Sun (I forgot where) that the correct optimization settings on their compiler can yield a 300% speedup, on a practical workload.Is there any infrastructure available for Linux that supports processors like the UltraSPARC T2, that have a high number of hardware threads per core? Also, I know this would be a large task to implement, and there would be hurdles (how do you mix multithreaded processes with single-threaded processes on one machine?), and I am wondering if others think there would be enough benefit to justify the effort.

View 1 Replies View Related

General :: Can Apache Log Simultaneous Connections?

Jan 10, 2011

We just setup a Moodle server in Apache. We would like to track how close (if at all) we are getting to our MaxClients limit. Is there a log that will show simultaneous connections?If there is, can it be set to only log when specific numbers are hit?

View 4 Replies View Related

General :: Simultaneous Access Of 2 Hard Disks From Same Laptop

Sep 30, 2010

I have Linux installed on my laptop and now I have installed Linux on my external hard-disk too. I was planning to use the external harddisk as a backup medium for my data. I was planning to use data synchronization software and all that. Now I have realized when I boot from my external hard-disk I can't see the other hard-disk and vice-versa.

View 9 Replies View Related

General :: Do Simultaneous Playback On Digital And Analog Output In Ubuntu?

Jul 19, 2010

I've setup an HTPC with xbmc, and I'd like to output the audio from the system to both my digital and analog outputs on my mother board. How do I do it? Can their be a script that duplicates the output of one to the other? Here's what aplay -l said:

[Code]....

View 1 Replies View Related

General :: Display The Nice Value Of A Process?

Aug 13, 2010

What is the command to display the nice value of a process?

View 4 Replies View Related

General :: What Is The Default Nice Value For Processes

Nov 17, 2010

What is the default nice value for processes?The setpriority() function sets the nice value of a process, all processes in a process group, or all processes for a specified user to the specified value. If the process is multi-threaded, the nice value affects all threads in the process. The default nice value is 0; lower nice values cause more favorable scheduling.

View 2 Replies View Related

General :: CPU Speed Stepping And Nice Values?

May 25, 2010

My cpu is set via Gnome-power manager to automatically speedstep under demand....

the thing is i have a few nice level 19 processes running most the time that eat up all the idle time, this forces my clock speed up and as such makes the fan noisy and uses more power...

basically what i would like to do is to ignore process load with a nice over a certian level when determining weather to speed step.

View 4 Replies View Related

General :: Start Java With Nice Value Fails (Missing Libjli.so)

Oct 29, 2010

In principle my java installation works perfect now I tried to increase priority with nice. So I put special user rights to nice:
chmod u+s /usr/bin/nice

And then tried:
nice -n -20 java something
but this gives me the error that libjli.so is missing.

View 6 Replies View Related

General :: Allowing VNC Connections Into Mint?

Aug 26, 2010

Do any programs need to be installed that aren't included in the default install of Linux Mint in order for it to allow VNC connections?

View 3 Replies View Related

Programming :: Play Multiple Sound Streams On ALSA Dmix?

Jul 31, 2010

I'm having trouble getting ALSA to play multiple sound streams (multiple sounds at once). My code is running on an embedded ARM board using a AC97 sound. It will only play one without any mixing, I have to use pure ALSA as higher sound mixers are a nightmare to cross compile for ARM. I've tested my system with aplay for example

aplay -D plughw:0,1 bang.wav

works fine. So I tried dmix with

aplay -D plug:dmix Win.wav

That gave the following error

ALSA lib pcm_direct.c:1587snd_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
aplay: main:550: audio open error: Invalid argument

I checked asound with

/etc # cat asound.conf
pcm.EP93XX {
type hw

[code]....

Does this mean dmix will not work? Is there someway with the above setup I can play multiple sounds? I have to use the vendor ALSA build (so can't update ALSA), I can change the .confs however. Also because I'm cross compiling things like pulseaudio SDL are very difficult to get working, so I basically need to use the above ALSA. Is there anyway I can find if dmix exists on the system?

Should add aplay -L does show dmix ?
iec958 'cards.pcm.iec958'
spdif 'cards.pcm.iec958'

[code]....

View 3 Replies View Related

General :: Fedora 10 Stops Allowing Connections?

Jun 3, 2010

I have Fedora 10 set up as a server. Occasionally it will stop allowing connections, such as ssh, http, and samba. This continues until someone hits a key on the keyboard, and then it seems to come back to life and accept connections. At this point, the date and time will be wrong. Judging from monit messages that inform me when it stops allowing connections, I think the time freezes at whatever time it is when it stops allowing said connections.

Power Management has it set for the computer to never turn off. Sleep mode is also disabled in the BIOS.

I thought it was possibly the CMOS battery, but that has been replaced and the issue persists.

Someone previously thought it might have been Network Manager, but that is disabled due to issues it has with a static IP.

View 11 Replies View Related

General :: Only Allowing A Limited Number Of Directories?

May 14, 2011

I have a drive NTFS formatted drive mounted in Debian and a script set to make directories via a linux script and cron job. This was running flawlessly till recently, when I started getting 'mkdir: cannot create directory 'dirname': Operation not supported'.I have been unable to find any help with this issue online. I assume it is a NTFS mount issue. I know it isn't about file size, as the drive it 1TB.Here is my fstab for reference:Code:/dev/sdb1 /mnt/backupLocation ntfs-3g rw 0 0Do you know what the issue is here? Like I said, up until recently I have been able to create seeming unlimited directories here, but it now stops after about 7 - 10 directories have been created?

View 9 Replies View Related

General :: Start Up The VM - Get A GRUB Menu Allowing To Boot?

Nov 29, 2010

In order for me to get started with Linux, I downloaded & installed Virtualbox (V3.2.10) on my WinXP machine, and downloaded the Puppy Linux image from as per[URL].. When I start up the VM, I get a GRUB menu allowing me to boot

Quote:
Linux (on /dev/hda1)
Install GRUB to floppy disk (on /dev/fd0)
Install GRUB to Linux partition (on /dev/hda1)

I tried the first option, which results in Quote:

Booting 'Linux (on /dev/hda1)'
root (hd0, 0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal

[Code]...

View 7 Replies View Related

General :: Allowing An IP Range To By Pass The Max Size Limit For Web Request?

Mar 10, 2011

I've been struggling with what should be an easy change on our Squid proxy.Basically I'm attempting to allow the ranges:

IP range is:
209.197.0.0/19
Address: 209.197.0.0

[code]....

View 2 Replies View Related







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