search for: strace'ing

Displaying 20 results from an estimated 25 matches for "strace'ing".

2008 May 24
2
40 second delay on automounts with 2.6.18-53.1.21.el5 kernel
after this latest centos 5 kernel update, i am seeing 40 second delays on automount points. nothing in the rpm changelog looks obviously related to autofs and the autofs module seems to be the same as the previous kernel. i'm starting to do some strace'ing and other debugging, but nothing has jumped out at me yet. i'm hoping someone else has seen it so i know i'm not alone :-).
2023 Apr 10
2
"Bad packet length 1231976033"
...ne tools (say, a ssh daemon) may be using fd 2 for something else entirely. > > Could you get a tcpdump when this happens? > > Or debug output from at least the client (run ssh with -vvv) or > preferably the server (run sshd with -ddd). That's probably not going to show it, but strace'ing either the client or the server will probably capture the error message in full. Since you're using 9.1, the message could be an "Invalid free", since there was a double-free bug in that release :-( -- Darren Tucker (dtucker at dtucker.net) GPG key 11EAA6FA / A86E 3E07 5B19...
2007 Nov 16
1
continusync issue
....bar.txt.swx" failed: No such file or directory (2) rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9] [1]+ Broken pipe continusync ~/foo root@remotehost:~/foo" This is using slackware 11, on which vi is a link to vim version 7.0. By strace'ing vi I can see that it rapidly creates then destroys the .swx file. I suspect there may be a race in continusync somewhere, but I haven't been successful at narrowing it down. I am using rsync v2.6.9, the latest stable version. Can anyone help me to troubleshoot this issue? Thanks, Ch...
2023 Sep 22
1
rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?
...that I could use as basis to prepare such a holistic benchmark? > But now that I am hearing > that rsync actually adds a bunch of pointless chmods to the process.? Is > it still faster given this problem?? If so maybe we should be trying to > investigate why rm is so slow. Just by strace'ing I saw `rm` mainly calls unlink, `rsync` does not.
2007 Oct 23
3
Script work fine on sheel, but no on a cron job
Hi, I make a script which make some call of rsync to connect to a rsync daemon. When I run on a shell, the script work fine. When I run this scripts from a cron-job, the script fail with theses messages : rsync: failed to connect to remote-node: Connection refused (111) rsync error: error in socket IO (code 10) at clientserver.c(94) What's happen ? thanks St?phane
2016 Oct 13
3
Bug 6870 resurfaced in Samba 4.2.10
...ert that it is present in 4.2.10, which ships with Debian Jessie. On my home network (IPv4 and IPv6), a box with Samba 4.2.10 with IPv6 disabled (via sysctl), will fail to contact a DC because the IPv6 connect fails immediately before the v4 connect has a chance to succeed. I determined this by strace'ing the "net ads workgroup" command, which resulted in the following: 11:41:52 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 11 <0.000027> 11:41:52 fcntl(11, F_GETFL) = 0x2 (flags O_RDWR) <0.000015> 11:41:52 fcntl(11, F_SETFL, O_RDWR|O_NONBLOCK) = 0 <0.000016> 11:41:52...
2013 Apr 22
4
Writing to a symlink on a read-only file system that land on a read-write file system
...nt -o remount,ro /mnt/tmp echo "some text" > /mnt/tmp/file On a machine with a 6.2 kernel, the above works fine - the target of the symlink (/tmp/file) is created etc. with no error But on a machine with a 6.4 kernel, the above fails with: /mnt/tmp/file: Read-only file system. Strace'ing a process that fails gives: open("/mnt/tmp/file", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 EROFS (Read-only file system) I don't have a machine with a 6.3 kernel, so I'm not sure when the change in behaviour happened, but does anyone know as to why this change was made in...
2002 Oct 25
1
Use of pam_smbpass
...s actually go. I'm not terribly familiar with PAM. Can someone forward me their working copies of the PAM config files that apply to do what I've described above? Even when enabling "debug level = 10" it doesn't appear like /etc/shadow is being consulted. I've also tried strace'ing "passwd username" and it never updates smbpasswd. Same when doing vice-versa. I've searched the net and there are mentions of various smb.conf config settings that are supposed to work, all of which I've tried to no avail. What are the known-good smb.conf settings necessa...
2007 Oct 17
2
Sometimes Dovecot v1.0.3 does not accept new connections
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, occasionally Dovecot stops to accept new connections. Already existing ones do function properly. Strace'ing dovecot-auth reveals that it is running and is authentificating users, the logfile logs new connections. However, lots of other connects just stall, before the IMAP server responds with the greeting. My user backend is a LDAP server. I've sniffed the interface, but I also don't...
2017 Jul 11
7
[Bug 2743] New: ssh with -T hangs putty
https://bugzilla.mindrot.org/show_bug.cgi?id=2743 Bug ID: 2743 Summary: ssh with -T hangs putty Product: Portable OpenSSH Version: 7.5p1 Hardware: Other OS: Other Status: NEW Severity: major Priority: P5 Component: sshd Assignee: unassigned-bugs at mindrot.org
2020 Jun 29
0
Adding root CA certificates for use by NSS applications?
...ound that by default, EL7 uses 'p11-kit-trust.so' (from the p11-kit-trust package) as a drop-in replacement for the nss supplied 'libnssckbi.so' (via 'alternatives') - which, I believe, should be able to pick up CA certs installed under /etc/pki/ca-trust/source/anchors/ Strace'ing the app, I can see it reading the files under /etc/pki/ca-trust/source/... including the required CA cert - but the app fails to connect - but I have no idea what might be wrong ... Am I missing something obvious here? Is there an easier way to achieve what I want? Thanks James Pearso...
2023 Apr 09
1
"Bad packet length 1231976033"
Brian Candler wrote: > > What's odd is that the length is *always* 1231976033 (which is > > 0x496E7661 or "Inva" in ASCII). > > Could you get a tcpdump when this happens? Or debug output from at least the client (run ssh with -vvv) or preferably the server (run sshd with -ddd). //Peter
2023 Apr 24
1
"Bad packet length 1231976033"
...entirely. Agreed. libc or libcrypto... > >>> Could you get a tcpdump when this happens? >> >> Or debug output from at least the client (run ssh with -vvv) or >> preferably the server (run sshd with -ddd). > > That's probably not going to show it, but strace'ing either the client > or the server will probably capture the error message in full. > > Since you're using 9.1, the message could be an "Invalid free", since > there was a double-free bug in that release :-( > Ah, good to know. One other thing I noticed: I h...
2023 Apr 24
1
"Bad packet length 1231976033"
...y be using fd 2 for something else entirely. > >>> Could you get a tcpdump when this happens? >> >> Or debug output from at least the client (run ssh with -vvv) or >> preferably the server (run sshd with -ddd). > > That's probably not going to show it, but strace'ing either the client > or the server will probably capture the error message in full. > > Since you're using 9.1, the message could be an "Invalid free", since > there was a double-free bug in that release :-( > Forgot to ask: does this bug manifest at any part...
2007 Dec 05
1
File system cache corruption with CentOS4?
...issue: # yum Traceback (most recent call last): File "/usr/bin/yum", line 4, in ? import yum File "__init__.py", line 36, in ? File "config.py", line 34, in ? File "repos.py", line 29, in ? File "repoMDObject.py", line 18, in ? strace'ing the process didn't show up anything obvious However, I ran a simple process that just grabs memory - which has the side effect of 'flushing' caches from memory. After, doing this, yum ran fine ... I've seen this issue quite a few times with various applications and on d...
2010 Oct 04
1
Diagnosing Performance Issues
Hi All, First off my apologies if this is the wrong place to be asking. I seem to have a problem where the smbd process is using a massive amount of CPU for network transfers. It averages about 70-90% usage on both cores of a dual-core machine when transferring between disks (or over the network) using samba/cifs shares. Along with this I also notice the transfers going from a steady
2012 May 07
1
Can not capture internal-sftp process log in syslog
Hi, I am trying to use internal-sftp to limit sftp only access to a set of users. I have set sshd_config as follows sshd_config =========== Subsystem sftp internal-sftp -f LOCAL0 -l VERBOSE Match group ftp ChrootDirectory /sftp/%u X11Forwarding no AllowTcpForwarding no ForceCommand internal-sftp -f LOCAL0 -l VERBOSE Match I am able to access internal-sftp and run sftp sessions properly.
2016 Oct 14
0
Bug 6870 resurfaced in Samba 4.2.10
...ships with Debian > Jessie. > > On my home network (IPv4 and IPv6), a box with Samba 4.2.10 with IPv6 > disabled (via sysctl), will fail to contact a DC because the IPv6 > connect fails immediately before the v4 connect has a chance to succeed. > > > I determined this by strace'ing the "net ads workgroup" command, which > resulted in the following: > > 11:41:52 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 11 <0.000027> > 11:41:52 fcntl(11, F_GETFL) = 0x2 (flags O_RDWR) <0.000015> > 11:41:52 fcntl(11, F_SETFL, O_RDWR|O_NONBLOCK) = 0 &...
2016 Oct 17
2
Bug 6870 resurfaced in Samba 4.2.10
...ough server 0 (IPv4) succeeds, this call returns an error because server 1 (IPv6) could not be reached. To reiterate, this is in Samba 4.2.10, which ships with Debian 8 (Jessie), and occurs when running "net ads workgroup". This is the relevant section of the D10 log (compare with the strace from my previous email): Adding 2 DC's from auto lookup check_negative_conn_cache returning result 0 for domain FEDERATION.STARFLEET-NET.CO.UK server 192.168.81.132 check_negative_conn_cache returning result 0 for domain FEDERATION.STARFLEET-NET.CO.UK server 2001:8b0:1627:1::2 remove_duplicat...
2023 Sep 22
1
rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?
I had intended to come back to this but because I didn't really think I had anything to add to the discussion I put it at a low enough priority that I forgot about it. But I saw your bug report and was surprised to see that I was already unhelpful on this topic but because that original poster didn't have access to do an rm while you are trying to get a performance boost. I have