Displaying 20 results from an estimated 20 matches for "max_stack_depth".
2015 Aug 14
4
persistent change of max_stack_depth
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 recently but
noted the first two lines;
#This file sets the resource limits for...
2015 Aug 14
4
persistent change of max_stack_depth
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.
I've Googled plenty and can't find any solution,
thanks
Michael
2015 Aug 14
0
persistent change of max_stack_depth
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 reboot.
> >
> >
>
> Thanks for the response, I've been nosing around that file recently but
> noted the first two lines...
2015 Aug 14
2
persistent change of max_stack_depth
On Aug 14, 2015 08:45, Jason Warr <jason at warr.net> 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' but this does not
> > > survive a reboot.
> > >
> > >
> >
> > Thanks for the response, I've been nosing around that file recent...
2015 Aug 17
2
persistent change of max_stack_depth
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' but this does not
>>> survive a reboot.
>>>
>>>
>>
>> Thanks for the response, I've been nosing around that file recently but
>> not...
2015 Aug 17
0
persistent change of max_stack_depth
...ael 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 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 fi...
2015 Aug 17
2
persistent change of max_stack_depth
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'v...
2015 Aug 14
0
persistent change of max_stack_depth
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'
- Thomas
2015 Aug 17
0
persistent change of max_stack_depth
...pt a value in
bytes. That is, you've decreased the stack size to 12KiB, which is why
PostgreSQL segfaults immediately.
# cat /etc/systemd/system/postgresql.service
.include /lib/systemd/system/postgresql.service
[Service]
LimitSTACK=12582912
# grep stack /var/lib/pgsql/data/postgresql.conf
max_stack_depth = 10MB # min 100kB
# systemctl daemon-reload
# systemctl restart postgresql
2015 Aug 15
0
persistent change of max_stack_depth
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 "ulimit" is a bash built-in command. When you run
"ulimit -s
2015 Aug 15
0
persistent change of max_stack_depth
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
2015 Aug 15
2
persistent change of max_stack_depth
On Aug 15, 2015 13:23, Mark Milhollan <mlm at pixelgate.net> 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 command via sysconfig files? Most of
2015 Aug 16
0
persistent change of max_stack_depth
Am 15.08.2015 um 23:38 schrieb Thomas Eriksson <thomas.eriksson at slac.stanford.edu>:
>
> On Aug 15, 2015 13:23, Mark Milhollan <mlm at pixelgate.net> 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
2016 Feb 17
2
New glibc for CentOS-6 and CentOS-7 and CVE-2015-7547
...new kernel
> and the new glibc among other things, After the update completed it
> knocked my master postgresql database offline.
>
>
> Feb 17 13:46:11 db1 systemd: Starting PostgreSQL database server...
> Feb 17 13:46:11 db1 pg_ctl: LOG: invalid value for parameter
> "max_stack_depth": 16384
> Feb 17 13:46:11 db1 pg_ctl: DETAIL: "max_stack_depth" must not exceed
> 7680kB.
> Feb 17 13:46:11 db1 pg_ctl: HINT: Increase the platform's stack depth
> limit via "ulimit -s" or local equivalent.
> Feb 17 13:46:11 db1 pg_ctl: FATAL: configur...
2016 Feb 17
4
New glibc for CentOS-6 and CentOS-7 and CVE-2015-7547
On 02/17/2016 07:08 AM, Michael H wrote:
> On 17/02/16 13:01, Johnny Hughes wrote:
>> I normally just let the daily announce post to this list show what
>> is available for updates, but there is a CVE (CVE-2015-7547) that
>> needs a bit more attention which will be on today's announce list
>> of updates.
>>
>> We released a new glibc yesterday for
2016 Feb 17
1
New glibc for CentOS-6 and CentOS-7 and CVE-2015-7547
...ver (yum update -y) which applied a new kernel
and the new glibc among other things, After the update completed it
knocked my master postgresql database offline.
Feb 17 13:46:11 db1 systemd: Starting PostgreSQL database server...
Feb 17 13:46:11 db1 pg_ctl: LOG: invalid value for parameter
"max_stack_depth": 16384
Feb 17 13:46:11 db1 pg_ctl: DETAIL: "max_stack_depth" must not exceed
7680kB.
Feb 17 13:46:11 db1 pg_ctl: HINT: Increase the platform's stack depth
limit via "ulimit -s" or local equivalent.
Feb 17 13:46:11 db1 pg_ctl: FATAL: configuration file
"/var/lib...
2016 Feb 17
2
New glibc for CentOS-6 and CentOS-7 and CVE-2015-7547
...things, After the update completed it
>>> knocked my master postgresql database offline.
>>>
>>>
>>> Feb 17 13:46:11 db1 systemd: Starting PostgreSQL database server...
>>> Feb 17 13:46:11 db1 pg_ctl: LOG: invalid value for parameter
>>> "max_stack_depth": 16384
>>> Feb 17 13:46:11 db1 pg_ctl: DETAIL: "max_stack_depth" must not exceed
>>> 7680kB.
>>> Feb 17 13:46:11 db1 pg_ctl: HINT: Increase the platform's stack depth
>>> limit via "ulimit -s" or local equivalent.
>>> Feb...
2016 Feb 17
0
Kernel parameters ignored -
...ver (yum update -y) which applied a new kernel
and the new glibc among other things, After the update completed it
knocked my master postgresql database offline.
Feb 17 13:46:11 db1 systemd: Starting PostgreSQL database server...
Feb 17 13:46:11 db1 pg_ctl: LOG: invalid value for parameter
"max_stack_depth": 16384
Feb 17 13:46:11 db1 pg_ctl: DETAIL: "max_stack_depth" must not exceed
7680kB.
Feb 17 13:46:11 db1 pg_ctl: HINT: Increase the platform's stack depth
limit via "ulimit -s" or local equivalent.
Feb 17 13:46:11 db1 pg_ctl: FATAL: configuration file
"/var/lib...
2016 Feb 17
0
New glibc for CentOS-6 and CentOS-7 and CVE-2015-7547
...he new glibc among other things, After the update completed it
>> knocked my master postgresql database offline.
>>
>>
>> Feb 17 13:46:11 db1 systemd: Starting PostgreSQL database server...
>> Feb 17 13:46:11 db1 pg_ctl: LOG: invalid value for parameter
>> "max_stack_depth": 16384
>> Feb 17 13:46:11 db1 pg_ctl: DETAIL: "max_stack_depth" must not exceed
>> 7680kB.
>> Feb 17 13:46:11 db1 pg_ctl: HINT: Increase the platform's stack depth
>> limit via "ulimit -s" or local equivalent.
>> Feb 17 13:46:11 db1 pg_c...
2016 Feb 17
2
Kernel parameters ignored -
...new kernel
> and the new glibc among other things, After the update completed it
> knocked my master postgresql database offline.
>
>
> Feb 17 13:46:11 db1 systemd: Starting PostgreSQL database server...
> Feb 17 13:46:11 db1 pg_ctl: LOG: invalid value for parameter
> "max_stack_depth": 16384
> Feb 17 13:46:11 db1 pg_ctl: DETAIL: "max_stack_depth" must not exceed
> 7680kB.
> Feb 17 13:46:11 db1 pg_ctl: HINT: Increase the platform's stack depth
> limit via "ulimit -s" or local equivalent.
> Feb 17 13:46:11 db1 pg_ctl: FATAL: configur...