Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-14 Thread Amit Agarwal
On 14-07-2014 12:20, shhuiw wrote: > Will you please show us your application code, if possible? Or at > least the mmap part. The application code is proprietary, so I cannot disclose that. For the mmap part, we are not doing mmap explicitly in our code, rather the binary is linked to some dynam

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-11 Thread Amit Agarwal
Hi Dave, On 11-07-2014 12:29, Dave Tian wrote: Compare the .config and ‘sysctl -a’ of the two running system may give a hint from the kernel configuration and running parameters. ‘sysctl -a’ may be much more useful in this case, I guess. I compared the config files and they are verbatim same.

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-11 Thread Amit Agarwal
Hi, On 10-07-2014 11:12, shhuiw wrote: > Hi, > > How about setting /proc/sys/vm/min_free_kbytes to small values, e.g 128? > And what's the output on other workable system? > Tried changing min_free_kbytes, with this change, application comes up but dies a little later while allocating memory lat

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-11 Thread Dave Tian
Compare the .config and ‘sysctl -a’ of the two running system may give a hint from the kernel configuration and running parameters. ‘sysctl -a’ may be much more useful in this case, I guess. Dave Tian dave.jing.t...@gmail.com On Jul 10, 2014, at 10:46 PM, Amit Agarwal wrote: > Hi Shhuiw, >

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-10 Thread Amit Agarwal
Hi Shhuiw, On 11-07-2014 11:12, shhuiw wrote: > What's your workable OS and kernel on the same system, please? > We can't change the OS and kernel on the system having issues as it has other services running which are live and we cannot disturb them. So, we tried with same OS and kernel in anoth

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-10 Thread Amit Agarwal
Hi Shhuiw, On 10-07-2014 12:36, shhuiw wrote: > . > Confused. > The words "When we are running the same application on other system, > it comes up. " > How can the program run on other systems? By another system, I meant to say with same OS and kernel but on another host. -- Thanks, -aka http:

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-10 Thread Amit Agarwal
Hi Rik, On 10-07-2014 11:38, Rik van Riel wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 07/09/2014 08:23 AM, Amit Agarwal wrote: >> Hi All, >> >> We are running a 32 bit application on RHEL6.3-64 bit OS with >> kernel version 2.6.32-279.el6.x86_64. >> >> While running this applic

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-10 Thread Amit Agarwal
On 2014-07-10 10:33, Greg KH wrote: > On Wed, Jul 09, 2014 at 05:53:29PM +0530, Amit Agarwal wrote: >> Hi All, >> >> We are running a 32 bit application on RHEL6.3-64 bit OS with kernel >> version 2.6.32-279.el6.x86_64. > > Great. So ask them for support for this as you are paying for it, > nothin

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-09 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/09/2014 08:23 AM, Amit Agarwal wrote: > Hi All, > > We are running a 32 bit application on RHEL6.3-64 bit OS with > kernel version 2.6.32-279.el6.x86_64. > > While running this application we see the following when running > under strace: mmap(

Re: Memory allocation problems on RHEL 6.3 kernel version 2.6.32-279.el6.x86_64

2014-07-09 Thread Greg KH
On Wed, Jul 09, 2014 at 05:53:29PM +0530, Amit Agarwal wrote: > Hi All, > > We are running a 32 bit application on RHEL6.3-64 bit OS with kernel > version 2.6.32-279.el6.x86_64. Great. So ask them for support for this as you are paying for it, nothing that we can do about it here, in a communit