AnsweredAssumed Answered

NFS - Buffer Overflow

Question asked by uskiki85 on Oct 15, 2012
Latest reply on Oct 18, 2012 by mrogers
Hi,

I have installed Alfresco 4.0.b with NFS.

In my alfresco-global.properties :
### NFS Configuration ###
nfs.enabled=true
nfs.mountServerPort=2250
nfs.nfsServerPort=2249
nfs.rpcRegisterPort=0
nfs.portMapperPort=1111
nfs.portMapperEnabled=true
nfs.sessionDebug=ERROR
nfs.mountServerDebug=true
nfs.user.mappings=admin,admin.rfd
nfs.user.mappings.value.admin.uid=0
nfs.user.mappings.value.admin.gid=0
nfs.user.mappings.value.toto.uid=1200
nfs.user.mappings.value.toto.gid=1200

In my log, all seems to be ok with NFS:

11:50:32,568 DEBUG [org.alfresco.nfs.protocol.auth] Added RPC user mapping for user admin uid=0, gid=0
11:50:32,568 DEBUG [org.alfresco.nfs.protocol.auth] Added RPC user mapping for user toto uid=1200, gid=1200
11:50:32,669 INFO  [org.alfresco.fileserver] Filesystem cluster cache not enabled
11:50:32,730 INFO  [org.alfresco.fileserver] CIFS server NOT started
11:50:32,730 INFO  [org.alfresco.fileserver] FTP server NOT started
11:50:32,731 INFO  [org.alfresco.fileserver] NFS server started
11:50:32,743 INFO  [org.alfresco.nfs.server] Starting server Portmap …
11:50:32,766 INFO  [org.alfresco.nfs.server] Starting server Mount …
11:50:32,795 DEBUG [org.alfresco.fileserver] [Mount] Register server RPC [100005:1,UDP,2250] …
11:50:32,796 DEBUG [org.alfresco.fileserver] [Mount] Registered successfully, [100005:1,UDP,2250]
11:50:32,796 DEBUG [org.alfresco.fileserver] [Mount] Register server RPC [100005:3,UDP,2250] …
11:50:32,796 DEBUG [org.alfresco.fileserver] [Mount] Registered successfully, [100005:3,UDP,2250]
11:50:32,796 DEBUG [org.alfresco.fileserver] [Mount] Register server RPC [100005:1,TCP,2250] …
11:50:32,796 DEBUG [org.alfresco.fileserver] [Mount] Registered successfully, [100005:1,TCP,2250]
11:50:32,797 DEBUG [org.alfresco.fileserver] [Mount] Register server RPC [100005:3,TCP,2250] …
11:50:32,797 DEBUG [org.alfresco.fileserver] [Mount] Registered successfully, [100005:3,TCP,2250]
11:50:32,802 INFO  [org.alfresco.nfs.server] Starting server NFS …
11:50:32,823 DEBUG [org.alfresco.fileserver] [NFS] Register server RPC [100003:3,UDP,2249] …
11:50:32,823 DEBUG [org.alfresco.fileserver] [NFS] Registered successfully, [100003:3,UDP,2249]
11:50:32,823 DEBUG [org.alfresco.fileserver] [NFS] Register server RPC [100003:3,TCP,2249] …
11:50:32,824 DEBUG [org.alfresco.fileserver] [NFS] Registered successfully, [100003:3,TCP,2249]

My Alfresco server start and all is ok but suddently, i have this error which is repeated. This error doesn't block the access to Alfresco so all the alfresco functionnality is working perfectly except the NFS part.



11:51:04,027 ERROR [org.alfresco.fileserver] Error from JLAN
java.io.IOException: Receive RPC buffer overflow, fragment len = 1903520116
   at org.alfresco.jlan.oncrpc.TcpRpcPacketHandler.receiveRpc(TcpRpcPacketHandler.java:345)
   at org.alfresco.jlan.oncrpc.TcpRpcPacketHandler.receiveRpc(TcpRpcPacketHandler.java:288)
   at org.alfresco.jlan.oncrpc.TcpRpcPacketHandler.run(TcpRpcPacketHandler.java:181)
   at java.lang.Thread.run(Thread.java:662)
11:51:04,033 ERROR [org.alfresco.fileserver] Error from JLAN
java.io.IOException: Receive RPC buffer overflow, fragment len = 218788213
   at org.alfresco.jlan.oncrpc.TcpRpcPacketHandler.receiveRpc(TcpRpcPacketHandler.java:345)
   at org.alfresco.jlan.oncrpc.TcpRpcPacketHandler.receiveRpc(TcpRpcPacketHandler.java:288)
   at org.alfresco.jlan.oncrpc.TcpRpcPacketHandler.run(TcpRpcPacketHandler.java:181)
   at java.lang.Thread.run(Thread.java:662)


This error doesn't come if i disable NFS so NFS configuration (or others ??) must be the problem but i don't know what i have to do ?

Any ideas ? Thanks for your help

Outcomes