search for: fsize

Displaying 20 results from an estimated 64 matches for "fsize".

Did you mean: size
2006 Sep 26
4
New project: littler for GNU R
...9.869604 But unlike bc(1), GNU R has a vast number of statistical functions. For example, we can quickly compute a summary() and show a stem-and-leaf plot for file sizes in a given directory via $ ls -l /boot | awk '!/^total/ {print $5}' | \ r -e 'fsizes <- as.integer(readLines()); print(summary(fsizes)); stem(fsizes)' Min. 1st Qu. Median Mean 3rd Qu. Max. 13 512 110100 486900 768400 4735000 Loading required package: grDevices The decimal point is 6 digit(s) to th...
2010 Jan 24
1
how to change fsize to unlimited..
Dear centos experts, I am wondering is there a way for me to change ulimit fsize parameter? I am trying to change it to unlimited, so I added the following line to /etc/security/limits.conf - - fsize -1 but it does not work, and a reboot will reset the content of limits.conf. thanks, yan
2004 Aug 23
3
could not copy a file bigger than 1GB
Hi, I have installed Samba 2.2.8 on AIX 5.2 server. I tried to copy a file (around 106 GB) from win2k server to this AIX box. The "copy" process was stop when the file was copied up to 1GB. Do you know what was wrong? Is there anything I need to set on AIX server site in order to transfer large file? -Shujane
2011 Dec 12
1
calculating logit parameters (odd ratio is exactly one or zero)
...ero) when the odd ratio is exactly 1 (FD=12) or invalid number when odd ratio is zero (MFD = 0) after log. I am wondering how R through GLM function (particularly logit or logistic regression) treats the odds ratios or log odd ratios that is exatcly one or zeros. The sample data is like this: #HH Fsize FD 1 1.29472 0 2 1.6184 0 3 2.4276 1 4 2.4276 2 5 20.23 2 6 1.6184 3 7 1.820 3 8 0.4046 3 9 6.069 4 10 2.6299 4 11 0.72828 5 12 2.4276 5 13 6.069 7 14 4.8552 7 15 2.32645 7 16 1.6184 8 17 1.0115 8 18 1.0115 8 19 5.2598 9 20 2.023 10 21 0.6069 10 22 1.2138 11 23 0.8092 11 24 1.4161 11 25 0.6069 11 2...
2012 Feb 08
2
slow creating files
.... It was default Samba installation. The usual tuning doesn't help at all (TCPNODELAY etc...) Is there any idea for tuning? Also, I wrote easy test that confused me: #include "stdio.h" #include "stdlib.h" #include "time.h" void main(int argc, char *argv[]) { int fsize=40000000; int i=0; FILE *to; char str[]="0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890"; time_t start, end; double diff; time(&start); to=fopen(argv[1], "w+"); for(i=0; i < fsize/100; i++) { fprintf(to, "\n%7d...
2011 Sep 12
1
nested anova<-R chrashing
Hi, I tried to do a nested Anova with the attached Data. My response variable is "survivors" and I would like to know the effect of (insect-egg clutch) "size", "position" (of clutch on twig) and "clone" (/plant genotype) on the survival of eggs (due to predation). Each plant was provided with three different sizes of clutches (45,15,5) and had
2020 May 08
0
courier-dovecot-migrate.pl and courier-5: UTF-8 flag
...r =~ /^\/[23] (\d+) (\d+)$/ ) { # /2 <next uid> <uidvalidity> + # /3 <next uid> <uidvalidity> $_ = <$f>; } elsif ( $pop3_hdr =~ /^\/1 (\d+)$/ ) { @@ -193,9 +194,13 @@ chomp $_; $line++; - my ( $full_fname, $fsize, $uid, $uidv ); + my ( $full_fname, $fsize, $uid, $uidv, $_is_utf8 ); - if ( /^([^ ]+) (\d+) (\d+):(\d+)$/ ) { + if ( /^([^ ]+) (\d+) (\d+):(\d+):(\d+)$/ ) { + # v3 + ( $full_fname, $fsize, $uid, $uidv, $_is_utf8 ) = ( $1, $2, $3, $4, $5 ); +...
2003 Jun 29
1
vinum drive referenced / disklabel inconsistency
...quot; the label, however, are inconsistent, with # disklabel ad2s1 # disklabel ad2 # disklabel -r ad2s1 # disklabel -r ad2 # disklabel /dev/ad2s1 # disklabel -r /dev/ad2s1 the results are expected (and identical): <snip/> 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 4193280 0 swap # (Cyl. 0 - 4159) c: 156301425 0 unused 0 0 # (Cyl. 0 - 155060*) e: 152107200 4193280 vinum # (Cyl. 4160 - 155059) However, for the other two permutations... the results are differ...
2023 May 29
4
[PATCH] ocfs2: check new file size on fallocate call
When changing a file size with fallocate() the new size isn't being checked. In particular, the FSIZE ulimit isn't being checked, which makes fstest generic/228 fail. Simply adding a call to inode_newsize_ok() fixes this issue. Signed-off-by: Lu?s Henriques <lhenriques at suse.de> --- fs/ocfs2/file.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fs/ocfs2/fi...
2007 Jun 07
2
Use R in a pipeline as a filter
Hi, how can I use R in a pipline like this $ ./generate-data | R --script-file=Script.R | ./further-analyse-data > result.dat Assume a column based output of ./generate-data, e.g. something like: 1 1 1 2 4 8 3 9 27 4 16 64 The R commands that process the data should come from Script.R and should print to stdout (Script.R could for example calculate the square of every entry or calculate
2023 May 31
2
[PATCH] ocfs2: check new file size on fallocate call
On 5/29/23 11:26 PM, Lu?s Henriques wrote: > When changing a file size with fallocate() the new size isn't being > checked. In particular, the FSIZE ulimit isn't being checked, which makes > fstest generic/228 fail. Simply adding a call to inode_newsize_ok() fixes > this issue. > > Signed-off-by: Lu?s Henriques <lhenriques at suse.de> > --- > fs/ocfs2/file.c | 8 +++++++- > 1 file changed, 7 insertions(+), 1 de...
2002 Feb 25
2
samba & solaris 8
...function (SVR4)... no checking statvfs function (SVR4)... no checking for 3-argument statfs function (DEC OSF/1)... no checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... no checking for four-argument statfs (AIX-3.2.5, SVR3)... no checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)... no checking for two-argument statfs with struct fs_data (Ultrix)... no checking if large file support can be enabled... no checking whether to support ACLs... no checking whether to build winbind... no, no unix domain socket support on solaris2.8 checking configure sum...
2014 Aug 22
7
[Bug 2263] New: sshd privsep monitor process doesn't handle SIGXFSZ signal
...ter: plautrba at redhat.com FreeIPA allocates a random uid range for its use between 200k and 2G. If an user with uid like 1280000008 logs in, the lastlog file size jumps to almost 400G as lastlog is defined as a sparse file. The problem is when PAM with pam_limit module is used and the user has fsize limit set. When sshd monitor process tries to write lastlog file, it's already limited by pam_limit as a pam session is opened. And when the lastlog file is bigger than the fsize limit, the process gets SIGXFSZ signal and silently dies. In other cases when lastlog entry can't be written, s...
2006 Apr 04
5
How to implement tag clouds using plugin?
The code on http://blog.craz8.com/articles/2005/10/28/acts_as_taggable-is-a-cool-piece-of-code is based on the acts_as_taggable gem,anybody has done that using the acts_as_taggable plugin?thanks! btw:the code above uses the tag_count method,which is defined in the gem: def tags_count(options = {}) options = {:order => ''count DESC''}.merge(options)
2002 Dec 06
2
Controlling graphics parameters in lattice
I'm just starting to work with lattice graphics, and am having difficulty understanding how to control various graphic parameters (font sizes, etc.). [I'm actually using xyplot via plot.effect() in the car package, and would like to be able to set some global defaults.] I read ?xyplot and ?trellis.par.set-- which contains no complete list of parameters, just a reference to
2005 Nov 22
2
[LLVMdev] llvm-ranlib: Bus Error in regressions + fix
...r.cpp:439 #6 0x081a5618 in main (argc=2, argv=0xbfffd9b4) at llvm-ranlib.cpp:76 #7 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6 At frame #4 (Archive::writeMember) looks like this: > // Write the (possibly compressed) member's content to the file. > ARFile.write(data,fSize); If I examine the backtrace, fSize equals 46, and "data" points to 46 null bytes. However, the "data" pointer is invalid, since if I inspect it *before* the crash, the crash does not occur. frame #5 (Archive::writeToDisk) looks like this: > // If there is a foreig...
2010 Oct 14
1
Using Rscript to read from a file
Hello, I have this script which will be invoked as Rscript a.r < a.r a.r follows #!/usr/bin/Rscript --vanilla f=file("stdin") while(TRUE){ y=readLines(f,n=1,warn=TRUE) if(length(y)==0) break else print(y) } But it only reads one line from a.r How can I read line by line from standard input? Thank you Saptarshi
2005 Mar 09
1
AIX/Samba vs. Large Files
I'm having trouble getting Samba 3.0.11 working properly on AIX 5.1.0.0. ?I've got a share set up, and I can connect fine, but I can't get it to transfer files >1GB. ?I've already set ulimit fsize to -1, and I can transfer large files via scp to the same directory just fine. ?The directory is on a JFS volume. There are no quotas on this system. I've even tried adding -D_LARGE_FILES to the cppflags [there was one google hit that mentioned that]. The log files tell me nothing [with...
2009 May 14
4
Possibly dumb questions about DC and user/system limits
...ze_hard to 3500 and 4000 respectively in both dovecot and root AIX defines nosize:* *Sets the soft limit for the number of file descriptors a user process may have open at one time. an lsuser dovecot returns: dovecot id=417 pgrp=dovecot groups=dovecot shell=/bin/false daemon=true admin=false ... fsize=2097151 cpu=-1 data=262144 stack=65536 core=2097151 rss=65536 nofiles=3500 nofiles_hard=4000 I kill dovecot and all children and restart it....same error message What am I missing? Does the machine have to be rebooted for the no_size to be updated? -- ==== Once upon a time, the Internet was...
2008 Dec 04
1
upload test images using rake with populator
I am wondering if it is possible to upload test images to the database along with the other fake user data. I am using populator along with faker for fake test data and it is working very well. I am able to do things like: User.populate 100 do |user| user.username = Faker::Name.first_name user.email = Faker::Internet.email end but I am wondering if theres a way to do