Displaying 20 results from an estimated 29 matches for "stat'ing".
2008 Oct 23
3
high cpu load
...are soaking
up so much CPU on our file server. Here are some selected samples from
strace output as I attached to the offending smbd process:
Culprit #1
I took three sample snapshots, each lasted for several seconds, and I
took them
minutes apart from each other. I noticed many lines involved stat'ing
the
a single file in the 'My Documents' subdirectory:
stat64("My Documents/The Picture of Dorian Grey.rtf", {st_mode=S_IFREG|
0744, st_size=0, ...}) = 0
utimes("My Documents/The Picture of Dorian Grey.rtf", {1224548572, 0})
= 0
To see the frequency of thes...
2018 May 22
1
[PATCH v2] v2v: linux: fix kernel detection when split in different packages
...e.g.
starting from 18.04) modules & config (with few more files) are split in
an own package, thus not detecting the modpath from installed vmlinuz
files.
To overcome this situation, rework this detection a bit:
1) find the vmlinuz file as before, but then immediately make sure it
exists by stat'ing it
2) find the modules path from the package as before:
2a) if found, extract the version in the same step
2b) if not found, get the kernel version from the vmlinuz filename,
and use it to detect the modules path
3) check that the modules path exists
The detection done in (2b) is based...
2019 May 07
3
Slow performance with NFSv4.1 on CentOS 7.5 ?
...s, the NFS performance 'degrades' with time ...
Running a simple test - a python script that just imports a module
(python and its modules are installed on the NFS share) can be an order
of magnitude or more slower on some clients. i.e. very little data is
transferred, it is the rate of stat'ing and opening files on the NFS
server that is 'slow'
Running a tcpdump on a 'slow' client shows that the NFS traffic
generated on the 'slow' client is again an order of magnitude or more
when compared with that generated by a 'fast' client
The majority of...
2015 Jan 11
2
Link-dest thinks file is newly created, but it isn't
On Sat Jan 10 2015 at 5:21:33 AM Kevin Korb <kmk at sanitarium.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> What does --itemize-changes say about that file? Try using the stat
> command on the various copies of it to see what is different about them.
>
In my original message, I stated I used --itemize-changes, and I reported
the following:
> <f+++++++++ nancy/Documents/SCRAPPING/Digital/Club
> Scrap/0313BookshelvesCSD/0313BookshelvesCSD.zip
Are there ot...
1999 Nov 15
0
Bug report: smbmount 2.0.6 and NT pagefile.sys bug
...; on the
mounted directory, I get:
# ls /mnt
ls: pagefile.sys: Permission denied
. IO.SYS SRVMGR.EXE
ffastun.ffa summary.dat
.. KBROWSER SRVMGR.HLP
ffastun.ffl sysback
[etc]
The smbfs code seems to have a problem stat'ing the pagefile.sys file.
When trying an 'ls pagefile.sys', I get the same:
# ls pagefile.sys
ls: pagefile.sys: Permission denied
Note that when accessing this share with smbclient, the pagefile.sys
file can be viewed correctly. This means that the NT permissions are OK,
and that the...
2018 May 21
1
[PATCH] v2v: linux: fix kernel detection when split in different packages
...e.g.
starting from 18.04) modules & config (with few more files) are split in
an own package, thus not detecting the modpath from installed vmlinuz
files.
To overcome this situation, rework this detection a bit:
1) find the vmlinuz file as before, but then immediately make sure it
exists by stat'ing it
2) get the kernel version from the vmlinuz filename, which should be a
good assumption to do
3) use the calculated version to detect the modules path, checking that
it exists
As additional change, do not assume the config file is in the same
package as vmlinuz, but directly look i...
2015 May 04
1
[PATCH] build: remove unreadable files after filtering
Move the removal of the files which don't exist or cannot be read, doing
it after the filtering with excludefiles and hostfiles files.
This avoid stat'ing files which will be excluded later anyway, hence
reducing the I/O during a supermin build phase.
---
src/build.ml | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/build.ml b/src/build.ml
index b9b44ac..d7d0781 100644
--- a/src/build...
2006 Aug 22
1
rsync performance
...867 bytes 62963.73 bytes/sec
total size is 17103825898 speedup is 137.93
lion:/homes/atg/ ========= Tue Aug 22 12:47:48 CEST 2006 ==================
1232323 files / 1960 sec = 629 files/sec
In comparison, on the large filesystem, 'find'ing all files on the
source system and 'stat'ing them takes 1.75 minutes:
source# time find /homes -xdev -print0 | xargs -0 stat -c "%s %Y" | wc -l
1232287
real 1m41.987s
user 0m7.075s
sys 0m33.216s
On the destination 4 minutes:
dest# time find /backup/lion-homes -xdev -print0 | xargs -0 stat -c "%s...
2020 Sep 23
0
[v2v PATCH 3/3] linux: remove special handling of packages with no files
...s directly owned by the kernel. *)
let files = Linux.file_list_of_package g inspect app in
- if files = [] then (
- None
- )
- else (
- (* Which of these is the kernel itself? Also, make sure to check
- * it exists by stat'ing it.
- *)
- let vmlinuz = List.find (
- fun filename -> String.is_prefix filename "/boot/vmlinuz-"
- ) files in
- let vmlinuz_stat =
- try g#statns vmlinuz with G.Error _ -> raise Not_found in
+...
2015 Jan 11
0
Link-dest thinks file is newly created, but it isn't
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
If it seeing the files as new then I agree that stat won't help. It
might have explained some other itemize output. Since it is seeing
the files as new then they must not be where it is looking. Meaning
that your link-dest parameter must not be appropriate for your target.
On 01/10/2015 08:49 PM, Clint Olsen wrote:
> On Sat Jan 10 2015 at...
2004 May 01
1
[Bug 856] scp hangs on FIFOs rather than erroring
http://bugzilla.mindrot.org/show_bug.cgi?id=856
Summary: scp hangs on FIFOs rather than erroring
Product: Portable OpenSSH
Version: 3.8p1
Platform: Other
URL: http://bugs.debian.org/246774
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: scp
AssignedTo: openssh-bugs at mindrot.org
ReportedBy: cjwatson at debian.org
scp hangs if you ask it to copy a named pipe whose other end is closed, rather
than printing the "not a regular file&quo...
2002 Oct 10
0
[Bug 412] New: AuthorizedKeysFile assumes home directory access upon authentication
http://bugzilla.mindrot.org/show_bug.cgi?id=412
Summary: AuthorizedKeysFile assumes home directory access upon
authentication
Product: Portable OpenSSH
Version: 3.1p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: barrows at email.arc.nasa.gov
I'm attempting to get RSA authentication to work with OpenAFS. This requires
placing the RSA key outside of A...
2002 Apr 17
1
rsync and missing files?
...looked through the manpage and the docs on the website, but I haven't
found anything (ie, --partial and --ignore-errors) that have any effect.
This has gotta be something that people run into all the time, but does
anyone have a solution?
John
--
John Madden
UNIX Systems Engineer
Ivy Tech State College
jmadden@ivy.tec.in.us
2010 Jun 26
1
--recursive and -H
...t curious about if the large (15TB) backup I am currently running is actually preserving hard links, or if I'm going to see in a few days that it is not actually preserving them?
Thanks,
-Rob
--
Rob Thompson, Systems Analyst
Enterprise Applications
Computing & Information Technology
Wayne State University
phone: 313-577-5645
im: ab5602 at yahoo.com
Public Key: http://pgp.wayne.edu/rob.key
2010 Jul 14
1
Linux, rsync files excluding open/busy files
Hi,
I read many posts about this, faq, googled, and finally got to write here.
The scenario/question is this:
I want to transfer files from Server B -> Server C
the problem is that, files that are to be transfered may be open/busy,
meaing they are "not still complete, " or they are open while rsync is
run.
Is there a way to automatically handle these open files using rsync ,
rsync
1999 Jan 17
0
SAMBA digest 1945
...t;
> On NT, map the root directory to a network drive. open up [my computer]
> and click on the network drive. In the process of displaying the icons
> for the directory (/), NT will look for "desktop.ini" in each directory.
> When it gets to /net, the particular smbs that is stat'ing /net/desktop.ini
> will hang. (this is easily reproduceable in an xterm, just "ls /net/foo"
> and your ls will hang. I have no idea what /net is. it _looks_ like a
> regular directory, there is nothing in fstab to indicate that it is a mount
> point. very peculiar.)
/...
2020 Sep 23
3
[v2v PATCH 1/3] linux: remove warning for packages with no files
Metapackages are valid packages with no files, used to easily install
something without manually installing bits.
This is the case of the "kernel" package in Fedora/RHEL/etc in the last
couple of years.
---
v2v/linux_kernels.ml | 1 -
1 file changed, 1 deletion(-)
diff --git a/v2v/linux_kernels.ml b/v2v/linux_kernels.ml
index 9a41225a..78c1ee59 100644
--- a/v2v/linux_kernels.ml
+++
2015 Apr 20
2
[LLVMdev] SmallString + raw_svector_ostream combination should be more efficient
...all duplication with a
templated class derived with its own internal buffer storage.
Rafael suggested a more modular approach, a derived adpater class adapter
to a *simple* buffer (or nullptr for fully-dynamic operation) which also
won't duplicate any information the buffer is dumb and has no state.
That solution sounds simple, efficient and safe to use. The implementation
would be actually simpler then raw_svector_ostream since all the
coordination logic is not required anymore.
2015-04-20 22:17 GMT+03:00 Sean Silva <chisophugis at gmail.com>:
>
>
> On Sun, Apr 19, 2015 a...
2017 Jul 19
2
Re: [PATCH 03/27] daemon: Reimplement ‘file’ API in OCaml.
...pattern done every time, and IMHO it could be simplified:
in utils.ml(i), add something like:
let create_chroot ?name () =
Chroot.create (Sysroot.sysroot ()) ?name
this way it can be used like:
let chroot = create_chroot ~name:(sprintf "file: %s" path) in
> +
> + let statbuf = Chroot.f chroot lstat path in
Hm is chroot needed for this? The current C implementation does not
use CHROOT_IN/OUT, and it does not even resolve symlinks, so it should
be safe.
--
Pino Toscano
1999 Jan 17
0
request_oplock_break - a clue - what does it mean ?
...dont descend = /dev
On NT, map the root directory to a network drive. open up [my computer]
and click on the network drive. In the process of displaying the icons
for the directory (/), NT will look for "desktop.ini" in each directory.
When it gets to /net, the particular smbs that is stat'ing /net/desktop.ini
will hang. (this is easily reproduceable in an xterm, just "ls /net/foo"
and your ls will hang. I have no idea what /net is. it _looks_ like a
regular directory, there is nothing in fstab to indicate that it is a mount
point. very peculiar.)
anyway, NT will hang...