1824170 Members
2527 Online
109669 Solutions
New Discussion юеВ

Huge NFS log file

 
IFX_1
Frequent Advisor

Huge NFS log file

I have this file TCPIP$NFS_LOGFILE.LOG with block size of around 4.5M blocks use by TCPIP service.

Is there a way to open a new log file without affecting the users using the NFS service? How to do it?

TCPIP$NFS_LOGFILE.LOG 4534285/4534308
10 REPLIES 10
Karl Rohwedder
Honored Contributor

Re: Huge NFS log file

Other than @TCPIP$NFS_SHUTDOWN and TCPIP$NFS_STARTUP? I don't know.
Btw. my logfiles are named TCPIP$NFS_RUN.LOG and tCPIP$NFS_nodename.LOG.

regards Kalle
John Gillings
Honored Contributor

Re: Huge NFS log file

Ronald,

If it were my system, I'd be wondering what those 4.5M blocks contained! I've got less than 200 blocks of NFS log files since the beginning of 2003. Maybe NFS is trying to tell you something?

Shutdown NFS using TCPIP$NFS_SHUTDOWN, examine the log (at least the head and tail) to determine why it's growing. You may also need to adjust the logging options for the service. See:

$ TCPIP SHOW SERVICE NFS/FULL

check for any feature logical names requesting logging:

$ SHOW LOGICAL *NFS*

Yes, this might involve interrupting service to your users, but if the log file keeps growing and fills the disk, they'll get a more serious interruption!

If you need more detailed assistance, please log a case with your local customer support centre.
A crucible of informative mistakes
IFX_1
Frequent Advisor

Re: Huge NFS log file

Our environment make use of TCPIP NFS service for communication and NFS proxies to transfer files from or to different servers and platforms.

That makes the files too big because the activitiy is very high.

In this sense, there is no way to create a new log without interrupting my users.

David B Sneddon
Honored Contributor

Re: Huge NFS log file

Ronald,

In terms of stopping and restarting NFS, there
have been cases of "network problems" causing
brief outages :-) We sometimes have them here.

Dave
IFX_1
Frequent Advisor

Re: Huge NFS log file

Hi David,
Can you elaborate further on the network problems you encounter? Thanks.
David B Sneddon
Honored Contributor

Re: Huge NFS log file

Ronald,

Did you note the smiley?

$ @sys$manager:tcpip$nfs_shutdown
$ rename/delete/whatever the log file
$ @sys$manager:tcpip$nfs_startup

Oops -- network glitch...

Dave

Thomas Ritter
Respected Contributor

Re: Huge NFS log file

"network problems" can readily be associated with interruptions to services :)
IFX_1
Frequent Advisor

Re: Huge NFS log file

Hi David,
Thanks, I didn't get the smiley...

regards,
ronald
Wim Van den Wyngaert
Honored Contributor

Re: Huge NFS log file

BTW : the service is not disrupted when you restart.

NFS clients will go in wait (retransmit) until the NFS server is back alive. Off course there is a timeout but it's not 1 second (it's almost 1 minute on my 5.3 eco 2).

Wim
Wim
IFX_1
Frequent Advisor

Re: Huge NFS log file

thanks.