Re: OpenAFS client softlockup on highly concurrential file-system patterns (100% CPU in kernel mode)
Mark Vitale <[email protected]>
| Newsgroups | gmane.comp.file-systems.openafs.general |
|---|---|
| Message-ID | <[email protected]> |
> On Nov 20, 2019, at 12:17 PM, Ciprian Dorin Craciun <[email protected]> wrote: > > >> Do you have FileLogs and/or fileserver audit logs for the time in question? > > Yes, I do have access to them. > > The following is the syslog output from OpenAFS server in a 5 minute > time-window to the stacktrace sent yesterday: > ~~~~ > FindClient: stillborn client 0x7fe9b0012dc0(77749fe8); conn > 0x7fe9d800e390 (host 172.30.214.35:7001) had client > 0x7fe9b00131d0(77749fe8) > FindClient: stillborn client 0x7fe9b00132a0(77749fec); conn > 0x7fe9d800e660 (host 172.30.214.35:7001) had client > 0x7fe9b0012dc0(77749fec) > FindClient: stillborn client 0x7fe9b0013030(77749fec); conn > 0x7fe9d800e660 (host 172.30.214.35:7001) had client > 0x7fe9b0012dc0(77749fec) > FindClient: stillborn client 0x7fe9b0012cf0(77749fec); conn > 0x7fe9d800e660 (host 172.30.214.35:7001) had client > 0x7fe9b0012dc0(77749fec) > ~~~~ > > No information is present in `/var/log/openafs` in that timeframe. > > The following are the arguments of `fileserver`: > ~~~~ > -syslog -sync always -p 4 -b 524288 -l 524288 -s 1048576 -vc 4096 -cb > 1048576 -vhandle-max-cachesize 32768 -jumbo -udpsize 67108864 > -sendsize 67108864 -rxmaxmtu 9000 -rxpck 4096 -busyat 65536 I see some areas of concern here. First of all, many of your parameters indicate that you expect to run relatively high load through this fileserver. Yet there are only -p 4 server threads defined. The fileserver will automatically increase this to the minimum of 6, but that still seems quite low. This low thread number, combined with a very large -busyat value, means that this fileserver will queue a very large backlog before returning VBUSY to the client. Is there a reason you need to keep the fileserver threads so low? Would it be possible for you to increase it dramatically (perhaps 100) and try the test again? Regards, -- Mark Vitale [email protected]