Displaying 5 results from an estimated 5 matches for "timeout_reset".
2015 Aug 27
2
Panic in service(log)
Hello,
I'm using the Debian builds of dovecot-2.2 by S[r]us.
Today I started getting the following panic:
log: Panic: file priorityq.c: line 122 (priorityq_remove_idx): assertion
failed: (idx < count)
log: Error: Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0(+0x7f1ae) [0x7fd368dc31ae] ->
/usr/lib/dovecot/libdovecot.so.0(+0x7f269) [0x7fd368dc3269] ->
2015 Aug 27
0
Panic in service(log)
...q_remove_idx (pq=0x559b3db007e0, idx=4294967295) at priorityq.c:122
pq = 0x559b3db007e0
idx = 4294967295
count = 1
#6 0x00007fe01d9f3eeb in priorityq_remove (pq=<optimized out>, item=item at entry=0x559b3db221f0) at priorityq.c:138
No locals.
#7 0x00007fe01d9e479c in timeout_reset_timeval (timeout=0x559b3db221f0, tv_now=tv_now at entry=0x0) at ioloop.c:329
__FUNCTION__ = "timeout_reset_timeval"
#8 0x00007fe01d9e4b4d in timeout_reset (timeout=<optimized out>) at ioloop.c:336
__FUNCTION__ = "timeout_reset"
#9 0x00007fe01dd062a6 in in...
2017 Jan 31
0
dovecot 2.2.18 replication I/O Timeout
...t lock /var/vmail/info/.dovecot-sync.lock: Timed
out after 30 seconds
Can I debug the communication one level deeper?
I replicate over a somewhat slow DSL connection.
I had the some problem with dovecot 2.2.9 and after upgrading to 2.2.15
everything went smoothly, just a wild guess, maybe the timeout_reset was
removed again?
Well, doesn't look like it:
https://github.com/dovecot/core/blob/master/src/doveadm/dsync/dsync-ibc-stream.c
or
https://github.com/dovecot/core/blame/master/src/doveadm/dsync/dsync-ibc-stream.c
Some debug hints would be nice.
Thanks!
Jan
--
Blog http://blog.kiv...
2008 Jan 01
1
Redundant timers
Hello.
I am on an irrational crusade against unneeded timers (it started as a
well-meaining power saving exercise), and I have now started removing
polling in Dovecot.
Attached is a patch with the work I did on this the other night. Would
something like that be acceptable, or should I make it in a different
way?
There seems to be no one-shot timer support, right?
Is there a Dovecot coding
2010 Apr 14
4
PostgreSQL driver supporting [round-robin] load balancing and redundancy [LONG]
...Gresult *pgr;
+ int rc;
+
+ dprintf(("%s: %p", __func__, pgc));
+
+ the_pgc = pgc->pgc;
+ do {
+ rc = PQconsumeInput(the_pgc);
+ if (rc == 0) {
+ pgc_query_processing_failure(pgc, __func__,
+ "PQconsumeInput");
+ return;
+ }
+
+ if (PQisBusy(the_pgc)) {
+ timeout_reset(pgc->timeout);
+ return;
+ }
+ } while (got_result(the_pgc));
+
+ io_remove(&pgc->io);
+ timeout_remove(&pgc->timeout);
+
+ pgr = pgc->pgr;
+ pgc->pgr = NULL;
+ query_result(pgc->qry, pgc, &pgr);
+ if (pgr) PQclear(pgr);
+
+ if (!pgc->qry) add_ready_pgc(pgc->p...