-
[SOLVED] Process for /usr/local/sbin/shfs using up abnormal amounts of CPU.
So glad I stumbled onto this thread, I have been fighting this issue for such a long time.
-
Preclear plugin
Ok, I am still having problems with trying to preclear a 8tb disk, I took a old tower and put a new install of unraid on a usb stick, stuck the 8tb drive in the case, installed unassigned devices and the preclear plugin. It started up, and was moving along for a little over 5 hours, and now it looks like its frozen again. It hasn't progressed any farther than this in about 2 hours ############################################################################################################################ # # # unRAID Server Preclear of disk Z840W7T2 # # Cycle 1 of 1, partition start on sector 64. # # # # # # Step 1 of 5 - Pre-read in progress: (44% Done) # # # # # # # # # # # # # # # # # # # # ** Time elapsed: 5:16:48 | Current speed: 187 MB/s | Average speed: 187 MB/s # # # ############################################################################################################################ # Cycle elapsed time: 5:16:51 | Total elapsed time: 5:16:52 # ############################################################################################################################ ############################################################################################################################ # # # S.M.A.R.T. Status default # # # # # # ATTRIBUTE INITIAL STATUS # # 5-Reallocated_Sector_Ct 0 - # # 9-Power_On_Hours 108 - # # 183-Runtime_Bad_Block 0 - # # 184-End-to-End_Error 0 - # # 187-Reported_Uncorrect 0 - # # 190-Airflow_Temperature_Cel 25 - # # 197-Current_Pending_Sector 0 - # # 198-Offline_Uncorrectable 0 - # # 199-UDMA_CRC_Error_Count 0 - # # # # # # # ############################################################################################################################ # SMART overall-health self-assessment test result: PASSED # ############################################################################################################################ Any clues, this is starting to drive me nuts because I am running out of space on my setup and need to add drives fairly soon root@Tower:~# ps -ef | grep preclear_disk.s root 17197 17185 0 09:19 pts/0 00:02:53 /bin/bash /usr/local/emhttp/plugins/preclear.disk/script/preclear_disk.sh --cycles 1 --no-prompt /dev/sdf root 17201 17197 0 09:19 pts/0 00:00:00 /bin/bash /usr/local/emhttp/plugins/preclear.disk/script/preclear_disk.sh --cycles 1 --no-prompt /dev/sdf root 21224 17197 99 14:36 pts/0 01:36:58 /bin/bash /usr/local/emhttp/plugins/preclear.disk/script/preclear_disk.sh --cycles 1 --no-prompt /dev/sdf root 21225 21224 0 14:36 pts/0 00:00:00 [preclear_disk.s] <defunct> root 31341 23833 0 16:13 pts/1 00:00:00 grep preclear_disk.s And it looks like preclear_disk.s is a zombie again. I don't know if the process is actually running in the background and it just stopped updating the progress screen. And I am not sure what to even look for to see if it is or not
-
Preclear plugin
I noticed it had a zombie process, ran this command ps axo stat,ppid,pid,comm | grep -w defunct and it was the preclear process, I killed the pid, so looks like I am back to square one. If anybody can maybe give me some tips on where to look for the log to see where it was or what it was doing, that would be awesome Thanks
-
Preclear plugin
I have a question and hopefully not a problem. I have had my unraid setup for about a year and so far I haven't really had any problems with preclearing drives. Last week I purchased 2 seagate 8tb drives. The last time I precleared a 8tb drive with no issues, I used a usb 3 drive enclosure, used unassigned devices and the preclear plugin to get that drive ready (it took a while but it worked, I don't have any free slots in my small server, thats why I went with the enclosure). So when i got my 2 drives, I tried the same thing (not both at the same time) The first disk I tried started up the 1st step of the pre-read process, it got to 35% and the status update pop up I get when I click on the preview eye icon stopped updating. I let it sit over night and none of the counters incremented any further, not the percentage or the time counter, but I could still see the activity light on the enclosure blinking. I went to work, giving it another 12 hours, and when I got back home, the status was still at the same spot. I figured it was hung, so I canceled the process. I then decided I was going to try the other drive, I started that up and let it do its thing. I kept an eye on the preview pop window. I left it open so I could glance at it whenever i was near my computer. it was slowly cruising along, until yesterday morning, It has not progressed any further than 58% this time on the first step and the activity light is blinking away, I don't have any of my other dockers turned on, after the first hang. I did some searches and found some threads that mentioned memory being maxed out may cause some issues. (I have 8GB and 6.9 are available) With nothing running except just unraid and the preclear script "running" so I don't think its a memory issue, I also noticed that my Avg cpu load is hovering around 30% and I can see my cores being used, one is at a 100% and the other 3 have a couple of %'s and they rotate around in usage. my memory usage is around 15%, Normally with nothing running and the machine just sitting idle those numbers are a lot lower. So to me it looks like something is running, when I ran the top command in a shell window the preclear process is at the very top of the list top - 15:14:25 up 2 days, 9:29, 2 users, load average: 2.99, 2.97, 2.99 Tasks: 291 total, 2 running, 288 sleeping, 0 stopped, 1 zombie %Cpu(s): 27.0 us, 1.7 sy, 0.0 ni, 47.1 id, 23.9 wa, 0.0 hi, 0.3 si, 0.0 st KiB Mem : 7068476 total, 3234124 free, 173188 used, 3661164 buff/cache KiB Swap: 0 total, 0 free, 0 used. 5967988 avail Mem PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 7949 root 20 0 15892 6688 1624 R 100.0 0.1 1286:18 preclear_disk.s I am not sure where to go from here, is there a log to see, if its really doing something in the background, I updated everything before I started to try to preclear the disks, If there is any info you need from me please let me know, I feel like I should kill the process, but I don't want to if its really running in the background. I don't want to loose any progress just in case its really running and not hung. I am open to any other options that may be out there Thanks in advance, PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 7949 root 20 0 15892 6688 1624 R 99.7 0.1 1311:18 preclear_disk.s
chepnut
Members
-
Joined
-
Last visited