Hi all,

We found another possible reason to occur low memory space. Since opentack
node creation does not create swap space automatically for nodes, there is
no way to allocate additional memory for functionalities if required. So we
added swap space to instance and it also solves the problem. We only used
file for swap area.

Steps: (as root)

1. Create a 4GB file called /swapfile. This will be our swap file.
fallocate -l 4096M /swapfile

2. Set the right permissions (because a world-readable swap file is a huge
local vulnerability):
chmod 600 /swapfile

3. After creating the correctly sized file, format it to swap:
mkswap /swapfile

4. Activate the swap file:
swapon /swapfile

5. Edit /etc/fstab and add an entry for the swap file:
/swapfile none swap defaults 0 0



On Sun, Jul 19, 2015 at 11:49 AM, Ayyoob Hamza <ayy...@wso2.com> wrote:

> Found the reason for bam not able to execute the summarisation script. this 
> was
> due to less disk space on server. Even though there was 7GB disk space
> available on the server, it had only 700 inode for filesystem. I deleted
> the files that not needed.
>
> This solved the issue.
>
> *Ayyoob Hamza*
> *Software Engineer*
> WSO2 Inc.; http://wso2.com
> email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>
>
> On Sun, Jul 19, 2015 at 10:37 AM, Ayyoob Hamza <ayy...@wso2.com> wrote:
>
>> Hi,
>> We are working on pushing sensor data into the BAM. Suddenly bam
>> summarisation stopped working after a while, however still the sensor
>> events are being pushed into Cassandra. I just wanted to know, if the
>> number of data points increases then does it requires more of a reasonable
>> amount of memory(RAM) to summarise. is that the default behaviour of BAM ?.
>> If that is the case, what is the minimum requirement for the memory needed
>> for an instance to be run on a production environment.
>>
>> Or wanted to know having a machine more than the pre requisite[1] is
>> sufficient ?
>>
>> https://docs.wso2.com/display/BAM250/Installation+Prerequisites
>>
>> Thanks,
>> *Ayyoob Hamza*
>> *Software Engineer*
>> WSO2 Inc.; http://wso2.com
>> email: ayy...@wso2.com cell: +94 77 1681010 <%2B94%2077%207779495>
>>
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Charitha Goonetilleke*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 751 3669 <%2B94777513669>
Twitter:@CharithaWs <https://twitter.com/CharithaWs>, fb: charithag
<https://www.facebook.com/charithag>, linkedin: charithag
<http://www.linkedin.com/in/charithag>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to