After removing many files at once system stops responding.

Status
Not open for further replies.

moskyt

Cadet
Joined
Aug 5, 2018
Messages
3
Hi,
I have a big problem with removing files on my FreeNAS.
With removing a lot of files at once the system stops responding immediately. Reboot is necessary.
I've never seen this behaviour before. It started with the new 11.2 version.
Any idea what can cause it?
Thanks.
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
Details please!

What hardware? What were you doing? Is this a SMB or NFS share?
 

moskyt

Cadet
Joined
Aug 5, 2018
Messages
3
HP Micro Server Turion II NEO N54L
8GB RAM
Mirror 2x3TB WD Red
SMB and NFS shares are not configured right now.
I am deleting files in my SSH session directly on the system.

Example:
Code:
root@freenas:/mnt/storage/Backup2 # find MP3/ | wc -l		   <- directory with more than 3000 files
	3430
root@freenas:/mnt/storage/Backup2 # rm -rf MP3/				 <- trying to delete

- after this command system stops responding. Cannot even ping IP. Total freeze.
Tested on other directories and filesystems. The same problem.
 
Last edited by a moderator:

Jon74

Cadet
Joined
Aug 6, 2018
Messages
2
I'm following interested, since I'm facing the same issue... couldn't find any answer for the moment...
same machine as moskyt, HP N54L + 8Gb RAM, 2*2TB WD Red (mirror raid)...
Occurred after upgrading to 11.2 stable
 

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
We need more details. Is encryption used? Dedup?
 

Jon74

Cadet
Joined
Aug 6, 2018
Messages
2
11.2 is not stable. At best it's beta. Suggest you roll back and see if you still have issues.
thanks, I'm a newbie with FreeNAS, can you pls tell me how can I rollback to 11.1?
Not even sure I first installed 11.1 rather than 11.2 beta (and I was told by FreeNAS GUI about an update to 11.2 "stable" which sounded strange to me tbh)

@wblock: no encryption, no dedup. simple zfs pool created after first setup, only installed BackupPC (then removed) and Plex Server
that's all
 

moskyt

Cadet
Joined
Aug 5, 2018
Messages
3
No encryption, No deduplication, No compression.

Code:
root@freenas:~ # zpool status storage 
 pool: storage 
state: ONLINE 
 scan: scrub repaired 0 in 0 days 04:53:10 with 0 errors on Sun Aug  5 04:53:15 2018 
config: 

		NAME											STATE	 READ WRITE CKSUM 
		storage										 ONLINE	   0	 0	 0 
		  mirror-0									  ONLINE	   0	 0	 0 
			gptid/71492f02-7a0d-d166-f88f-a9af6e9bff1c  ONLINE	   0	 0	 0 
			gptid/79cd88d4-b56d-0e6e-8c7f-9cda6c4d6ea1  ONLINE	   0	 0	 0 

errors: No known data errors

root@freenas:~ # zpool get all storage 
NAME	 PROPERTY					   VALUE						  SOURCE 
storage  size						   2.72T						  - 
storage  capacity					   53%							- 
storage  altroot						/mnt						   local 
storage  health						 ONLINE						 - 
storage  guid						   676462572646816942			 default 
storage  version						-							  default 
storage  bootfs						 -							  default 
storage  delegation					 on							 default 
storage  autoreplace					off							default 
storage  cachefile					  /data/zfs/zpool.cache		  local 
storage  failmode					   wait						   default 
storage  listsnapshots				  off							default 
storage  autoexpand					 off							default 
storage  dedupditto					 0							  default 
storage  dedupratio					 1.00x						  - 
storage  free						   1.27T						  - 
storage  allocated					  1.44T						  - 
storage  readonly					   off							- 
storage  comment						-							  default 
storage  expandsize					 -							  - 
storage  freeing						0							  default 
storage  fragmentation				  24%							- 
storage  leaked						 0							  default 
storage  bootsize					   -							  default 
storage  checkpoint					 -							  - 
storage  feature@async_destroy		  enabled						local 
storage  feature@empty_bpobj			active						 local 
storage  feature@lz4_compress		   active						 local 
storage  feature@multi_vdev_crash_dump  enabled						local 
storage  feature@spacemap_histogram	 active						 local 
storage  feature@enabled_txg			active						 local 
storage  feature@hole_birth			 active						 local 
storage  feature@extensible_dataset	 enabled						local 
storage  feature@embedded_data		  active						 local 
storage  feature@bookmarks			  enabled						local 
storage  feature@filesystem_limits	  enabled						local 
storage  feature@large_blocks		   enabled						local 
storage  feature@sha512				 enabled						local 
storage  feature@skein				  enabled						local 
storage  feature@device_removal		 enabled						local 
storage  feature@obsolete_counts		enabled						local 
storage  feature@zpool_checkpoint	   enabled						local

root@freenas:~ # zfs get all storage 
NAME	 PROPERTY				VALUE				   SOURCE 
storage  type					filesystem			  - 
storage  creation				Wed Jun 11 20:50 2014   - 
storage  used					1.44T				   - 
storage  available			   1.19T				   - 
storage  referenced			  424K					- 
storage  compressratio		   1.00x				   - 
storage  mounted				 yes					 - 
storage  quota				   none					default 
storage  reservation			 none					default 
storage  recordsize			  128K					default 
storage  mountpoint			  /mnt/storage			default 
storage  sharenfs				off					 default 
storage  checksum				on					  default 
storage  compression			 off					 local 
storage  atime				   on					  default 
storage  devices				 on					  default 
storage  exec					on					  default 
storage  setuid				  on					  default 
storage  readonly				off					 default 
storage  jailed				  off					 default 
storage  snapdir				 hidden				  default 
storage  aclmode				 passthrough			 local 
storage  aclinherit			  passthrough			 local 
storage  canmount				on					  default 
storage  xattr				   off					 temporary 
storage  copies				  1					   default 
storage  version				 5					   - 
storage  utf8only				off					 - 
storage  normalization		   none					- 
storage  casesensitivity		 mixed				   - 
storage  vscan				   off					 default 
storage  nbmand				  off					 default 
storage  sharesmb				off					 default 
storage  refquota				none					local 
storage  refreservation		  none					local 
storage  primarycache			all					 default 
storage  secondarycache		  all					 default 
storage  usedbysnapshots		 0					   - 
storage  usedbydataset		   424K					- 
storage  usedbychildren		  1.44T				   - 
storage  usedbyrefreservation	0					   - 
storage  logbias				 latency				 default 
storage  dedup				   off					 local 
storage  mlslabel										- 
storage  sync					standard				default 
storage  refcompressratio		1.00x				   - 
storage  written				 424K					- 
storage  logicalused			 1.44T				   - 
storage  logicalreferenced	   110K					- 
storage  volmode				 default				 default 
storage  filesystem_limit		none					default 
storage  snapshot_limit		  none					default 
storage  filesystem_count		none					default 
storage  snapshot_count		  none					default 
storage  redundant_metadata	  all					 default 
storage  org.freebsd.ioc:active  yes					 local

 
Status
Not open for further replies.
Top