Re: [CentOS] persistent change of max_stack_depth

2015-08-18 Thread Michael H
Hi Gordon, On 17/08/15 19:07, Gordon Messmer wrote: On 08/17/2015 03:34 AM, Michael H wrote: the [Service] section - [Service] LimitSTACK=12288 ... By the errors I will assume that it should be in the [Service] section. I couldn't find confirmation of this online... Yes, it belongs in the [

Re: [CentOS] persistent change of max_stack_depth

2015-08-17 Thread Gordon Messmer
On 08/17/2015 03:34 AM, Michael H wrote: the [Service] section - [Service] LimitSTACK=12288 ... By the errors I will assume that it should be in the [Service] section. I couldn't find confirmation of this online... Yes, it belongs in the [Service] section. $ man systemd.exec ... "The executi

Re: [CentOS] persistent change of max_stack_depth

2015-08-17 Thread Michael H
Hi All, Could anybody point me in the right direction for setting the kernel parameter, max_stack_depth, to 10240 for database tuning? I have currently set it by running 'ulimit -s 10240' but this does not survive a reboot. Thanks for the response, I've been nosing around that file recently

Re: [CentOS] persistent change of max_stack_depth

2015-08-17 Thread Michael H
Just a quick addition - On 17/08/15 08:40, Michael H wrote: Hi Jason, On 14/08/15 16:45, Jason Warr wrote: On Fri, 2015-08-14 at 16:31 +0100, Michael H wrote: Hi Thomas, Could anybody point me in the right direction for setting the kernel parameter, max_stack_depth, to 10240 for database t

Re: [CentOS] persistent change of max_stack_depth

2015-08-17 Thread Michael H
Hi Jason, On 14/08/15 16:45, Jason Warr wrote: On Fri, 2015-08-14 at 16:31 +0100, Michael H wrote: Hi Thomas, Could anybody point me in the right direction for setting the kernel parameter, max_stack_depth, to 10240 for database tuning? I have currently set it by running 'ulimit -s 10240' b

Re: [CentOS] persistent change of max_stack_depth

2015-08-16 Thread Thomas Eriksson
On Aug 16, 2015 11:20, Leon Fauster wrote: > > Am 15.08.2015 um 23:38 schrieb Thomas Eriksson > : > > > > On Aug 15, 2015 13:23, Mark Milhollan wrote: > >> > >> On Fri, 14 Aug 2015, Thomas Eriksson wrote: > >> > >>> If it's centos 6 stick 'ulimit -s' in the init script > >> > >> I sugge

Re: [CentOS] persistent change of max_stack_depth

2015-08-16 Thread Leon Fauster
Am 15.08.2015 um 23:38 schrieb Thomas Eriksson : > > On Aug 15, 2015 13:23, Mark Milhollan wrote: >> >> On Fri, 14 Aug 2015, Thomas Eriksson wrote: >> >>> If it's centos 6 stick 'ulimit -s' in the init script >> >> I suggest putting it in the sysconfig file instead, if such exists. >> >>

Re: [CentOS] persistent change of max_stack_depth

2015-08-15 Thread Thomas Eriksson
On Aug 15, 2015 13:23, Mark Milhollan wrote: > > On Fri, 14 Aug 2015, Thomas Eriksson wrote: > > >If it's centos 6 stick 'ulimit -s' in the init script > > I suggest putting it in the sysconfig file instead, if such exists. > > Sure, but how many init scripts provide for adding an extra comma

Re: [CentOS] persistent change of max_stack_depth

2015-08-15 Thread Mark Milhollan
On Fri, 14 Aug 2015, Thomas Eriksson wrote: >If it's centos 6 stick 'ulimit -s' in the init script I suggest putting it in the sysconfig file instead, if such exists. /mark ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/list

Re: [CentOS] persistent change of max_stack_depth

2015-08-15 Thread Jason Warr
On 8/15/2015 1:17 PM, Gordon Messmer wrote: On 08/14/2015 07:19 AM, Michael H wrote: I have currently set it by running 'ulimit -s 10240' but this does not survive a reboot. It's already been pointed out that you'll need to modify the init script, but just to make clear why that is the cas

Re: [CentOS] persistent change of max_stack_depth

2015-08-15 Thread Gordon Messmer
On 08/14/2015 07:19 AM, Michael H wrote: I have currently set it by running 'ulimit -s 10240' but this does not survive a reboot. It's already been pointed out that you'll need to modify the init script, but just to make clear why that is the case, I thought it should be pointed out that "ul

Re: [CentOS] persistent change of max_stack_depth

2015-08-14 Thread Thomas Eriksson
On Aug 14, 2015 08:45, Jason Warr wrote: > > On Fri, 2015-08-14 at 16:31 +0100, Michael H wrote: > > Hi Thomas, > > > > > > > Could anybody point me in the right direction for setting the kernel > > > parameter, max_stack_depth, to 10240 for database tuning? > > > > > > I have currently se

Re: [CentOS] persistent change of max_stack_depth

2015-08-14 Thread m . roth
Michael H wrote: > >> Could anybody point me in the right direction for setting the kernel >> parameter, max_stack_depth, to 10240 for database tuning? >> >> I have currently set it by running 'ulimit -s 10240' but this does not >> survive a reboot. > > Thanks for the response, I've been nosing aro

Re: [CentOS] persistent change of max_stack_depth

2015-08-14 Thread Jason Warr
On Fri, 2015-08-14 at 16:31 +0100, Michael H wrote: > Hi Thomas, > > > > Could anybody point me in the right direction for setting the kernel > > parameter, max_stack_depth, to 10240 for database tuning? > > > > I have currently set it by running 'ulimit -s 10240' but this does not > > survive a

Re: [CentOS] persistent change of max_stack_depth

2015-08-14 Thread Michael H
Hi Thomas, Could anybody point me in the right direction for setting the kernel parameter, max_stack_depth, to 10240 for database tuning? I have currently set it by running 'ulimit -s 10240' but this does not survive a reboot. Thanks for the response, I've been nosing around that file rece

Re: [CentOS] persistent change of max_stack_depth

2015-08-14 Thread Eriksson, Thomas
Could anybody point me in the right direction for setting the kernel parameter, max_stack_depth, to 10240 for database tuning? I have currently set it by running 'ulimit -s 10240' but this does not survive a reboot. Look at the file /etc/security/limits.conf For documentation, 'man limits.conf