Very Slow Parity Sync for New 32TB 4+1 Drive Array


SLRist
Go to solution Solved by Kilrah,

Recommended Posts

Hi - just built a brand new unRAID server in a HP Proliant N40L 2GB server chassis (I already have 4 other unRAID servers in similar hardware - except they have 6TB drives or smaller) 4 data drives + 1 parity. These are shucked 8TB Seagate desktop 5400rpm drives which have been extensively tested for errors (over several days) before installing. I also ran a memory test of the 2GB single memory card on the motherboard before starting.

 

Running initial parity sync on the empty array. It's running *very* slowly (1MB - 6MB per second) - sync is only at 6.2% after 34 hours. Estimate at this rate is another 20 days to complete!

 

I have attached a Diagnostics export. I see lots of repeated mention of:

 

Dec  7 02:17:20 UNRAID-05 nginx: 2022/12/07 02:17:20 [error] 1353#1353: *390296 nchan: error publishing message (HTTP status code 500), client: unix:, server: , request: "POST /pub/devices?buffer_length=1 HTTP/1.1", host: "localhost"
Dec  7 02:17:20 UNRAID-05 nginx: 2022/12/07 02:17:20 [error] 1353#1353: MEMSTORE:00: can't create shared message for channel /devices
Dec  7 02:17:21 UNRAID-05 nginx: 2022/12/07 02:17:21 [crit] 1353#1353: ngx_slab_alloc() failed: no memory
Dec  7 02:17:21 UNRAID-05 nginx: 2022/12/07 02:17:21 [error] 1353#1353: shpool alloc failed
Dec  7 02:17:21 UNRAID-05 nginx: 2022/12/07 02:17:21 [error] 1353#1353: nchan: Out of shared memory while allocating message of size 7993. Increase nchan_max_reserved_memory.

 

Any suggestions please?

unraid-05-diagnostics-20221208-0759.zip

Link to comment

Thanks for your suggestions. Is it OK for me to pause the parity sync, shut down the server and upgrade the RAM before re-starting and continuing the parity sync, or would I be better to scrub the array and start from scratch?

Edited by SLRist
Link to comment
8 minutes ago, SLRist said:

Thanks for your suggestions. Is it OK for me to pause the parity sync, shut down the server and upgrade the RAM before re-starting and continuing the parity sync, or would I be better to scrub the array and start from scratch?

By default Unraid will restart the parity sync from the beginning.   If you have the Parity Check Tuning plugin installed then it will attempt to restart the parity sync from the point reached (assuming you have the restart option set in the plugin settings) when you next start the array.

Link to comment

OK - I temporarily borrowed 8GB of RAM from one of my other servers and enabled write caching in BIOS - now parity sync speed has gone from about 4MB/s to 100MB/s!

 

Estimated completion of sync is 22 hours rather than closer to 22 days!

 

Thanks for the help. Problem (apparently) solved!

 

Is it a good idea to leave write cache enabled permanently - or is it better to disable it?  All my servers are connected to a UPS.

Edited by SLRist
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.