search for: check_timeout

Displaying 13 results from an estimated 13 matches for "check_timeout".

2002 Jul 02
1
Rsync: Segmentation fault
Rsync 2.5.5; transfer via ssh; sparc-sun-solaris2.5 (Ultra 1); gcc 2.8.1. Every time rsync on this box causes boundary violation. I attached two strange examples. I have a few rsync's corefiles (100MB and above) and I can examine them. I will be grateful for any help. -Mirek <-------------------------------------------------------------------------> received 966761 names done
2006 May 02
2
flash not shown
I am using the following code (inspired by one of the books) to check if the user''s session should have timed out. # Check to see if the user has been inactive for longer than the # expiry period. If they have, reset the session. def check_timeout if session[:expires_at] != nil @time_left = (session[:expires_at] - Time.now).to_i unless @time_left > 0 reset_session # TODO - This flash is never shown, because we redirect maybe? flash[:error] = ''Your session has timed out, please login to con...
2006 Apr 11
1
Double redirect
...is run from ApplicationController. The second filter is in use throughout most of the app and checks to see whether the user has the correct credentials to view the controller. This is run from individual controllers that need it. Both have a redirect if they fail, however the redirect for check_timeout never runs, because it also fails the check_user test which causes it to redirect and cause the error. How can I stop the application from running further checks if the first filter fails? I have tried "redirect_to and return" which was suggested on a website I found, but it does not...
2004 Feb 13
1
possible bug?
...hough all files have been transferred. Yes, I realize the process that kicks off rsync should ensure that it terminates in a timely manner. However, I would like to propose a change to rsync that would let invocations of rsync with a timeout die based on that timeout: wait_process() could call check_timeout() before calling msleep(). When the timeout has been exceeded, rsync would call _exit_cleanup and kill_all would take care of the child. You could make this check optional so that only calls from client_run do the check. just a thought. -- david ahern
2005 Apr 27
7
[Bug 2654] timeout is always triggered with 2.6.4
https://bugzilla.samba.org/show_bug.cgi?id=2654 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Additional Comments From wayned@samba.org 2005-04-27 02:21 ------- The generator's setting of the ignore_timeout
2003 Jul 31
2
rsync 2.5.6 timeout bug
I've been getting frequent io errors trying to synchronise a local CPAN mirror with the master on ftp.funet.fi, the symptoms being the dreaded rsync: connection unexpectedly closed (0 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(165) message at the client end. I've replicated this when mirroring from a local CPAN mirror, and the issue seems to
2005 Nov 18
12
[Bug 3271] New: Rsync instances stay in memory when using in daemon mode
https://bugzilla.samba.org/show_bug.cgi?id=3271 Summary: Rsync instances stay in memory when using in daemon mode Product: rsync Version: 2.6.7 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy:
2002 Jan 13
0
rsynd-2.5.1 / io.c patches
...JAN-2002 18:29:18.32 OPENVMS_AXP */ /* -*- c-file-style: "linux" -*- Copyright (C) 1996-2001 by Andrew Tridgell @@ -49,7 +50,7 @@ static int io_error_fd = -1; -static void read_loop(int fd, char *buf, int len); +static void read_loop(int fd, void *buf, int len); static void check_timeout(void) { @@ -163,9 +164,11 @@ * give a better explanation. We can tell whether the connection has * started by looking e.g. at whether the remote version is known yet. */ -static int read_timeout (int fd, char *buf, int len) +static int read_timeout (int fd, void *buf1, int len) {...
2014 Sep 29
0
Imap: Panic: UID 13737 lost unexpectedly from INBOX
...;imap_sync_init" #13 0x000000000041032e in idle_sync_now (box=<optimized out>, ctx=0x2568b40) at cmd-idle.c:146 No locals. #14 0x0000000000410531 in idle_callback (box=<optimized out>, ctx=<optimized out>) at cmd-idle.c:158 client = 0x2567f40 #15 0x00007f14d05bb77e in check_timeout (box=0x267d320) at index-mailbox-check.c:51 ibox = <optimized out> file = 0x0 st = {st_dev = 37633, st_ino = 21496482, st_nlink = 1, st_mode = 33152, st_uid = 1001, st_gid = 1001, __pad0 = 0, st_rdev = 0, st_size = 2500, st_blksize = 4096, st_blocks = 8, st_atim = {tv_...
2023 Apr 03
2
[EXTERNAL] Fwd: ntlm_auth and freeradius
> I guess we have to look at the conf files then, first these two: Thank you for the config file snippets. I can confirm mine were almost identical, so I've tweaked them so that they are now exactly the same as yours except for the "--require-membership-of=example\authorization_groupname" line in ntlm_auth. Unfortunately it's still erroring out: (7) mschap: Creating
2016 Jun 29
0
Rsync hung when applying batch file
...at main.c:1287 #10 main (argc=1, argv=0xcba240) at main.c:1514 So, two process try get messages from each other, forewer. I try trace process 2145 (other process in generate_files can setignore_timeout =1; insidegenerate_files(), i thoght, but i faul deattach from 2145 and process closed) (gdb) check_timeout () at io.c:124 124 in io.c (gdb) print io_timeout $11 = 0 (gdb) print ignore_timeout $2 = 0 So, timeout newer happen. My solution is use --timeout parameter (now, always) in rsync. But i think, this is bug, when rsync hung on applying batch file. I try, but unable to find other solution to fix...
2016 Jun 29
0
Rsync hung when applying batch file
...at main.c:1287 #10 main (argc=1, argv=0xcba240) at main.c:1514 So, two process try get messages from each other, forewer. I try trace process 2145 (other process in generate_files can setignore_timeout =1; insidegenerate_files(), i thoght, but i faul deattach from 2145 and process closed) (gdb) check_timeout () at io.c:124 124 in io.c (gdb) print io_timeout $11 = 0 (gdb) print ignore_timeout $2 = 0 So, timeout newer happen. My solution is use --timeout parameter (now, always) in rsync. But i think, this is bug, when rsync hung on applying batch file. I try, but unable to find other solution to fix...
2003 Oct 03
2
Cygwin/rsync Hang Problem Testing Results
People of cygwin & rsync, I recently attempted to get cygwin and rsync working to solve a backup/mirroring need in my computer life. Well, as you might guess, I ran into a little but of trouble. Strangely enough, rsync seemed to be regularly hanging when I attempted to do a "get" (sycronize a remote to a local dir). Well, considering I want to automate this, that was not going