search for: lstat

Displaying 20 results from an estimated 605 matches for "lstat".

Did you mean: stat
2006 Nov 06
3
Lstat & Dovecot
I am chasing a problem with dovecot generating an error: lstat(/var/spool/virtual_mailboxes/[domain dir]/[user dir]/Maildir/cur) failed: Permission denied I first tried making the directory world readable, same error. Them tried to lstat [the path] at the console and receive the error: lstat: command not found I have a manpage on lstat, but no file. "...
2008 Feb 06
1
Rsync Hang with multiple files
...ad(0, "\36\0\0\0", 4) = 4 select(2, NULL, [1], [1], {60, 0}) = 1 (out [1], left {60, 0}) write(1, "G\221\247G", 4) = 4 select(1, [0], [], NULL, {60, 0}) = 1 (in [0], left {59, 140000}) read(0, "\0\0\0\0", 4) = 4 lstat("/reference/Quality/Issue14", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0 chdir("/reference/Quality") = 0 mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaaadfe1000 mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS...
2014 Nov 19
2
New mailserver problems
...a few miscues. Actually the OS is Redsleeve6, which is the arm port of Centos 6, and perhaps some of my problems may come down to porting problems. But first, it may be that despite my testing, I missed something in the configurations. First clamd problems: Nov 19 08:09:54 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18598/parts Nov 19 08:10:15 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18599/parts Nov 19 08:11:13 z9m9z clamd[857]: lstat() failed on: /var/spool/amavisd/tmp/amavis-20141119T075446-18598/parts Nov...
2020 Aug 26
2
[supermin PATCH] rpm: check for SQLite-based RPM DB
...; --- src/ph_rpm.ml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ph_rpm.ml b/src/ph_rpm.ml index dbe3bda..0821126 100644 --- a/src/ph_rpm.ml +++ b/src/ph_rpm.ml @@ -234,7 +234,10 @@ let rpm_package_name pkg = rpm.name let rpm_get_package_database_mtime () = - (lstat "/var/lib/rpm/Packages").st_mtime + try + (lstat "/var/lib/rpm/rpmdb.sqlite").st_mtime + with Unix_error (ENOENT, _, _) -> + (lstat "/var/lib/rpm/Packages").st_mtime (* Return the best provider of a particular RPM requirement. * -- 2.26.2
2017 Sep 15
0
Confusing lstat() performance
...:42 pm, Niklas Hamb?chen <mail at nh2.me> wrote: > > Hi, > > I have a gluster 3.10 volume with a dir with ~1 million small files in > them, say mounted at /mnt/dir with FUSE, and I'm observing something weird: > > When I list and stat them all using rsync, then the lstat() calls that > rsync does are incredibly fast (23 microseconds per call on average, > definitely faster than a network roundtrip between my 3-machine bricks > connected via Ethernet). > But when I try to back them up with the `bup` tool > (https://github.com/bup/bup), which (at least...
2012 Jan 10
0
ltp hugemmap02 fails on ocfs2
...s on ocfs2 filesystem with both UEK 2.6.39-100.0.18 and RHEL 2.6.18-300.el5: hugemmap02 1 TCONF : huge mmap failed to test the scenario hugemmap02 1 TCONF : huge mmap failed to test the scenario hugemmap02 0 TWARN : tst_rmdir: rmobj(/mnt/ocfs2/ltp-mQdlAx5411/hugSJXB0B) failed: lstat(/mnt/ocfs2/ltp-mQdlAx5411/hugSJXB0B) failed; errno=2: No such file or directory hugemmap02 1 TCONF : huge mmap failed to test the scenario hugemmap02 0 TWARN : tst_rmdir: rmobj(/mnt/ocfs2/ltp-mQdlAx5411/hugSJXB0B) failed: lstat(/mnt/ocfs2/ltp-mQdlAx5411/hugSJXB0B) failed; errno=2: No...
2017 Sep 18
2
Confusing lstat() performance
Hi Ben, do you know if the smallfile benchmark also does interleaved getdents() and lstat, which is what I found as being the key difference that creates the performance gap (further down this thread)? Also, wouldn't `--threads 8` change the performance numbers by factor 8 versus the plain `ls` and `rsync` that I did? Would you mind running those commands directly/plainly on your...
2017 Dec 05
1
Slow seek times on stat calls to glusterfs metadata
...g a very long time, specifically with small files (write throughput is fine). I know, I know -- small files on gluster do not perform well, but I'm seeing particularly terrible performance in the range of around 25 to 50 creates per second. Profiling and testing indicate the main bottleneck is lstat calls on glusterfs metadata. Running an strace against the glusterd PIDs during a migration shows a lot of lstat calls taking a relatively long time to complete: strace -Tfp 3544 -p 3550 -p 3536 2>&1 >/dev/null | awk '{gsub(/[<>]/,"",$NF)}$NF+.0>0.5' | grep -Ev...
2020 Aug 27
1
Re: [supermin PATCH] rpm: check for SQLite-based RPM DB
...diff --git a/src/ph_rpm.ml b/src/ph_rpm.ml > > index dbe3bda..0821126 100644 > > --- a/src/ph_rpm.ml > > +++ b/src/ph_rpm.ml > > @@ -234,7 +234,10 @@ let rpm_package_name pkg = > > rpm.name > > > > let rpm_get_package_database_mtime () = > > - (lstat "/var/lib/rpm/Packages").st_mtime > > + try > > + (lstat "/var/lib/rpm/rpmdb.sqlite").st_mtime > > + with Unix_error (ENOENT, _, _) -> > > + (lstat "/var/lib/rpm/Packages").st_mtime > > > > (* Return the best provider o...
2013 Nov 08
1
[PATCH 2/3] syscalls: Add syscalls needed by arm64
On 11/08/2013 09:12 AM, Steve Capper wrote: > diff --git a/usr/klibc/lstat.c b/usr/klibc/lstat.c > new file mode 100644 > index 0000000..0282eec > --- /dev/null > +++ b/usr/klibc/lstat.c > @@ -0,0 +1,17 @@ > +#include <fcntl.h> > +#include <unistd.h> > +#include <sys/types.h> > +#include <sys/stat.h> > +#include <sy...
2017 Sep 14
5
Confusing lstat() performance
Hi, I have a gluster 3.10 volume with a dir with ~1 million small files in them, say mounted at /mnt/dir with FUSE, and I'm observing something weird: When I list and stat them all using rsync, then the lstat() calls that rsync does are incredibly fast (23 microseconds per call on average, definitely faster than a network roundtrip between my 3-machine bricks connected via Ethernet). But when I try to back them up with the `bup` tool (https://github.com/bup/bup), which (at least according to strace) doe...
2001 Apr 03
1
lstat and NFS server not responding
...en having trouble when making R from source and with "R CMD build dse" forcing the machine to look for an NFS server which was not available, and then stalling. Our system administrator traced this back to the fact that these go through all the directories back to "/" , doing an lstat on everything. He suggests that that seems odd, but it doesn't take long normally. The problem was apparently caused by the fact that something (possible a cdrom) on /mnt had not been unmounted properly. We have fixed the problem but since it was rather difficult to track down I thought I wo...
2017 Sep 17
3
Confusing lstat() performance
On 17/09/17 18:03, Niklas Hamb?chen wrote: > So far the only difference between `ls` and `bup index` I could observe > is that `bup index` chdir()s into the directory to index, ls doesn't. > > But when I `cd` into the dir and run `ls` without directory argument, it > is still much faster than bup index for each stat(). Hmm, bup uses the fchdir() syscall to go into the target
2017 Sep 18
0
Confusing lstat() performance
----- Original Message ----- > From: "Niklas Hamb?chen" <mail at nh2.me> > To: "Ben Turner" <bturner at redhat.com> > Cc: gluster-users at gluster.org > Sent: Sunday, September 17, 2017 9:49:10 PM > Subject: Re: [Gluster-users] Confusing lstat() performance > > Hi Ben, > > do you know if the smallfile benchmark also does interleaved getdents() > and lstat, which is what I found as being the key difference that > creates the performance gap (further down this thread)? I am not sure, you can have a look at it: https:/...
2017 Sep 17
0
Confusing lstat() performance
I found the reason now, at least for this set of lstat()s I was looking at. bup first does all getdents(), obtaining all file names in the directory, and then stat()s them. Apparently this destroys some of gluster's caching, making stat()s ~100x slower. What caching could this be, and how could I convince gluster to serve these stat()s as fast a...
2018 Apr 16
1
lstat & readlink calls during glusterfsd process startup
Hi all, I am on gluster 3.10.5 with one EC volume 16+4. One of the machines go down previous night and I just fixed it and powered on. When glusterfsd processes started they consume all CPU on the server. strace shows every process goes over in bricks directory and do a lstat & readlink calls. Each brick directory is 8TB, %60 full. I waited for 24 hours for it to finish but it did not. I stopped glusterd and restarted it but same thing happens again. Why on startup glusterfsd processes traverse brick directory? Is it related to self heal? This happened one time bef...
2013 Nov 08
1
[PATCH 3/3] arm64: Introduce arm64 support
On 11/08/2013 09:12 AM, Steve Capper wrote: > -<!ppc64> int stat64,stat::stat(const char *, struct stat *); > -<!ppc64> int lstat64,lstat::lstat(const char *, struct stat *); > +<!arm64,ppc64> int stat64,stat::stat(const char *, struct stat *); > +<!arm64,ppc64> int lstat64,lstat::lstat(const char *, struct stat *); This should have been part of the previous patch but using <?!ppc64>. -hpa
2011 Apr 27
0
Rule-based regression models: Cubist
...------------- ## ## Target attribute `outcome' ## ## Read 506 cases (14 attributes) from undefined.data ## ## Model: ## ## Rule 1: [101 cases, mean 13.84, range 5 to 27.5, est err 1.98] ## ## if ## nox > 0.668 ## then ## outcome = -1.11 + 2.93 dis + 21.4 nox - 0.33 lstat + 0.008 b ## - 0.13 ptratio - 0.02 crim - 0.003 age + 0.1 rm ## ## Rule 2: [203 cases, mean 19.42, range 7 to 31, est err 2.10] ## ## if ## nox <= 0.668 ## lstat > 9.59 ## then ## outcome = 23.57 + 3.1 rm - 0.81 dis - 0.71 ptratio - 0.048 age ##...
2011 Apr 27
0
Rule-based regression models: Cubist
...------------- ## ## Target attribute `outcome' ## ## Read 506 cases (14 attributes) from undefined.data ## ## Model: ## ## Rule 1: [101 cases, mean 13.84, range 5 to 27.5, est err 1.98] ## ## if ## nox > 0.668 ## then ## outcome = -1.11 + 2.93 dis + 21.4 nox - 0.33 lstat + 0.008 b ## - 0.13 ptratio - 0.02 crim - 0.003 age + 0.1 rm ## ## Rule 2: [203 cases, mean 19.42, range 7 to 31, est err 2.10] ## ## if ## nox <= 0.668 ## lstat > 9.59 ## then ## outcome = 23.57 + 3.1 rm - 0.81 dis - 0.71 ptratio - 0.048 age ##...
2006 Jun 22
1
Patch for rawlog.c
hello The homedirectories are stored as a relative path in my userdb One problem ocoures with rawlog: rawloging occures only if a directory $HOME/dovecot.rawlog exist. this is checked with lstat for me $HOME is always "username/". This is relative to /var/mail and works. in rawlog.c lstat should now check "username//dovecot.rawlog" which fails. lstat can check "/var/mail/username//dovecot.rawlog" or "./dovecot.rawlog" ( All checks test the existenc...