From: Volker Lendecke on
On Mon, Mar 08, 2010 at 01:42:16PM +0100, Janez Kosmrlj wrote:
> update.
>
> For now it looks like fakeoplocks=yes in smb.conf is the solution. Also the
> audit service on the client has to be turned off. We have to do some further
> testing, but this looks like it is it for now.

NEVER use fake oplocks.

Volker
From: Janez Kosmrlj on
On Mon, Mar 15, 2010 at 6:52 AM, Janez Kosmrlj
<postnalista(a)googlemail.com>wrote:

>
>
>>
>>> Hi,
>>> I tried your configuration. Everything works, as long as i test with text
>>> files. But when i tried with the java application i just get a lot of the
>>> folowing errors:
>>> *mmap failed for CEN and END part of zip file*
>>>
>>> Actually i get of them for every jar in the classpath. And the java app
>>> doesn't start.
>>>
>>> From my testing it seems that java doesn't like the forcedirectio
>>> parameter in fstab. Also it doesn't like the directio parameter.
>>>
>>> Regards
>>> Janez
>>>
>>
>>
> I did some research and it is not possible to use java with
> forcedirectio/directio. The explanation is in the mount.cifs man page. "Do
> not do inode data caching on files opened on this mount. This precludes
> mmaping files on this mount." Unfortunately java uses the mmap system call
> to load the files from the classpath to memory.
>
> Maybe this will be usefull for someone in the future.
>
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba