Re: [cciug] Samba Question - ClearCase Views are paralyzed?? (RESEND)

From: Eric Boehm (boehm@nortelnetworks.com)
Date: Wed Feb 16 2000 - 09:48:18 EST


On Wed, Feb 16, 2000 at 08:26:14AM -0600, Scott Mackillip wrote:
>>>>> "Scott" == Scott Mackillip <mmackill@aud.alcatel.com> writes:

    Scott> I have a question about this: I just recently had a user not able
    Scott> to run cleartool (in any manner! setview, interactively, nothing)
    Scott> because invoking cleartool would dump core.

    Scott> I tracked the problem down to too many open files on the system:
    Scott> executing the command ulimit -n 512 allowed the user to use
    Scott> clearcase again.

    Scott> If you increase the number of open files on the solaris box, what
    Scott> configurable paramater do you tune in clearcase to allow that
    Scott> number of open files? And where do you tune it at?

You need to set a couple of things

I would recommend in /etc/system

set rlim_fd_cur = 256

I would not
set rlim_fd_max = 10240

You should also edit /usr/atria/etc/atria_start and add/change the parameter
to lockmgr to

${ATRIA}/etc/lockmgr ${LOCKMGR_ALIAS_OPT} -q 1024 -u 1024 -f 1024 >>$ADM_DIR/log/lockmgr_log 2>&1

smb.conf should have
        max open files = 1014

and, lastly, on your NT clients, go into ClearCase Control Panel -> MVFS
Performance and set

800 Maximum number of mnodes to keep on the free list
800 Maximum number of mnodes to keep for cleartext free list

    John> How do I increase the Max Open Files from current limit of 1014 to
    John> Samba max of 10000?

You can't

    John> You have to edit /etc/system,

    John> rlim fd_max = 10240 rlim_fd_max = 10240 rlim_fd_cur = 1024

You will have problems. Programs that use the select() call don't like more
than 1024 file descriptors. cleartool uses the select call. So ... either
leave it unset (default max is 1024) or set it no higher than 1024.

-- 
Eric M. Boehm                               boehm@nortelnetworks.com
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  



This archive was generated by hypermail 2b29 : Sun May 06 2001 - 00:23:16 EDT