Re: sed query

2013-06-02 Thread Florent Peterschmitt
Le 31/05/2013 16:01, Chris Rees a écrit : Hi all, I think I've discovered a strange behaviour of sed perhaps triggered by the length of a regex passed to it. I noticed that a certain expression I passed took a very long time, and suspected the usual backtracking loop, so I started trimming

Re: sed query

2013-06-02 Thread Eduardo Morras
On Fri, 31 May 2013 15:01:59 +0100 Chris Rees utis...@gmail.com wrote: Hi all, I think I've discovered a strange behaviour of sed perhaps triggered by the length of a regex passed to it. I noticed that a certain expression I passed took a very long time, and suspected the usual

Re: sed query

2013-06-02 Thread Chris Rees
On 2 June 2013 11:41, Eduardo Morras emorr...@yahoo.es wrote: On Fri, 31 May 2013 15:01:59 +0100 Chris Rees utis...@gmail.com wrote: Hi all, I think I've discovered a strange behaviour of sed perhaps triggered by the length of a regex passed to it. I noticed that a certain expression I

Re: 3955MiB of swap space

2013-06-02 Thread dt71
On 05/27/2013 19:59, d...@gmx.com wrote: I have 4 hard drives, each containing a swap partition of size 1023MiB. I get: warning: total configured swap (1178880 pages) exceeds maximum recommended amount (1012480 pages). warning: increase kern.maxswzone or reduce amount of swap. I am yet to

Re: sed query

2013-06-02 Thread Florent Peterschmitt
Le 02/06/2013 14:16, Chris Rees a écrit : On 2 June 2013 11:41, Eduardo Morras emorr...@yahoo.es wrote: On Fri, 31 May 2013 15:01:59 +0100 Chris Rees utis...@gmail.com wrote: Hi all, I think I've discovered a strange behaviour of sed perhaps triggered by the length of a regex passed to it.

Re: sed query

2013-06-02 Thread Chris Rees
On 2 June 2013 18:15, Florent Peterschmitt flor...@peterschmitt.fr wrote: Le 02/06/2013 14:16, Chris Rees a écrit : On 2 June 2013 11:41, Eduardo Morras emorr...@yahoo.es wrote: On Fri, 31 May 2013 15:01:59 +0100 Chris Rees utis...@gmail.com wrote: Hi all, I think I've discovered a strange

Re: sed query

2013-06-02 Thread Adrian Chadd
... so run it inside hwpmc and see what the resulting CPU users are? adrian On 31 May 2013 07:01, Chris Rees utis...@gmail.com wrote: Hi all, I think I've discovered a strange behaviour of sed perhaps triggered by the length of a regex passed to it. I noticed that a certain expression I

Re: 3955MiB of swap space

2013-06-02 Thread Wojciech Puchar
warning: total configured swap (1178880 pages) exceeds maximum recommended amount (1012480 pages). warning: increase kern.maxswzone or reduce amount of swap. I am yet to hear whether the warning is safe to ignore. Which one of the following is true? (1) Only 3955MiB of swap space will be