Something strange is going on on one of the FreeNAS (9.1.1) servers I have: after awhile nfsd starts consuming A LOT of CPU - up to 1200% (I have the "Number of servers" set to 12 on a 16-core server).
The two servers are virtually identical - one in NY and one in CA, serving the same content to the same number of identically configured web servers, running Ubuntu (all servers are virtual machines, and are clones made from the same original VM).
Both servers have 2x8core CPUs, 32G of RAM and zpool consists of 4 striped 2-disk mirrors + 2 striped log disks. All sysctls and tunables are exactly the same on both servers. The volume(s) in question is shared as read-only for all servers, plus read-write for one server in each location (this server is responsible for keeping content of the shared volume at both locations in sync).
The load on NY server is actually slightly higher, overall, as there are several other volumes shared, but the nfsd rarely - if ever - uses more than 200% of CPU. The server in CA after reboot shows nfsd using around 50-100% of CPU, but after a couple of hours that number grows to 500-800%, and might eventually reach 1200%.
My attempts to use "truss" or "ktrace" on nfsd process in CA resulted in sever crash and reboot :(
Not sure what's going on :(
The two servers are virtually identical - one in NY and one in CA, serving the same content to the same number of identically configured web servers, running Ubuntu (all servers are virtual machines, and are clones made from the same original VM).
Both servers have 2x8core CPUs, 32G of RAM and zpool consists of 4 striped 2-disk mirrors + 2 striped log disks. All sysctls and tunables are exactly the same on both servers. The volume(s) in question is shared as read-only for all servers, plus read-write for one server in each location (this server is responsible for keeping content of the shared volume at both locations in sync).
The load on NY server is actually slightly higher, overall, as there are several other volumes shared, but the nfsd rarely - if ever - uses more than 200% of CPU. The server in CA after reboot shows nfsd using around 50-100% of CPU, but after a couple of hours that number grows to 500-800%, and might eventually reach 1200%.
My attempts to use "truss" or "ktrace" on nfsd process in CA resulted in sever crash and reboot :(
Not sure what's going on :(