Displaying 20 results from an estimated 415 matches for "pollin".
2015 Nov 24
2
samba4 ldap high load and port queue overflow
Thanks for answer. I am very sad to see that.
I had examined samba behavior with tracer and had seen too many poll,
fcntl and stat system calls by samba task[ldapsrv] process
Elapsed Times for PID 1423,
SYSCALL TIME (ns)
dup 2653
flock 5811
lseek 33513
geteuid 42747
2006 Dec 19
1
Sloooooow pop3 downloads
it's verry slow i saw in the archives something about strace and will
include it below please help:
my dovecot is crawling when downloading through pop here is my last trace
file contents
:18:04.657706 poll([{fd=10, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL},
{fd=15, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=13,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=17,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=23,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=22,
events=POLLIN|POLLPRI|POLLER...
2007 Apr 12
2
auth-login crash with cram-md5 (plain works) on unknown user
...s, and CourierMailAccount on users with imap/pop logins. the
passwords in openldap are plain (b64)
i have included the strace output...
13:49:54.112641 gettimeofday({1176385794, 112728}, {0, 0}) = 0
13:49:54.112757 gettimeofday({1176385794, 112771}, NULL) = 0
13:49:54.112792 poll([{fd=5,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=7,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=0,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=3,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=15,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=8,
events=POLLIN|POLLPRI|POLLE...
2004 Aug 24
1
FreeBSD - dovecot: We couldn't drop root group privileges
Hi,
I installed Dovecot on FreeBSD 4-STABLE machine
and have a problem.
MTA is postfix delivering to ~/Maildir, runs perfectly.
Dovecot is configured to use plaintext auth, config file
is at the end of this mail.
When trying to get mail via IMAP, I'm getting the following
errors:
/var/log/dovecot.log
> Aug 24 12:00:35 Info: Dovecot starting up
> Aug 24 12:00:51 Info: Login: goshik
2007 Oct 23
4
dovecot-auth: Too many open files
...n shared object file: Too many
open files]
So, during the event I performed an strace against the dovecot-auth
process and noticed the following error as well:
accept(3, 0xbfe05a50, [2]) = -1 EMFILE (Too many open
files)
gettimeofday({1192538310, 41972}, NULL) = 0
poll([{fd=3, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL,
revents=POLLIN}, {fd=0, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL},
{fd=18, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=10,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=7,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=23,
events=POLLIN|...
2018 Jan 18
2
libvirtd hangs
...gi?id=1495893)
Sometimes libvirtd just hangs and stops answering for virsh requests
(like `virsh list --all`).
At those moments:
# strace -p 5786
read(53, "\0\0\0\34", 4) = 4
read(53, "keep\0\0\0\1\0\0\0\2\0\0\0\2\0\0\0\0\0\0\0\0", 24) = 24
poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=12,
events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=15,
events=POLLIN}, {fd=19, events=POLLIN}, {fd=23,
events=POLLIN|POLLERR|POLLHUP}, {fd=21, events=POLLIN|POLLERR|POLLHUP},
{fd=27, events=POLLIN|POLLERR|POLLHUP}, {fd=25,
events=POLLIN|POLLERR...
2010 Dec 03
1
busy loop in libvirtd (cpu usage 100%)
...nd stays there indefinitely. This seems to happen
when a QEMU VM is starting up, although on one occasion I *think* I
saw it happen after a QEMU VM was p2p-migrated.
Doing strace -f -p <libvirtd pid> reveals a flood of poll() functions calls
like these:
[pid 1690] poll([{fd=3, events=POLLIN}, {fd=6, events=POLLIN}, {fd=12, events=POLLIN|POLLERR|POLLHUP}, {fd=11, events=POLLIN|POLLERR|POLLHUP}, {fd=10, events=POLLIN|POLLERR|POLLHUP}, {fd=9, events=POLLIN|POLLERR|POLLHUP}, {fd=24, events=POLLIN|POLLERR|POLLHUP}, {fd=21, events=POLLOUT}, {fd=14, events=POLLIN}, {fd=15, events=POLLIN}, {f...
2018 Jan 18
0
Re: libvirtd hangs
...rtd just hangs and stops answering for virsh requests
>(like `virsh list --all`).
>
>At those moments:
>
># strace -p 5786
>read(53, "\0\0\0\34", 4) = 4
>read(53, "keep\0\0\0\1\0\0\0\2\0\0\0\2\0\0\0\0\0\0\0\0", 24) = 24
>poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=12,
>events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN}, {fd=15,
>events=POLLIN}, {fd=19, events=POLLIN}, {fd=23,
>events=POLLIN|POLLERR|POLLHUP}, {fd=21, events=POLLIN|POLLERR|POLLHUP},
>{fd=27, events=POLLIN|POLLERR|POLLHUP}, {fd=25,
>events...
2018 Jul 02
0
Samba 4.3.11 accessing disk every minute
...disk
about twice a minute. The access to /dev/sda2 is causing the system to keep the disk from going
into standby mode. I don't understand the call to quotactl every minute when no one is trying to access the share.
An strace of one of the processes shows the following:
poll([{fd=13, events=POLLIN|POLLHUP}, {fd=6, events=POLLIN|POLLHUP}, {fd=12, events=POLLIN|POLLHUP}, {fd=31, events=POLLIN|POLLHUP}], 4, 60000) = 1 ([{fd=31, revents=POLLIN}])
readv(31, [{"\0\0\0\230", 4}], 1) = 4
readv(31, [{"\376SMB@\0\1\0\0\0\0\0\5\0\1\0000\0\0\0\0\0\0\0V\1\0\0\0\0\0\0"..., 152}],...
2013 Aug 12
2
Odd Samba 4 ("4.2.0pre1-GIT-b505111"; actually only using client) behaviour #2 - "accept: Software caused connection abort".
Good day oh technical ones .
I was running Samba 4 (client only, not using it as a DC so
effectively running Samba 3 code from the Samba 4 tree) and, other than a
little "Gotcha!" regarding decoding Kerberos PACs, it was all working
perfectly.
Then recently I had to upgrade, to "4.2.0pre1-GIT-b505111"
(I had to upgrade the OS on the server
2014 Jan 04
1
sudo issues after upgrading to samba/winbind 4.0.13 on Debian Wheezy
...cntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
fcntl(4, F_GETFD) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
connect(4, {sa_family=AF_FILE, path="/var/run/samba/winbindd/pipe"}, 110) = 0
poll([{fd=4, events=POLLIN|POLLOUT|POLLHUP}], 1, -1) = 1 ([{fd=4,
revents=POLLOUT}])
write(4, "0\10\0\0\0\0\0\0\0\0\0\0\17\34\0\0\0\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
2096) = 2096
poll([{fd=4, events=POLLIN|POLLHUP}], 1, 5000) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\250\r\0\0\2\0\0\0\33\0\0\0\0\0\0\0\0\0\0\0...
2004 Aug 06
1
icecast2 is killed when client connects (on sparc32)
...! it compiled straight out of the box.
i can start the server and it even connects to a remote server and
starts to relay. when i run xmms from another machine and connect, it
stops at "pre-buffering 0/32k". here's an strace of the icecast server
at that time:
poll([{fd=3, events=POLLIN}], 1, 100) = 0
poll([{fd=3, events=POLLIN}], 1, 100) = 0
poll([{fd=3, events=POLLIN}], 1, 100) = 0
poll([{fd=3, events=POLLIN}], 1, 100) = 0
poll([{fd=3, events=POLLIN}], 1, 100) = 0
poll([{fd=3, events=POLLIN}], 1, 100) = 0
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 100) = 1
gets...
2018 Jan 25
2
Re: libvirtd hangs
...o wrote 2018-01-18 14:27:
> On Thu, Jan 18, 2018 at 11:30:16AM +0700, Artem Likhachev wrote:
>> # strace -p 5786
>> read(53, "\0\0\0\34", 4) = 4
>> read(53, "keep\0\0\0\1\0\0\0\2\0\0\0\2\0\0\0\0\0\0\0\0", 24) = 24
>> poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=12,
>> events=POLLIN}, {fd=13, events=POLLIN}, {fd=14, events=POLLIN},
>> {fd=15,
>> events=POLLIN}, {fd=19, events=POLLIN}, {fd=23,
>> events=POLLIN|POLLERR|POLLHUP}, {fd=21,
>> events=POLLIN|POLLERR|POLLHUP},
>> {fd=27, events=POL...
2007 Jun 03
1
Dovecot waking every 50ms when doing nothing
...my
mail client, and when playing around with powertop I discovered that
Dovecot (in particular imap-login) wakes up every 1000ms and then every
50ms even when no clients are connected. A bit of stracing shows this:
gettimeofday({1180875699, 667917}, NULL) = 0 <0.000010>
poll([{fd=7, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=10, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=3, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=0, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=1, events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}], 5, 999) = 0 <0.999595>
gettimeof...
2014 Apr 22
1
35 second wait when cache expired
...ang for 35 seconds before
returning.
For example, I ran 'strace ps aux' at 22:22:55, it doesn't return until
22:23:30
The 35 seconds delay happens where the timeouts are listed here:
connect(3, {sa_family=AF_FILE, path="/var/run/winbindd/pipe"}, 110) = 0
poll([{fd=3, events=POLLIN|POLLHUP}], 1, 0) = 0 (Timeout)
write(3, "0\10\0\0\0\0\0\0\0\0\0\0 at +\0\0\0\10\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
2096) = 2096
poll([{fd=3, events=POLLIN|POLLHUP}], 1, 5000) = 1 ([{fd=3,
revents=POLLIN}])
read(3,
"\250\r\0\0\2\0\0\0\33\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0&quo...
2013 Feb 12
1
Can't get working nsswitch, specifically "wbinfo -u"
...55.446487 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 <0.000006>
15:19:55.446516 connect(4, {sa_family=AF_FILE, path="/usr/local/samba/var/lib/winbindd_privileged/pipe"}, 110) = 0 <0.000097>
15:19:55.446655 close(3) = 0 <0.000056>
15:19:55.446740 poll([{fd=4, events=POLLIN|POLLHUP}], 1, 0) = 0 (Timeout) <0.000007>
15:19:55.446776 write(4, "0\10\0\0\22\0\0\0\0\0\0\0gk\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2096) = 2096 <0.000120>
15:19:55.446951 poll([{fd=4, events=POLLIN|POLLHUP}], 1, 5000) = 0 (Timeout) <5.002095>
15:20:00.449121 poll([...
2004 Mar 26
1
nmbd dying
...useful in the logs and a PS shows a nmb
process still running.
This last time around, I had a ptrace running on both nmbd processes and found
that the parent process was the one still running, but the child process
had died. Here's the end of the ptrace of the child:
poll([{fd=9, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(9, FIONREAD, [81]) = 0
recvfrom(9, "\t\1\201\200\0\1\0\2\0\0\0\0\vBORDER-ACCT\tbordere"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")}, [16]) = 81
close(9)...
2019 May 31
4
[libnbd] Simultaneous read and write
...cal loop using poll might look like:
fd = nbd_aio_get_fd (nbd);
for (;;) {
/* <-- If you need to issue more commands, do that here. */
dir = nbd_aio_get_direction (nbd);
pollfd[0].fd = fd;
pollfd[0].events = 0;
if (dir & LIBNBD_AIO_DIRECTION_READ) pollfd[0].events |= POLLIN;
if (dir & LIBNBD_AIO_DIRECTION_WRITE) pollfd[0].events |= POLLOUT;
poll (pollfd, 1, -1);
if (pollfd[0].revents & LIBNBD_AIO_DIRECTION_READ)
nbd_aio_notify_read ();
else if (pollfd[0].revents & LIBNBD_AIO_DIRECTION_WRITE)
nbd_aio_notify_write ();
}
-------...
2019 May 31
0
[libnbd] Simultaneous read and write
...would permit reads to be in a separate thread from writes
would require that the nbd_aio_pread() call (in the nbdkit thread) run
until the entire request is out the door, even if it temporarily blocks
on write() and has to wait for POLLOUT. Meanwhile, the reader thread
would spin waiting for just POLLIN events, rather than having to service
any of the POLLOUT of the writer thread(s) running in parallel.
>
> The reasons why libnbd can't do this are:
>
> Problem (a) : Only one thread of control can hold the libnbd handle
> lock (h->lock), and since there can only be one thre...
2007 Feb 15
1
Dovecot not responding
...127.0.0.1:34661
ESTABLISHED
tcp 0 0 127.0.0.1:34661 127.0.0.1:993
ESTABLISHED
STRACE:
17:00:33.225030 gettimeofday({1171501233, 225048}, {480, 0}) = 0
17:00:33.225072 gettimeofday({1171501233, 225090}, NULL) = 0
17:00:33.225113 poll([{fd=7,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=10,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=3,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}, {fd=1,
events=POLLIN|POLLPRI|POLLERR|POLLHUP|POLLNVAL}], 4, 0) = 0
17:00:33.225163 gettimeofday({1171501233, 225182}, {480, 0}) = 0
17:00:33.225212...