-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Large kmem_alloc with zfs 0.6.5.7 #4979
Comments
@ironMann Many thanks for the speed response If I understand the referenced thread correctly, it seems that the alloc max default is already at a suitable size so that the error should not be met zdb output gives: diskconvm: And cat /sys/module/spl/parameters/spl_kmem_alloc_max = 2097152 = 2MB My reading of the zdb for the children asize / metaslab shift is that this should be enough - am I missing something? |
@koplover To remove the warning try raising |
@ironMann OK, that makes sense. As it is a warning therefore I take it that the trace is completely harmless in this case, and setting the value is a nicety to prevent the trace appearing in syslog, but no impact on the running system - correct? I'll set this anyway to clean up our log - many thanks again for your help |
Precisely |
I've tagged this 0.6.5.8 so we cherry pick the fix from master for the next point release. |
Did I get something wrong or why is this ticket still open if you write "we cherry pick the fix ..."? Don't get me wrong, I don't want to be rude. |
it means the fix for this issue will be included in the next release. the ticket is left open to have a list of tickets to close AFTER the release is made or immediately before the release. if the ticket was closed long BEFORE release then it would have been difficult to locate the ticket. so it's just a way to manage tickets and releases. if you look here https://github.com/zfsonlinux/zfs/issues?q=is%3Aopen+is%3Aissue+milestone%3A0.6.5.8 you will find all the issues that all fixed will allow 0.6.5.8 to be released |
Hi @mailinglists35, thanks for your quick reply. I know the link. It simple confuse me to see tickets to finished which are finished when going through the comments. |
Frankly, GitHub's tools for managing issues are pretty minimal so we're making due with what we have. But yes the idea is to move issues which need to be applied to the upcoming release in to that milestone so we can track them and make sure they get applied. |
Fix applied to 0.6.5.8. |
Noticed the following stack traces in our 0.6.5.7 system, see attached syslog output snippet for details and a little more context and additional instances:
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.708980] Large kmem_alloc(59048, 0x1000), please file an issue at:
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.708980] https://github.com/zfsonlinux/zfs/issues/new
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.708994] CPU: 2 PID: 416 Comm: zpool Tainted: P OE 3.19.0-60-zdomu #67~14.04.1
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.708999] 0000000000000000 ffff88028afbfbe8 ffffffff817940ec 0000000000000000
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709006] 000000000000c210 ffff88028afbfc28 ffffffffc04d2b93 ffff88028afbfc28
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709011] ffff88028f42b000 ffff88028f42b000 0000000000000000 0000000000001cd5
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709017] Call Trace:
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709027] [] dump_stack+0x63/0x81
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709038] [] spl_kmem_zalloc+0x113/0x180 [spl]
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709084] [] vdev_metaslab_init+0xa5/0x200 [zfs]
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709119] [] vdev_load+0xc4/0xd0 [zfs]
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709150] [] vdev_load+0x34/0xd0 [zfs]
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709180] [] spa_load+0xfe6/0x1b50 [zfs]
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709212] [] ? spa_add+0x5ba/0x650 [zfs]
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709243] [] spa_tryimport+0x9e/0x440 [zfs]
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709278] [] zfs_ioc_pool_tryimport+0x49/0x80 [zfs]
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709312] [] zfsdev_ioctl+0x4bc/0x500 [zfs]
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709319] [] ? __call_rcu+0xda/0x2e0
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709326] [] ? dput+0x24/0x180
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709330] [] do_vfs_ioctl+0x2f8/0x510
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709334] [] SyS_ioctl+0x81/0xa0
Aug 17 10:41:26 zdiskdd0000-001d-00-00 kernel: [ 3.709340] [] system_call_fastpath+0x16/0x1b
If there is any more information required, let me know and I'll gather it.
zfserror.txt
The text was updated successfully, but these errors were encountered: