![](https://secure.gravatar.com/avatar/be2b2d1c35d95904af3e5f8a202f067b.jpg?s=120&d=mm&r=g)
Hello I am Mohanad and this is my first issue here I started working on this issue a while ago but only began testing it recently. As per the comment in this issue (https://jira.mariadb.org/browse/MDEV-33671?focusedCommentId=281856&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-281856): "You can run ulimit from Perl, between the fork and exec." I implemented this by using the BSD::Resource library, as it appears to be part of the core Perl libraries and does not introduce an external dependency and as a sanity check I added ```perl my $has_bsd_resource = eval { require BSD::Resource; BSD::Resource->import(qw(setrlimit getrlimit RLIMIT_NOFILE)); 1; }; ``` Would this be an okay to use ? Also, I have manually verified the implementation by printing the limit values. However, is it possible to add test files or automate testing for this issue in MTR ?
participants (1)
-
mohanadkhaled87@gmail.com