Displaying 20 results from an estimated 1000 matches similar to: "filelist caching optimization proposal"
2003 Oct 02
10
shorewall restart failure recovery option?
Hi,
I was thinking about changing the #shorewall restart command a little bit.
Would it be a good idea to make this command restore the previous running
configuration in case of a start-failure? (kind of like the "try-command")
1. Save the currently running iptables configuration to a /tmp file.
(with iptables-save for example)
2. Run the new configuration. (the one in /etc/shorewall)
2003 Oct 23
3
Shorewall backup configuration patch/hack
Hi,
I created a modification (more like a hack) to shorewall that backups a
configuration after succesfully (re)starting it. In case a future
(re)start fails it will use this backup configuration. (instead of
stopping the firewall and generating a massive ammount phonecalls ;)
I didn''t pay too much attention to the ramifications of this patch, so let
me know if i screwed anything up.
2003 Feb 12
2
Filelist caching
Hi,
I've noticed every time someone does an rsync-request on my ftp-site
(which also provides rsync as mirror method), rsyncd creates a filelist.
This is a quite IO and CPU intensive procedure, especially for things
mirrors like FreeBSD with lots of little files.
I was wondering... is there a way to cache that filelist? Our mirrors
are updated once, or twice a day, it could speed up
2003 Jan 04
4
filelist calculation algoritm
HI all,
efficiency question for VERY low bandwith networks
Suppose I know the list of files that are changed
What is the most efficient way to make rsync sync this list.
Currently I use --include-from --exclude to generate a 'filelist' but I
suspect that client and/or server exchange the list of files in the module to
be synced. this traffic can be avoided since the include-from
2002 Aug 16
1
performance problems while building the filelist...
Hello Rsync PRO?s,
i?m satisfied with the rsync features...never seen a better replication tool....!! ;-)
But i have some problems...:-(
OK, here me installation:
- one Compac Proliant ML370 with cached SCSI HDDs and 1,2GHz and 1gb RAM...
on this machine we have the Rsync deamon runnig to export the data we want to replicate
- now we have 68 other NAS machines in our branch offices and this NAS
2004 Sep 03
1
more filelist --stats
The attached diff causes rsync to show how much time it spends
on building and sending its filelist. I'd appreciate if you
could consider this change for inclusion in a future release.
-------------- next part --------------
diff -ru rsync-2.6.3pre1/flist.c rsync-2.6.3pre1+tykhe/flist.c
--- rsync-2.6.3pre1/flist.c 2004-08-12 14:20:07.000000000 -0400
+++ rsync-2.6.3pre1+tykhe/flist.c
2004 Apr 21
2
Resizing a ListCtrl
Hi Guys,
I''m having serious troubles resizing a dialog with a ListCtrl. The ctrl
will not resize horizontally no matter what I''m doing. I''ve attached a
sample code below. Any help will be greatly appreciated, as I really
like wxRuby :)
I''ve also tried to copy from the example from listtest.rbw, but that
also doesn''t seem to work.
Another thing
2012 Jun 18
1
Changing many csv files using apply?
Dear all,
I have many csv files whose contents I want to change a bit en masse. So far, I've written code that can change them in a for loop, like so:
# Subset of files in the folder I want to change
subset = "somestring"
# Retrieve list of files to change
filelist=list.files()
filelist = filelist[grep(subset, filelist)]
for(i in 1:length(filelist)){
setwd(readdir)
2009 Feb 19
2
read.table : how to condition on error while opening file?
Hi,
I'm using read.table in a loop, to read in multiple files. The problem
is that when a file is missing there is an error message and the loop is
broken; what I'd like to do is to test for the error and simply do
"next" instead of breaking the loop. Anybody knows how to do that?
Example:
filelist <- c("file1.txt", "file2.txt",
2001 Dec 05
0
compare with filelist
Hi,
I want to make rsync compare a local filesystem with a previously
generated file containing the required informations about each file von
the remote filesystem.
a) Is this possible?
b) How can I generate the required filelist?
Thx,
Daniel
--
*************************************************
* Daniel Jung * Daniel.Jung@dj-web.de *
* Linux-User: #118180 * http://www.dj-web.de
2002 Nov 12
1
many files filelist problem
Hi all
I am still busy with my copy of the /var/spool/mail direcroty
I gave it this command
[root@ais-mail01 root]# time rsync -pogrve ssh /var/spool/mail
root@10.0.0.9:/var/spool/mail/
root@10.0.0.9's password:
building file list ...
As top shows me it has been going 85 mins now building the filelist
I recon there are about 80 000 files in that directory totaling 50Gig
I was wondering is
2015 Mar 11
1
[Bug 11152] New: Feature Request: Cache Filelist
https://bugzilla.samba.org/show_bug.cgi?id=11152
Bug ID: 11152
Summary: Feature Request: Cache Filelist
Product: rsync
Version: 3.1.1
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter: andrebruce at
2010 Feb 19
3
Plotting multiple table automatically
Hi All,
I have a slight issue getting R to plot a series of tables automatically.
Essentially I have a series of tables that I wish to plot. They are named
on_2, on_3 etc. based on the file name when they were read in. I have
filelist <- list.files() to give me list of the table names. I wish to plot
each table, so I was thinking along some kind of for loop as below:
for (i in 1:Number_Files)
2009 Mar 23
2
Looping of read.table and assignment
Dear all,
I am trying to read in and assign data from 50 tables in an automated fashion. I have the following code, which I created with the help of textbooks and the internet, but it only seems to read in the final data file over and over again. For example, when I type:> table_1951 I get the same values in the table as when I type> table_2000 despite the values in the source tables
2009 Mar 27
2
Assignment to variables fails to loop
Dear all,
I think I'm nearly there in writing R code which will read in files with two variable parts to the file name and then assigning these file names to objects, which also have two variable parts. I have got the code running without encountering errors, however, I receive 50+ of the same warnings:
1: In assign(paste("Fekete_", index$year, index$month, sep = ""),
2024 Nov 06
1
Using multiple dat files
"It seems therefore that there is no other way than read in individually >
100 weather tables using read.tables., right? Using file.choose() doesn't
change the work."
Yes. With that many files, file.choose() does not make sense. However, I
still do not understand what is the problem with using lapply() on the
character vector of file names with read.table() as you did in your
2007 Dec 26
1
scope of plugns
After more than one hour of countless tries, I ask myself a simple question :
On what items are plugins supposed to execute ?
I''ve tried to create a filelist plugin which, for a page, displays all
file in the same directory (a rather old school view of website, where
each directory contains an entry point).
But, whatever I try, my plugin code is never invoked, and my page
content is never
2011 Apr 23
1
rake spec fails where rake spec:(models|controllers|views) pass
I''m still trying to work into Ruby 1.9.2 and am now experiencing
something that makes no sense to me. Using rspec 1.3.2 and rspec-rails
1.3.4 with rails 2.3.11 on ruby 1.9.2-p180, when I
$ rake spec:models
they all pass. When I
$ rake spec:controllers
they all pass. When I
$ rake spec:views
they all pass. But when I
$ rake spec
I get
<path to
2006 Feb 08
4
DO NOT REPLY [Bug 3491] New: throttle disk IO during filelist/directory parsing
https://bugzilla.samba.org/show_bug.cgi?id=3491
Summary: throttle disk IO during filelist/directory parsing
Product: rsync
Version: 2.6.4
Platform: All
URL: http://vilius.multiply.com/video/item/10
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P3
Component: core
2009 Dec 28
1
accessing members of a data.frame
I have the following code
fileList <-list.files(path = ".", pattern = "[^a-z].txt$", all.files =
FALSE, full.names = FALSE, recursive = FALSE, ignore.case = FALSE)
for (x in 1:length(fileList)){
fileLines <- data.frame(read.table(fileList[x]))
print(string)
}
the lines of the file all have the following format...
AB,20091224,156,156,154,154,55,1198
Can I access