You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by rakshita04 <ra...@siemens.com> on 2021/04/21 11:46:45 UTC

Buffer Overflow on ARM with persistency enabled

Hi Team,

We are using ignite on our C++ application over 32-bit ARM linux machine.
Our application is closing abruptly after certain number of entries in
Database(4400 entries) and application is being terminated with "Buffer
Overflow" error.
There is no other information in ignite logs or system logs.
No dump file is also being generated.
When we disable the persistency there is no abrupt shutdown.
We have also observed that while persistency is enabled and write operations
are being performed on DB, there are too many files opened in /proc/fd for
ignite and when the write operation is stopped also the number of files open
is not decreasing.
Ideally these files should get closed by ignite after a certain time right?
Do you have any idea why it is happening ?
Also any help on "buffer overflow" issue?

regards,
Rakshita Chaudhary



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Buffer Overflow on ARM with persistency enabled

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

You can also configure your system to save core dumps on application crash,
then you can open the core dump with debugger.

Regards,
-- 
Ilya Kasnacheev


чт, 22 апр. 2021 г. в 07:07, rakshita04 <ra...@siemens.com>:

> Hi ,
>
> We have 2 GB RAM.
> we unfortunately could not attached debugger, so we don't have stack trace
> info as of now.
> Also about RAM, we tried running our application on AMD linux VM with same
> RAM(2GB) but there we dont see this behavior and application runs fine.
>
> regards,
> Rakshita Chaudhary
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Re: Buffer Overflow on ARM with persistency enabled

Posted by rakshita04 <ra...@siemens.com>.
Hi ,

We have 2 GB RAM.
we unfortunately could not attached debugger, so we don't have stack trace
info as of now.
Also about RAM, we tried running our application on AMD linux VM with same
RAM(2GB) but there we dont see this behavior and application runs fine.

regards,
Rakshita Chaudhary



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Buffer Overflow on ARM with persistency enabled

Posted by Igor Sapego <is...@apache.org>.
Hi,

I'm pretty much sure it happens because Ignite is quite demanding on RAM.
How much memory is available on your machine?

Also, is there any kind of stack trace to share?

Best Regards,
Igor


On Wed, Apr 21, 2021 at 2:46 PM rakshita04 <ra...@siemens.com>
wrote:

> Hi Team,
>
> We are using ignite on our C++ application over 32-bit ARM linux machine.
> Our application is closing abruptly after certain number of entries in
> Database(4400 entries) and application is being terminated with "Buffer
> Overflow" error.
> There is no other information in ignite logs or system logs.
> No dump file is also being generated.
> When we disable the persistency there is no abrupt shutdown.
> We have also observed that while persistency is enabled and write
> operations
> are being performed on DB, there are too many files opened in /proc/fd for
> ignite and when the write operation is stopped also the number of files
> open
> is not decreasing.
> Ideally these files should get closed by ignite after a certain time right?
> Do you have any idea why it is happening ?
> Also any help on "buffer overflow" issue?
>
> regards,
> Rakshita Chaudhary
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>