Bug #3293
closedlfc adaptor: authenticate(): Error 1015: reply too large
100%
Description
Hi,
I'm trying jsaga (0.9.15-20120808.125720-16) with lfc. But get the error below. It works for SRM and CREAM.
$ jsaga-ls.sh lfn://lfc.grid.sara.nl/grid/vlemed/mark/
[2012-10-24 23:59:59,812] DEBUG fr.maatg.glite.dm.connection.Connection : Establishing connection with server lfc.grid.sara.nl:5010
[2012-10-24 23:59:59,817] DEBUG fr.maatg.glite.dm.connection.Connection : Received M/T/S: 51715 2 15
[2012-10-24 23:59:59,817] DEBUG fr.maatg.glite.dm.connection.Connection : Limit: 4100, Pos: 27 MinContent: 15 Avail 4073
[2012-10-25 00:00:01,818] DEBUG fr.maatg.glite.dm.connection.Connection : Received M/T/S: 51715 3 4774
Exception in thread "main" NoSuccess: fr.maatg.glite.dm.connection.ReceiveException: authenticate(): Error 1015: reply too large: Received M/T/S: 51715 3 4774
at fr.in2p3.jsaga.adaptor.lfc.LFCDataAdaptor.connect(LFCDataAdaptor.java:107)
at fr.in2p3.jsaga.engine.factories.DataAdaptorFactory.getDataAdaptorAndConnect(DataAdaptorFactory.java:101)
at fr.in2p3.jsaga.impl.namespace.AbstractSyncNSFactoryImpl.doCreateNSDirectorySync(AbstractSyncNSFactoryImpl.java:61)
at fr.in2p3.jsaga.impl.namespace.NSFactoryImpl.doCreateNSDirectory(NSFactoryImpl.java:48)
at org.ogf.saga.namespace.NSFactory.createNSDirectory(NSFactory.java:667)
at org.ogf.saga.namespace.NSFactory.createNSDirectory(NSFactory.java:606)
at fr.in2p3.jsaga.command.NamespaceList.main(NamespaceList.java:65)
Caused by: fr.maatg.glite.dm.connection.ReceiveException: authenticate(): Error 1015: reply too large: Received M/T/S: 51715 3 4774
at fr.maatg.glite.dm.ns.AbstractCNSConnection.receive(AbstractCNSConnection.java:122)
at fr.maatg.glite.dm.connection.Connection.authenticate(Connection.java:203)
at fr.maatg.glite.dm.connection.Connection.<init>(Connection.java:109)
at fr.maatg.glite.dm.ns.AbstractCNSConnection.<init>(AbstractCNSConnection.java:62)
at fr.maatg.glite.dm.ns.CNSConnection.<init>(CNSConnection.java:67)
at fr.maatg.glite.dm.CNSConnector.getNewConnection(CNSConnector.java:130)
at fr.in2p3.jsaga.adaptor.lfc.LFCDataAdaptor.connect(LFCDataAdaptor.java:96)
... 6 more
The following command works just fine:
$ lcg-ls lfn:/grid/vlemed/mark/
Any idea?
Thanks!
Gr,
Mark
Updated by Revillard Jerome over 12 years ago
Dear Mark,
Thanks for reporting it. Fist of all, you can find the library infos here: https://project-mgt.maatg.fr/projects/glite-data-management (in the wiki, you can find some information on how to get the source code etc...)
Inthe email you sent me, you said that you managed to fix the problem increasing the REPBUFSZ size from 4100 to 4786.
Can you tell me if this is the minimal working value ?
This is strange because, in the lcg C implementation, this value was not modified: http://svnweb.cern.ch/guest/lcgdm/lcg-dm/trunk/h/Cns.h (#define REPBUFSZ 4100).
Could you tell me the version of the LFC server please ?
The problem might be in the logic that we implementated to read the data. I will investigate.
Best,
Jerome
Updated by Revillard Jerome over 12 years ago
- Assigned To set to Revillard Jerome
Updated by Revillard Jerome over 12 years ago
- Category set to gLite adaptors
- Status changed from New to Resolved
- % Done changed from 0 to 100
Fixed in glite.dm v0.5.3 (https://project-mgt.maatg.fr/news/11) which is now the version used by JSAGA (0.15-SNAPSHOT).
Best,
Jerome