Hi I have been testing a setup of urbackup server backing up 3 internet windows clients (WinXP & Win7). The urbackup_srv process appears to
be crashing after about 45 mins of processing clients.
Server is Ubuntu 12.04.02 LTS x64 and I have tried both installing the Ubuntu package and downloading source and building.
Have triied both urbackup_Srv version 1.2.2 & 1.2.3 with backup dir being a ZFS filesystem (zfs-fuse)
I have been struggling to find the cause of the crash from the log files (Set to debug), here is the last section of my last logfile (from a 1.2.2 server version)
2013-08-02 08:13:01: Authed+capa for client 'brad-PC' (token auth) - 1 spare connections
2013-08-02 08:13:14: Error sending 'running' ping to client
2013-08-02 08:13:14: Timeout: Error sending 'running' ping to client
2013-08-02 08:13:24: Connecting to target service...
2013-08-02 08:13:24: Established internet connection. Service=0
2013-08-02 08:13:25: InternetService: New Connection incomming 5113056 s: 109
2013-08-02 08:13:25: Authed+capa for client 'brad-PC' (token auth) - 1 spare connections
2013-08-02 08:13:42: Connecting to target service...
2013-08-02 08:13:43: Established internet connection. Service=0
2013-08-02 08:13:43: InternetService: New Connection incomming 5131466 s: 113
2013-08-02 08:13:44: Authed+capa for client 'brad-PC' (token auth) - 1 spare connections
2013-08-02 08:13:50: Connecting to target service...
2013-08-02 08:13:50: Established internet connection. Service=0
2013-08-02 08:13:50: Sending Identity to client "DRYSERVER" failed. Retrying in 10min...
2013-08-02 08:13:50: InternetService: New Connection incomming 5138446 s: 82
2013-08-02 08:13:50: Authed+capa for client 'DRYSERVER' (token auth) - 1 spare connections
2013-08-02 08:14:02: Connecting to target service...
2013-08-02 08:14:02: Established internet connection. Service=0
2013-08-02 08:14:02: InternetService: New Connection incomming 5150704 s: 109
2013-08-02 08:14:03: Authed+capa for client 'brad-PC' (token auth) - 1 spare connections
2013-08-02 08:14:14: Connecting to target service...
2013-08-02 08:14:14: Established internet connection. Service=0
2013-08-02 08:14:14: InternetService: New Connection incomming 5162504 s: 113
2013-08-02 08:14:14: HTTP: New Connection incomming 5162905 s: 114
2013-08-02 08:14:14: Parsing done... starting handling request_num: 0 5162916
2013-08-02 08:14:14: Authed+capa for client 'brad-PC' (token auth) - 1 spare connections
2013-08-02 08:14:16: HTTP: New Connection incomming 5164558 s: 114
2013-08-02 08:14:16: Parsing done... starting handling request_num: 0 5164568
2013-08-02 08:14:18: HTTP: New Connection incomming 5166067 s: 114
2013-08-02 08:14:18: Parsing done... starting handling request_num: 0 5166077
2013-08-02 08:14:19: HTTP: New Connection incomming 5167562 s: 114
2013-08-02 08:14:19: Parsing done... starting handling request_num: 0 5167573
2013-08-02 08:14:21: HTTP: New Connection incomming 5169069 s: 114
2013-08-02 08:14:21: Parsing done... starting handling request_num: 0 5169077
2013-08-02 08:14:22: HTTP: New Connection incomming 5170581 s: 109
2013-08-02 08:14:22: Parsing done... starting handling request_num: 0 5170592
2013-08-02 08:14:24: HTTP: New Connection incomming 5172091 s: 109
2013-08-02 08:14:24: Parsing done... starting handling request_num: 0 5172101
2013-08-02 08:14:25: HTTP: New Connection incomming 5173582 s: 109
2013-08-02 08:14:25: Parsing done... starting handling request_num: 0 5173591
2013-08-02 08:14:27: HTTP: New Connection incomming 5175073 s: 109
2013-08-02 08:14:27: Parsing done... starting handling request_num: 0 5175080
2013-08-02 08:14:28: HTTP: New Connection incomming 5176572 s: 109
2013-08-02 08:14:28: Parsing done... starting handling request_num: 0 5176583
2013-08-02 08:14:30: HTTP: New Connection incomming 5178088 s: 109
2013-08-02 08:14:30: Parsing done... starting handling request_num: 0 5178099
2013-08-02 08:14:31: HTTP: New Connection incomming 5179589 s: 109
2013-08-02 08:14:31: Parsing done... starting handling request_num: 0 5179599
2013-08-02 08:14:32: Connecting to target service...
2013-08-02 08:14:32: Established internet connection. Service=0
2013-08-02 08:14:32: InternetService: New Connection incomming 5180693 s: 109
2013-08-02 08:14:33: HTTP: New Connection incomming 5181074 s: 114
2013-08-02 08:14:33: Parsing done... starting handling request_num: 0 5181084
2013-08-02 08:14:33: Authed+capa for client 'brad-PC' (token auth) - 1 spare connections
2013-08-02 08:14:34: HTTP: New Connection incomming 5182577 s: 114
2013-08-02 08:14:34: Parsing done... starting handling request_num: 0 5182587
2013-08-02 08:14:36: HTTP: New Connection incomming 5184078 s: 114
2013-08-02 08:14:36: Parsing done... starting handling request_num: 0 5184087
2013-08-02 08:14:37: HTTP: New Connection incomming 5185625 s: 114
2013-08-02 08:14:37: Parsing done... starting handling request_num: 0 5185635
2013-08-02 08:14:37: HTTP: New Connection incomming 5185875 s: 114
2013-08-02 08:14:38: Parsing done... starting handling request_num: 0 5186921
2013-08-02 08:14:40: HTTP: New Connection incomming 5188559 s: 114
2013-08-02 08:14:40: Parsing done... starting handling request_num: 0 5188566
2013-08-02 08:14:42: HTTP: New Connection incomming 5190045 s: 114
2013-08-02 08:14:42: Parsing done... starting handling request_num: 0 5190055
2013-08-02 08:14:43: HTTP: New Connection incomming 5191543 s: 114
2013-08-02 08:14:43: Parsing done... starting handling request_num: 0 5191554
2013-08-02 08:14:45: HTTP: New Connection incomming 5193069 s: 114
2013-08-02 08:14:45: Parsing done... starting handling request_num: 0 5193079
2013-08-02 08:14:46: HTTP: New Connection incomming 5194614 s: 114
2013-08-02 08:14:46: Parsing done... starting handling request_num: 0 5194625
2013-08-02 08:14:48: HTTP: New Connection incomming 5196130 s: 114
2013-08-02 08:14:48: Parsing done... starting handling request_num: 0 5196139
2013-08-02 08:14:49: HTTP: New Connection incomming 5197614 s: 114
2013-08-02 08:14:49: Parsing done... starting handling request_num: 0 5197624
2013-08-02 08:14:51: HTTP: New Connection incomming 5199141 s: 114
2013-08-02 08:14:51: Parsing done... starting handling request_num: 0 5199151
2013-08-02 08:14:52: HTTP: New Connection incomming 5200684 s: 114
2013-08-02 08:14:52: Parsing done... starting handling request_num: 0 5200695
2013-08-02 08:14:54: HTTP: New Connection incomming 5202226 s: 114
2013-08-02 08:14:54: Parsing done... starting handling request_num: 0 5202236
2013-08-02 08:14:55: HTTP: New Connection incomming 5203745 s: 114
2013-08-02 08:14:55: Parsing done... starting handling request_num: 0 5203755
2013-08-02 08:14:57: Error sending 'running' ping to client
2013-08-02 08:14:57: Timeout: Error sending 'running' ping to client
The server stopped performing backups at 8:14.57 (same time as the last log in the logfile) and was 1% complete doing a full file backup from 1 on the internet clients…
root@backup:/mnt/backups/live/urbackup_tmp_files# ls -ltr
total 1545
-rwxr-x--- 1 urbackup urbackup 12913 Aug 2 07:13 2
-rwxr-x--- 1 urbackup urbackup 1572864 Aug 2 08:14 85
root@backup:/mnt/backups/live/urbackup_tmp_files#
When the server process initially freezes and stops backing up the web interface is accessible for approx 5 mins after this and then the urbackup_srv process
on the server terminates.
Few extra details about my config…
root@backup:/var/log# uname -a
Linux backup 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
root@backup:/var/log# curl --version
curl 7.31.0 (x86_64-unknown-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap pop3 pop3s rtmp rtsp smtp smtps telnet tftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
- I have both compression and encryption turned on all clients for transfers
- I have compression turned on for the ZFS filesystem on the server
- If I backup an internet client with only small backup amount select (< 1Mb) then it suceedes
- Internet clients only have limited upstream bandwidth 30-75Kbit/s and I only plan to perform internet backups and no local network backups
- Using file backups, image backups disabled
- My Ubuntu server is up to date and currently curl & urbackup_srv are the only 2 packages built from source
- IPv6 disabled on my machine
If anyone could give me some ideas on how to further debug I would be much appreciated, I will looking at writing up and instal
guide for how ive installed on Ubuntu from scratch if this would help. I am also thinking of attempting an install on another distro
such as debian or centOS as this particular server will be dedicated to backups, does anyone have any suggestions for me.
Many Thanks,
Brad.