Project

General

Profile

Bug #25365

Clean up tmp rc.conf

Added by Tom Schneider over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Critical
Assignee:
William Grzybowski
Category:
OS
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

I was looking at some other issues and noticed that my /var/tmp folder was getting larger on a regular basis. it appears as though there is a new rc.conf.* file created about every 11 seconds or so (about 6 a minute). There appears to be nothing i can do to stop this. Why is this happening?

the attachment is the result of a ls -lct rc.conf.* from the /var/tmp folder.

image.jpg (217 KB) image.jpg left: VM web-console before ssh, Right: ssh into VM Rishabh Chauhan, 08/29/2017 04:34 PM
12333

Associated revisions

Revision 13c39b56 (diff)
Added by William Grzybowski over 3 years ago

fix(rc): make sure to clean up tmp rc.conf There are sittuations where the interruption of the script may leave dangling files, filling up tmpfs. Ticket: #25365

Revision ba96971e (diff)
Added by William Grzybowski over 3 years ago

fix(rc): make sure to clean up tmp rc.conf There are sittuations where the interruption of the script may leave dangling files, filling up tmpfs. Ticket: #25365 (cherry picked from commit 13c39b56fe1b0bce964ec5c9eaf3fd71348dd9d9)

Revision 3bea3f07 (diff)
Added by William Grzybowski over 3 years ago

fix(rc): make sure to clean up tmp rc.conf There are sittuations where the interruption of the script may leave dangling files, filling up tmpfs. Ticket: #25365

History

#1 Updated by Tom Schneider over 3 years ago

  • File debug-freenas-20170731093142.txz added

#2 Updated by Tom Schneider over 3 years ago

  • File rcconflist added

#3 Updated by Dru Lavigne over 3 years ago

  • Assignee changed from Release Council to William Grzybowski
  • Seen in changed from Unspecified to 11.0-U2

#4 Updated by William Grzybowski over 3 years ago

  • Status changed from Unscreened to Screened
  • Priority changed from No priority to Critical
  • Target version set to 11.0-U3

#5 Updated by William Grzybowski over 3 years ago

  • Status changed from Screened to Needs Developer Review
  • Assignee changed from William Grzybowski to Marcelo Araujo

#6 Updated by William Grzybowski over 3 years ago

#7 Updated by Marcelo Araujo over 3 years ago

  • Status changed from Needs Developer Review to Reviewed by Developer

LGTM!

#8 Updated by William Grzybowski over 3 years ago

  • Assignee changed from Marcelo Araujo to William Grzybowski

#9 Updated by Dru Lavigne over 3 years ago

  • File deleted (debug-freenas-20170731093142.txz)

#10 Updated by Dru Lavigne over 3 years ago

  • File deleted (rcconflist)

#11 Updated by Dru Lavigne over 3 years ago

  • Private changed from Yes to No

#12 Updated by Vaibhav Chauhan over 3 years ago

  • Status changed from Reviewed by Developer to 47

#13 Updated by Vaibhav Chauhan over 3 years ago

  • Assignee changed from William Grzybowski to Joe Maloney

#14 Updated by Dru Lavigne over 3 years ago

  • Subject changed from /var/tmp/rc.conf.* new files added 6 times per minute to Clean up tmp rc.conf

#15 Updated by Rishabh Chauhan over 3 years ago

  • File image.jpg image.jpg added
  • Status changed from 47 to Ready For Release
  • Needs QA changed from Yes to No
  • QA Status Test Passes added
  • QA Status deleted (Not Tested)
12333

Screenshot-
left: VM web-console before ssh, Right: ssh into VM

Explanation-
I checked the rc.conf file (ls -lct rc.conf.*) via web-console before ssh(left console) into the machine, the size of the file was 919. After ssh (right console) it changed to 1027, which is understandable.
The size of rc.conf.freenas remained unchanged even after 6mins, so does the time of creation of file which means a newer file is not being created either. the total count of files in tmp remains the same as well when checked with "ls | wc -l".

#16 Updated by William Grzybowski over 3 years ago

  • Assignee changed from Joe Maloney to William Grzybowski

#17 Updated by Vaibhav Chauhan over 3 years ago

  • Status changed from Ready For Release to Resolved

Also available in: Atom PDF