[Csync2] Problem with syncing using large datasets

PCextreme B.V. - Wido den Hollander wido at pcextreme.nl
Thu Oct 16 10:29:46 CEST 2008


Hi,

First of all,  i'll explain the situation.

We have two offices where our desktops (Ubuntu Linux) mount their /home
via NFS on a central server.

The desktops then use LDAP for Authentication and in this way all our
employees can work on any desktop in any office.

We use csync2 (1.34) for sychnronizing the data, this is about 48GB of
data and 297825 files.

The synchronizing doesn't work as i expected, on random points the
sychronizing simply stops.

I used -vvv for a more detailed output and i got:

Local> SIG
r3kH5vEVBeE8YLUuRcPp03FW9h2LO_3qFpFWPogs0J_qMjUDz87WsYoHWGDiNqVM /home/jason/.gcjwebplugin/gcj-instance-5863-2-appletviewer-to-plugin\n
Peer> OK (not_found).\n
Peer> ---\n
File is different on peer (cktxt char #0).
>>> PEER:  ---
>>> LOCAL: v1:mtime=0:mode=4544:uid=1110:gid=1102:type=fifo
Csync2 / Librsync:
csync_rs_check('/home/jason/.gcjwebplugin/gcj-instance-5863-2-appletviewer-to-plugin', 0 [non-regular file])
Opening basis_file and sig_file..
Database idle in transaction. Forcing COMMIT.
SQL: COMMIT TRANSACTION

I checked this file and it is a fifo:
/home/jason/.gcjwebplugin/gcj-instance-5863-2-appletviewer-to-plugin:
fifo (named pipe)

And after that the synchronizing stops.

On the other master csync2 is still running, but sleeping.

I used strace to attach to the process and i get:
Process 4148 attached - interrupt to quit
recv(0, 

And it just waits.
On the sending side a strace gives me:
open("/home/jason/.gcjwebplugin/gcj-instance-5863-2-appletviewer-to-plugin", O_RDONLY <unfinished ...>

So it seems csync2 hangs because this is a fifo, wich is pretty normal.

Ofcourse, i can exclude *gcjwebplugin* but that is not really the way i
want to go. Because whenever a a new fifo is created, i have to exclude
it again, wich means i have to watch the logfiles every day.

Is there a way to tell csync only syncs regular files and just ignores
all the other types?

-  
Met vriendelijke groet,

Wido den Hollander
Hoofd Systeembeheer / CSO
Telefoon Support Nederland: 0900 9633 (45 cpm)
Telefoon Support België: 0900 70312 (45 cpm)
Telefoon Direct: (+31) (0)20 50 60 104
Fax: +31 (0)20 50 60 111
E-mail: support at pcextreme.nl
Website: http://www.pcextreme.nl
Kennisbank: http://support.pcextreme.nl/
Netwerkstatus: http://nmc.pcextreme.nl




More information about the Csync2 mailing list